When processing bcdi data, one might need to normalise the detector data with the incident flux (for energy dependent bcdi or very long scan for example). For a traditional rocking curve, this means fetching an array of values (one value for each angle) upon loading.
This step should be included in the loading part of the pipeline and/or should be usable in the step_by_step_analysis.ipynb notebook. To be edited
cdiutils.pipeline.parameters.AUTHORIZED_KEYS. Add a new parameter called incident_flux_normalisation.
cdiutils.pipeline.bcdi.BcdiPipeline._load function. Right after loading detector data and angles, the function should check whether the parameter incident_flux_normalisation is True
cdiutils.io.id01.ID01Loader class. We need a new method that loads the incident flux values.
When processing bcdi data, one might need to normalise the detector data with the incident flux (for energy dependent bcdi or very long scan for example). For a traditional rocking curve, this means fetching an array of values (one value for each angle) upon loading.
This step should be included in the loading part of the pipeline and/or should be usable in the
step_by_step_analysis.ipynbnotebook. To be editedcdiutils.pipeline.parameters.AUTHORIZED_KEYS. Add a new parameter calledincident_flux_normalisation.cdiutils.pipeline.bcdi.BcdiPipeline._loadfunction. Right after loading detector data and angles, the function should check whether the parameterincident_flux_normalisationis Truecdiutils.io.id01.ID01Loaderclass. We need a new method that loads the incident flux values.