reiserm / midtools

Data analysis software to process and analyze XPCS data acquired at European XFEL.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

added option to calculate and use mask from flatfield #10

Closed reiserm closed 4 years ago

reiserm commented 4 years ago

A flatfield run can be processed by adding the --is-flatfield flag. So far this creates a file where the word analysis is substituted by flatfield; exactly the same way the filename is changed for darks. This leaves us with three output file types:

As always the setup configuration is saved in addition.

To use a particular dark and flatfield for the analysis pass the --dark-run and --flatfield-run options; e.g.,

midtools setup_file.yml 1111 -r 123 -ppt 100 --last 100 --dark-run 100 0 --flatfield-run 200 3

or

midtools setup_file.yml 1111 -r 123 -ppt 100 --last 100 --dr 100 0 --ffr 200 3

The second number after the run number is the identifier of the file, i.e., the integer of the last three digits of an output file.