hexrd.imageseries.load.metadata module

metadata tools for imageseries

hexrd.imageseries.load.metadata.yamlmeta(meta, path=None)[source]

Image sequence metadata

path is a full path or directory used to find the relative location

of files loaded via the trigger mechanism

The usual yaml dictionary is returned with the exception that if the first word of a multiword string is an exclamation mark (“!”), it will trigger further processing determined by the rest of the string. Currently only one trigger is used:

! load-numpy-object <filename>

the returned value will the numpy object read from the file