-
Loïc Le Guyader authoredLoïc Le Guyader authored
How to's
top
- :doc:`load data in memory <Loading_data_in_memory>`.
misc
- :doc:`bunch pattern decoding <bunch_pattern_decoding>`.
detectors
DSSC
Most of the functions within toolbox_scs.detectors can be accessed directly. This is useful during development, or when working in a non-standardized way, which is often neccessary during data evaluation. For frequent routines there is the possibility to use dssc objects that guarantee consistent data structure, and reduce the amount of recurring code within the notebook.
- bin data using toolbox_scs.tbdet -> to be documented.
- :doc:`bin data using the DSSCBinner <dssc/DSSCBinner>`.
- post processing, data analysis -> to be documented
Point detectors
Detectors that produce one point per pulse, or 0D detectors, are all handled in a similar way. Such detectors are, for instance, the X-ray Gas Monitor (XGM), the Transmitted Intensity Monitor (TIM), the electron Bunch Arrival Monitor (BAM) or the photo diodes monitoring the PP laser.
- :doc:`extract data from point detectors <point_detectors/point_detectors>`.
Photo-Electron Spectrometer (PES)
- :doc:`Basic analysis of PES spectra <PES_spectra_extraction>`.
routines
BOZ: Beam-Splitting Off-axis Zone plate analysis
The BOZ analysis consists of 2 notebooks and a script. The first notebook is used to determine all the correction. The input are a dark run and a run with X-ray on empty sample or at the pre-edge. The result is a JSON file that contains the flat field and non-linearity correction. The determination of the non-linearity correction can take some 2 to 8 hours depending on the number of pulses in the train. For this reason it is possible to use a script 'scripts/boz_parameters_job.sh' in the toolbox to launch the first notebook via slurm. It requires 'papermill' to be installed.
The second notebook then use the JSON file to load all needed correction and process an run with a corresponding dark run to bin data and compute a spectrum or a time resolved XAS scan. * :doc:`BOZ analysis part I parameters determination <BOZ analysis part I parameters determination>`. * :doc:`BOZ analysis part II run processing <BOZ analysis part II run processing>`.