mesoOSU / Mart2Aust_Hackathon

Fork of Orix for developing tools necessary to make the AusRecon package in python
https://orix.readthedocs.io
GNU General Public License v3.0
2 stars 13 forks source link

[CRITICAL] Create online database for AF96 dataset #3

Open argerlt opened 2 years ago

argerlt commented 2 years ago

Orix uses code like this to automatically download test datasets and run example codes in Jupyter notebooks:

========= import os import tempfile

tempdir = tempfile.mkdtemp() + "/" fname = "sdss_ferrite_austenite.ang" source = f"https://folk.ntnu.no/hakonwii/files/orix-demos/{fname}" target = os.path.join(tempdir, fname)

try: os.mkdir(tempdir) except: pass if not os.path.exists(target): import urllib.request urllib.request.urlretrieve(source, target)

xmap = load(target) xmap.plot(overlay="dp") # Dot product values added to the alpha (RGBA) channel xmap

This massively increases the likelyhood that people will use the software, as opposed to the current method used in AusRecon, where users are expected to follow the link below, follow it to a 3rd party website, download software, create an account, and then download and crop the images themselves: https://doi.org/10.18126/iv89-3293

Some options: 1). use hosting on OSU (talk to steve about this), 2). Host on publically accessible google drive through AFRL 3). Fix One Drive to make it work correctly 4). Some other solution you prefer

Here is a link to a jupyter notebook example with some starter code: https://github.com/mesoOSU/Mart2Aust_Hackathon/blob/main/doc/Reconstruction_Example.ipynb

argerlt commented 2 years ago

Ideally, this should be hosted on OSU website too. Talk to Steve for details

argerlt commented 2 years ago

updated onedrive link

https://buckeyemailosu-my.sharepoint.com/:f:/g/personal/gerlt_1_buckeyemail_osu_edu/EhdiXESF8WFCgG98De-Qx7AB4Hwg9aV0qk2JTlZ2sGuuVQ?e=eIhCar

argerlt commented 2 years ago

Another option: we could set up an online data server like this: http://pajarito.materials.cmu.edu/ No idea how hard this is, I think it might require a dedicated computer though