xicsrt_io
xicsrt.xicsrt_io
Description
Handle reading and writing of files for XICSRT.
- load_results(filename=None, path=None, config=None)[source]
Load an XICSRT results file.
- Keywords
- filename
The name of the file to load. filename can be a full path; otherwise if path is given it will be prepended to the filename. If filename is not provided and a config is given, then a filename will be auto generated based on the config.
- path
If provided the path will be prepended to the filename.
- config
If provided (and filename is not), then the filename will be auto generated using the config settings.
- save_images(output, rotate=True, path=None, mkdir=None)[source]
Save images from the raytracing output.
Private Members
- _dict_from_file(filename)[source]
- _file_from_dict(data, filename, mkdir=False, overwrite=False)[source]
- _make_output_path(config)[source]
- _make_path(filename)[source]