bdecost / uhcsdb

Microstructure data visualization flask app: http://uhcsdb.materials.cmu.edu
MIT License
7 stars 6 forks source link

Data set details #1

Closed davy9501 closed 6 years ago

davy9501 commented 6 years ago

Can you please provide the corresponding process parameters of microstructure images in the data set? I did not find the corresponding label in the data set. Thank you!!!

bdecost commented 6 years ago

The processing metadata is stored in the Sample table, which you can access via a sqlalchemy relationship join from a Micrograph record.

So if you have a Micrograph record m, you can do m.sample.anneal_temperature to reference the annealing temperature, for example...

Also, I just added [scripts/export_metadata.py](https://github.com/bdecost/uhcsdb/blob/master/scripts/export_metadata.py), which shows how to load all the metadata into a pandas dataframe. This is probably the easiest way to load the entire dataset for analysis outside of the flask app.

davy9501 commented 6 years ago

Thank you so much! You are so helpful, I do appreciate it.