ess.reduce.nexus.workflow.unique_component_spec#
- ess.reduce.nexus.workflow.unique_component_spec(filename)[source]#
Create a location spec for a unique component group in a NeXus file.
- Parameters:
filename (
NeXusFileSpec
[TypeVar
(RunType
,nexus.types.BackgroundRun
(int
),nexus.types.EmptyBeamRun
(int
),nexus.types.SampleRun
(int
),TransmissionRun
[nexus.types.SampleRun
(int
)],TransmissionRun
[nexus.types.BackgroundRun
(int
)],nexus.types.VanadiumRun
(int
))]) – NeXus file to use for the location spec.- Return type:
NeXusComponentLocationSpec
[TypeVar
(UniqueComponent
,NXsample
,NXsource
),TypeVar
(RunType
,nexus.types.BackgroundRun
(int
),nexus.types.EmptyBeamRun
(int
),nexus.types.SampleRun
(int
),TransmissionRun
[nexus.types.SampleRun
(int
)],TransmissionRun
[nexus.types.BackgroundRun
(int
)],nexus.types.VanadiumRun
(int
))]