ice_shelf_state_and_fate.timeseries_module.timeseries_enums
Module for the manipulation of timeseries.
Classes
|
The available aggregation periods. |
|
The available aggregation types. |
|
The available analysis types used to evaluate correlation or causality between variables. |
|
The available model evaluation metrics. |
|
The available normalisation types. |
|
Define the type of timeseries. |
|
The available uncertainty types. |
- class AggregationPeriod(*values)
Bases:
StrEnumThe available aggregation periods.
- DAY = 'day'
- MONTH = 'month'
- QUARTER = 'quarter'
- YEAR = 'year'
- static format_with_units(value: int64 | int | float, period: AggregationPeriod, max_decimal_places: int = 2) str
Format a value with its corresponding time unit as a human-readable string.
- static pd_date_range_freq(period: AggregationPeriod) str
Appropriate value for pd.date_range() freq parameter.
- static pd_period_freq(period: AggregationPeriod) str
Appropriate value for pd.PeriodIndex() freq parameter.
- class AggregationStrategy(*values)
Bases:
StrEnumThe available aggregation types.
- IQR = 'IQR'
- MAX = 'max'
- MEAN = 'mean'
- MEDIAN = 'median'
- MIN = 'min'
- NONE = 'None'
- STD = 'std'
- class JointPlotAnalysisType(*values)
Bases:
StrEnumThe available analysis types used to evaluate correlation or causality between variables.
- CAUSAL = 'causal'
- CORR = 'corr'
- CROSS_CORR = 'cross_corr'
- class ModelEvaluationMetric(*values)
Bases:
StrEnumThe available model evaluation metrics.
- AIC = 'aic'
- BIC = 'bic'
- class NormalisationType(*values)
Bases:
StrEnumThe available normalisation types.
- FIRST = 'first'
- LINEAR_REGRESSION = 'linear_regression'