Classes | |
class | TimeserieError |
class | Timeserie |
Class representing 1D time series. More... | |
Functions | |
def | copy |
Copy a Timeserie element. More... | |
def | datetime2data |
In a Timeserie object, find in time axis the nearest date from given date. More... | |
def | nearest_sup |
Look for the nearest and newer date in a timeserie for an given day. More... | |
def | nearest_inf |
Look for the nearest and older date in a timeserie for an given day. More... | |
def | concatenate |
Add ts1 and ts2 and return ts_concat. More... | |
def | sort |
Sort a time serie with time attribute and return another. More... | |
def common.module_timeserie.concatenate | ( | ts1, | |
ts2 | |||
) |
Add ts1 and ts2 and return ts_concat.
def common.module_timeserie.copy | ( | x | ) |
def common.module_timeserie.datetime2data | ( | timeserie, | |
date_in, | |||
h_accuracy = 6 |
|||
) |
In a Timeserie object, find in time axis the nearest date from given date.
Optional: h_accurary. Find date in [date_in-h_accurary,date_in+h_accuracy]. +-6 hours by default. Return the corresponding tuple with its date: (datetime.datetime,data).
def common.module_timeserie.nearest_inf | ( | timeserie, | |
date_in | |||
) |
Look for the nearest and older date in a timeserie for an given day.
Return the corresponding tuple with its date: (datetime.datetime,data).
def common.module_timeserie.nearest_sup | ( | timeserie, | |
date_in | |||
) |
Look for the nearest and newer date in a timeserie for an given day.
Return the corresponding tuple with its date: (datetime.datetime,data).
def common.module_timeserie.sort | ( | ts | ) |
Sort a time serie with time attribute and return another.