ess.reduce.nexus.workflow.load_proton_charge#
- ess.reduce.nexus.workflow.load_proton_charge(source_component, interval)[source]#
Load the time-dependent proton charge from a NeXus file.
- Parameters:
source_component (
NeXusComponent[NXsource,TypeVar(RunType)]) – The NXsource component from which to load the proton charge. The charge is loaded from the “pulse_charge” subgroup.interval (
TimeInterval[TypeVar(RunType)]) – Time range to load.
- Returns:
ProtonCharge[TypeVar(RunType)] – The proton charge as a data array.