neclib.recorders.writer_base#
- class Writer(*args, **kwargs)[source]#
Bases:
ABC
- abstract append(*args, **kwargs)[source]#
Append a chunk of data.
- Returns:
Whether the data is handled by this writer.
- Return type:
handled
- Parameters:
args (Any) –
kwargs (Any) –
Notes
The subclass should check the input type, as
Writer
would handle some essentially different data, andRecorder
won’t implement the type checking for extensibility.