ibex_bluesky_core.callbacks.file_logger
Creates a readable .txt file of Bluesky runengine dataset.
Members
Outputs bluesky runs to human-readable output files in the specified directory path. |
- class ibex_bluesky_core.callbacks.file_logger.HumanReadableFileCallback(fields: list[str], *, output_dir: Path | None, postfix: str = '')[source]
Bases:
CallbackBase
Outputs bluesky runs to human-readable output files in the specified directory path.
Output human-readable output files of bluesky runs.
If fields are given, just output those, otherwise output all hinted signals.
- Parameters:
fields – a list of field names to include in output files
output_dir – filepath into which to write output files
postfix – optional postfix to append to output file names