Photon-HDF5 / photon-hdf5

Photon-HDF5 Reference Documentation
http://photon-hdf5.readthedocs.io/
3 stars 3 forks source link

Add Laser Repetition Rate to Setup group? #40

Open smXplorer opened 7 years ago

smXplorer commented 7 years ago

We may want a way to store multiple laser repetition rates (although I don't know of an experiment where that would have been needed). The setup group could be a better location than the photon_data group(s).

tritemio commented 7 years ago

Ok.

For a user saving nsALEX/PIE files nothing will change. Phconvert would be modified to save the repetition rate also in the setup group.

For user reading the files, they can take advantage on this field even for non standard measurements.

The new field can be made mandatory only for measurements that have at least one pulsed laser:

Proposal

/setup/laser_repetition_rates (array of floats): repetition rate in Hz for each laser. If a laser is CW, its repetition rate is conventionally 0. Similarly to other laser-specific fields, lasers are ordered according to increasing wavelength.

tritemio commented 7 years ago