Utils Module
The utils module includes helper functions. The module currently contains a single function to help users convert numeric indexes to datetime indexes. Additional helper functions could be added at a later date.
|
Convert MATLAB datenum format to Python datetime |
|
Convert Excel datenum format to Python datetime |
|
Calculate mean, max, min and stdev statistics of continuous data for a given statistical window. |
|
Function used to calculate statistics for vector/directional channels based on routine from Campbell data logger and Yamartino algorithm |
|
Function used to unwrap vectors into 0-360 deg range |
|
Retuns magnitude and phase in two or three dimensions. |
|
Calculates the root mean squared value given three arrays. |
|
Handles caching of data to avoid redundant network requests or computations. |
|
Clears the cache. |
|
Finds the zero upcrossing points. |
|
Finds the peaks between zero crossings. |
|
Finds the troughs between zero crossings. |
|
Calculates the height between zero crossings. |
|
Calculates the period between zero crossings. |
|
Applies a custom function to the timeseries data between upcrossing points. |
|
Convert input data to a numeric array, ensuring all elements are numeric. |
|
Converts the given data to an xarray.Dataset. |
|
Converts the given data to an xarray.DataArray. |
|
Recursively searches inside nested dictionaries for pandas DataFrames to convert to xarray Datasets. |