Data types

This module contains type aliases and data types for type hints

zema_emc_annotated.data_types.RealMatrix

A real matrix represented by a np.ndarray

zema_emc_annotated.data_types.RealVector

A real vector represented by a np.ndarray

class zema_emc_annotated.data_types.SampleSize(idx_first_cycle: int = 0, n_cycles: int = 1, datapoints_per_cycle: int = 1)[source]

A tuple to specify the size of the extracted data

datapoints_per_cycle: int

number of sensor readings from each of the individual sensors per sample/cycle

defaults to 1 and should be between 1 and 2000, as there are only 2000 readings per cycle, higher values will be clipped to 2000

idx_first_cycle: int

index of first sample to be extracted

defaults to 0 and must be between 0 and 4765

n_cycles: int

number of cycles extracted from the dataset

each cycle contains the first datapoints_per_cycle readings from each of the eleven sensors for one of the cycles with associated standard uncertainties, defaults to 1 and must be between 1 and 4766 - idx_first_cycle

class zema_emc_annotated.data_types.UncertainArray(values: ndarray[Any, dtype[float64]], uncertainties: ndarray[Any, dtype[float64]])[source]

A tuple of a tensor of values with a tensor of associated uncertainties

uncertainties: ndarray[Any, dtype[float64]]

… and their associated uncertainties

values: ndarray[Any, dtype[float64]]

the corresponding values