ess.isissans.general.get_sample_position#
- ess.isissans.general.get_sample_position(dg, offset)[source]#
Get sample position from raw data and apply user offset.
- Return type:
Position
[NXsample
,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
))]