Skip to content

A collection of Python scripts that extract metadata from EM data for Materials Science.

Notifications You must be signed in to change notification settings

SwissOpenEM/MS_Metadata_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Materials Science EM Metadata Extractor

A collection of Python scripts that extract metadata from EM data for Materials Science. All metadata files are in json format.

  1. hyperspy_script:

    • Uses python v3.10.12 and hyperspy v1.7.5
    • Working only for .emd files, .prz files are not recongized by this version of hyperspy
    • Output directory: 'hyperspy_script_metadata/'
  2. rsciio_script:

    • Uses python v3.11.9 and the latest version of hyperspy (v2.1) which essentially leads to RosettaSciIO library (rosettasciio v0.4)
    • Working for both .emd and .prz files, with the exception of EELSDataCube Single Image, which is still unsupported
    • Output directory: 'rsciio_script_metadata/'
  3. manual_script:

    • Uses python v3.11.9, numpy v1.26.4 and h5py v3.9.0
    • Working for all input files, however in some cases the metadata is lacking information
    • Output directory: 'manual_script_metadata/'
  4. final_script: (WIP)

    • Uses python v3.11.9, rosettasciio v0.4 and numpy v1.26.4
    • Same as rsciio_script but for the unsupported .prz file it uses numpy as seen in manual_script
    • Output directory: 'final_script_metadata/'

About

A collection of Python scripts that extract metadata from EM data for Materials Science.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages