ewoksid02.utils.io#

Functions

deserialize_h5py_task(h5dict, h5py_parent)

get_best_gpu()

Decides the best GPU in terms of memory available

get_dataset_signal_from_processed_file(filename)

get_free_memory(device_id)

Retrieves the available memory on a GPU device

get_from_headers(key[, headers, ...])

Retrieve a header value from the header object (for online processing) or from an HDF5 group (for offline processing).

get_headers([headers, metadata_file_group])

Retrieve headers from a dictionary or an HDF5 group.

get_isotime([forceTime])

Get the current time as an ISO8601 string.

get_persistent_array_dark(filename_dark, ...)

get_persistent_array_flat(filename_flat, ...)

get_persistent_array_mask(filename_mask, ...)

get_persistent_array_window_wagon(...[, ...])

get_value_from_file(filename, h5path, key[, ...])

load_data(filename[, binning, ...])

Load data from a file or a list of files.

match_stream(name, streams)

parse_titleextension_template(template)

refactor_stream_name_interpreted(stream_name)

refactor_stream_name_raw(stream_name[, cut_name])

serialize_h5py_task(h5py_group)

Recursively convert an h5py Group or File into a nested Python dictionary.

use_best_gpu()

Set the best available GPU for cupy operations.