Class GenerateRecordingFileNames
- Namespace
- OpenEphys.Miniscope.Gui
- Assembly
- OpenEphys.Miniscope.Gui.dll
Generates a synchronized set of file names for a recording from a single file name template and PathSuffix, so that the CSV, video, and log files always share an identical base name and suffix.
[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class GenerateRecordingFileNames
- Inheritance
-
GenerateRecordingFileNames
- Inherited Members
Remarks
The suffix is resolved once per generated set: for Timestamp a single timestamp is shared by all files, and for FileCount a single count is computed across every extension. This guarantees the files line up, in contrast to letting each writer resolve its own suffix independently (which can diverge for timestamps and drift for file counts). Because the suffix is baked into the returned names, the downstream writers must be configured with None so that it is not applied a second time.
Properties
- FileName
Gets or sets the file name template used as the base for all generated names.
- Suffix
Gets or sets the suffix applied to the base name, before each file extension.
Methods
- Process<TSource>(IObservable<TSource>)
Generates a synchronized RecordingFileNames set each time the
sourcesequence produces a notification.