xicsrt_io

xicsrt.xicsrt_io

Description

Handle reading and writing of files for XICSRT.

load_config(filename)[source]
save_config(config, filename=None, path=None, mkdir=None, overwrite=None)[source]
save_results(output, filename=None, path=None, mkdir=None, overwrite=None)[source]
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.

generate_filename(config, kind=None, name=None, path=None)[source]
path_exists(path)[source]

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]