Scan info
(from discussion with @papillon)
Some context:
At the moment, scan_info
is an optional dictionary passed to each scan.
If it is not passed, in any case a default info dictionary is provided by BLISS with start time, scan title, positioners, etc.
If it is passed, the information of scan_info
is updated with BLISS default information.
User may want to add extra information in scan_info
like:
- machine mode
- instrument info
- monochromator info
- diffractometer info
- sample info etc.
Todo:
- WARNING: think about metadata mangement! (linked issue?)
-
add a global structure to hold information to save - could be in
SCAN_SAVING.info
or a newSCAN_INFO
- could be in
-
make sure user can easily add keys associated with functions - functions would be called to get the data to store at scan start time
-
think about a way to specify where information is to be saved in the scan file - location ? Like
instruments/...
for HDF5
- location ? Like