Read/write/transform data#

Read data#

read_datasets(filename)

Read an input dataset file, parsing the file and returning a numpy array.

ReadDatasetsError(error_code)

Custom exception class for an error returned by the read_datasets() function.

get_dataset_path(filename, /)

Return path to dataset within the package.

Transform data#

normalise(data, /[, to_range, lower, upper, ...])

Normalise points per coordinate to a range, e.g., to_range = [1,2], where the minimum value will correspond to 1 and the maximum to 2.