ess.reduce.nexus.workflow.load_proton_charge#
- ess.reduce.nexus.workflow.load_proton_charge(parent_location, interval)[source]#
Load the time-dependent proton charge from a NeXus file.
- Parameters:
parent_location (
NeXusComponentLocationSpec[ProductionInfo,TypeVar(RunType)]) – Location spec for theProductionInfothat holds the proton charge. The charge is loaded from the “pulse_charge” subgroup.interval (
TimeInterval[TypeVar(RunType)]) – Time range to load. Overridesparent_location.selection.
- Returns:
ProtonCharge[TypeVar(RunType)] – The proton charge as a data array.