kappa_sdk.DataEnumerator#
- class kappa_sdk.DataEnumerator(settings, rest_api=None)[source]#
Python wrapper for a Dataset Enumerator.
Note
Should not be instantiated directly.
Methods
DataEnumerator.extrapolation
(ref_vect_x, ...)DataEnumerator.get_default_settings
()DataEnumerator.get_outputs_values
(x_inputs, ...)Get the values after interpolation :param x_inputs: list of the input times :param y_inputs: list of the input values :param x_outputs: list of the output times that will be use for the interpolation and extrapolation :param vector_metadata: List with the info about the vectors
DataEnumerator.get_time_range
(x_inputs, ...)Calculate the time_range of the interpolation :param x_inputs: list of the input times :param vector_metadata: metadata of the inputs
DataEnumerator.interpolation
(next_index, ...)DataEnumerator.linear_interpolation
(...)DataEnumerator.to_enumerable
(params[, settings])Gets a data enumerator for multiple datasets.
DataEnumerator.to_enumerable_from_vectors
(params)Gets a data enumerator for multiple datasets from class:Vector.
- Parameters:
settings (DataEnumeratorSettings)
rest_api (RestAPI | None)