ess.snspowder.powgen.data.extract_proton_charge#

ess.snspowder.powgen.data.extract_proton_charge(dg)[source]#

Return the proton charge from a loaded data group.

Return type:

ProtonCharge[TypeVar(RunType, ess.reduce.nexus.types.BackgroundRun (int), ess.reduce.nexus.types.EmptyBeamRun (int), ess.reduce.nexus.types.SampleRun (int), TransmissionRun[ess.reduce.nexus.types.SampleRun (int)], TransmissionRun[ess.reduce.nexus.types.BackgroundRun (int)], ess.reduce.nexus.types.VanadiumRun (int))]