Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chdre/data-analyzer
A small package to analyze and preprocess data.
https://github.com/chdre/data-analyzer
data-analysis python
Last synced: 5 days ago
JSON representation
A small package to analyze and preprocess data.
- Host: GitHub
- URL: https://github.com/chdre/data-analyzer
- Owner: chdre
- License: mit
- Created: 2021-10-12T08:48:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-23T11:05:27.000Z (about 3 years ago)
- Last Synced: 2025-01-20T23:44:18.981Z (9 days ago)
- Topics: data-analysis, python
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Data-analyzer
Small package to process data in the form of time series which has some corresponding data. The package was made considering time series of molecular dynamics simulations as the y data, and the features an array explaining a material structure.# Install
Install using pip:
```
pip install git+https://github.com/chdre/data-analyzer
```# Requirements
- scipy# Usage
For some dataset with features x and some times series y (or otherwise), we can create an object containing the data
```
import data_analyzer import Dataset
dataset = Dataset(x, y)
```# Examples
We can find the maximum values of y by```
x, y = dataset()
ymax = dataset.find_maximum(y)
```or smooth y using Savitzky-Golay filtering:
```
ysmooth = dataset.smooth_y(y)
```
and then, if we want to replace the original targets by the smoothed data:
```
dataset.update_y(ysmooth)
```