ess.odin.workflows.normalize_by_proton_charge_orca_all_runs#
- ess.odin.workflows.normalize_by_proton_charge_orca_all_runs(data, proton_charge)[source]#
Normalize detector data by the proton charge. We find the time stamps for the data, which mark the start of an exposure, find the corresponding proton charge for each time stamp, and divide the data by the proton charge.
- Parameters:
data (
BackgroundSubtractedDetector[TypeVar(RunType)]) – Background-subtracted detector data to be normalized.proton_charge (
ProtonCharge[types.AllRuns(int)]) – Proton charge data for normalization.
- Return type:
FluxNormalizedDetector[TypeVar(RunType)]