ess.reduce.nexus.workflow.data_by_name#
- ess.reduce.nexus.workflow.data_by_name(filename, name, selection)[source]#
Create a location spec for monitor or detector data in a NeXus file.
- Parameters:
filename (
NeXusFileSpec
[TypeVar
(RunType
)]) – NeXus file to use for the location spec.name (
NeXusName
[TypeVar
(Component
)]) – Name of the monitor or detector group.selection (
TimeInterval
[TypeVar
(RunType
)]) – Time range (start and stop as a Python slice object).
- Return type:
NeXusDataLocationSpec
[TypeVar
(Component
),TypeVar
(RunType
)]