Skip to content

[FEATURE] Add incident flux normalisation parameter #78

Description

@clatlan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions