This is a suitcase subpackage for the hdf5 Output of NOMAD CAMELS.
pip install suitcase-nomad-camels-hdf5
Cleaned up confusing things
Changes:
- removed entry name from data file name
Fixes:
- new function with new datafile in some cases threw an error, now fixed
Changes:
- Deprecated additional data from fits removed
Changes:
- strongly improved the NeXus entry
- added functionality to create a new file after a given number of hours (file includes same metadata)
Changes:
- improved the NeXus entry
Changes:
- Behavior of file-handling changed, now hdf5 file is being closed when events are separated by more than one second, this is to prevent loss of data if the program crashes while the file is still open (Note: this needs to be further improved, as the behavior only starts once the event has taken longer, i.e. if there are a few measurements that are fast and then it takes several seconds for the next one, in the mean time the file is still open and closes only after that measurement)
Changes:
- Now uses the dynamic file extensions coming from CAMELS (either
.h5
or.nxs
) to save the data. Works with NOMAD CAMELS >= 1.8.0
Changes:
- variable signals now return dictionaries and not namedtuples (for NOMAD CAMELS starting with version 1.8.0). CAMELS suitcase can now handle these changes.
Fixes:
- events with more than one reading can now also be processed (e.g. for flyers)
Fixes:
- strings could only be saved once, now fixed
Changes:
- "experiment" renamed to "measurement"
Fixes:
- session name does not appear twice in filename anymore
Changes:
- The entry / file name is now only numbered, the timestamp was removed
- Split up sensors and outputs
- moved a lot of metadata into groups to make it easier to understand
- The sorting of what goes in the fabrication inside one instrument was changed
- moved start and end time into exp-description
- renamed time_since_start to ElapsedTime to be consistent with wording in CAMELS
- time is now a float timestamp, not anymore in ISO format
- supporting optional NeXus output
Improved the NOMAD identifier for samples, user and instruments
Refactored the way metadata of instruments is saved.
Bug that would create datasets at the instruments with too high length fixed.
Fixed bug with fits
Features:
- Added virtual datasets of measured data in instruments, resembling the NeXus standard more closely.
- More metadata for measured channels.
Fixes:
- Now correctly saving the variable signal also after run.
Fixed saving of string data.
Fixes:
- Fixed issue with empty data, this is now caught.
- can now save named tuples as they come from ophyd devices or camel's variable signal
Fixed issue with dots in paths
Added CAMELS plots to export function
Initial release