Time Series Data Processing Engine (TSDPE) is a Python library that offers advanced functionalities for time series data processing and analysis.
Dataset Fusion is a feature that allows you to combine multiple datasets into a single unified dataset. This is particularly useful when dealing with different sources of time-series data that need to be synchronized and resampled to achieve a common timestamp.
- Data Loading: Load multiple datasets with differing timestamps.
- Synchronization: Align the datasets to have a common timestamp.
- Resampling: Interpolate or decimate data points to conform to a user-defined sampling rate.
Order Domain Normalization (ODN) is designed to normalize and process time-series data in the frequency domain with a focus on the harmonic analysis.
- Fourier Transformation: Convert the time-domain data into frequency-domain data.
- Normalization: Normalize the frequency data based on a reference.
- Inverse Fourier Transformation: Convert the normalized frequency-domain data back into time-domain.
- Python 3.9+
- Pipenv
Clone the repository and navigate to the project directory:
git clone https://github.com/yourusername/TSDPE.git
cd TSDPEInstall dependencies using Pipenv:
pipenv install --dev-
To use Dataset Fusion, import and call the relevant function:
from tsdpe import dataset_fusion
-
For ODN, use:
from tsdpe import order_domain_normalization
Run the tests to ensure everything is set up correctly:
pytest-
This project uses
Blackfor code formatting andpylintfor linting.black . pylint tsdpe/
GitHub Actions is set up for Continuous Integration. It automatically runs tests and linters on every push to the repository.
- Thanks to the Brunel AI Center for providing support and inspiration, and have helped to improve this project.