ess.reflectometry.workflow.with_filenames#
- ess.reflectometry.workflow.with_filenames(workflow, runtype, runs)[source]#
Sets a number of
Filename[runtype]
simultaneously. The events from all listed files are concatenated in the workflow.- Parameters:
workflow – the workflow to copy and add the filenames to
runtype (
Hashable
) – the kind of runtype to add the files as. Example:SampleRun
orReferenceRun
.runs (
Sequence
[Filename
[TypeVar
(RunType
,types.ReferenceRun
(int
),ess.reduce.nexus.types.SampleRun
(int
))]]) – the list of filenames to map over
- Returns:
Pipeline
– A copy of the original workflow mapping over the provided files.