This repository provides some helper functions for signal processing functions related to time series (in Python).
Project description
# Introduction
This library is for data that is arranged as follows (in the form of lists - this is just for visual understanding):
|id| Timestamp|values|
| ------ | ------ | ------- |
| 1 | 2018:06:05 03:02:00| 2.3|
| 2 | 2018:06:05 03:04:33| 2.4|
| 3 | 2018:06:05 03:07:01|3.3
| 4 | 2018:08:03 03:07:55 | 2.9
| 5 | 2018:08:03 03:08:44 | 3.3
| 6 | 2018:08:03 03:12:12 | 2.4
As you can see, the above signal is *a non uniformly sampled signal* as observed by the irregularly spaced timestamps.
You can apply several functions of this libary to the above data suach as:
import signal_processing as sp
upsampled_signal = upsampling(input_signal,5) # Does upsampling by a factor of 5
downsampled_signal = downsampling(upsampled_signal,3) # Does downsampling by a factor of 3
sampled_signal = sampling_non_uniformly_sampled_signals(input_signal,freq_in_minutes) # samples the signal on a frequency of given minutes
This library is for data that is arranged as follows (in the form of lists - this is just for visual understanding):
|id| Timestamp|values|
| ------ | ------ | ------- |
| 1 | 2018:06:05 03:02:00| 2.3|
| 2 | 2018:06:05 03:04:33| 2.4|
| 3 | 2018:06:05 03:07:01|3.3
| 4 | 2018:08:03 03:07:55 | 2.9
| 5 | 2018:08:03 03:08:44 | 3.3
| 6 | 2018:08:03 03:12:12 | 2.4
As you can see, the above signal is *a non uniformly sampled signal* as observed by the irregularly spaced timestamps.
You can apply several functions of this libary to the above data suach as:
import signal_processing as sp
upsampled_signal = upsampling(input_signal,5) # Does upsampling by a factor of 5
downsampled_signal = downsampling(upsampled_signal,3) # Does downsampling by a factor of 3
sampled_signal = sampling_non_uniformly_sampled_signals(input_signal,freq_in_minutes) # samples the signal on a frequency of given minutes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file signal_processing-0.0.5.tar.gz
.
File metadata
- Download URL: signal_processing-0.0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.19.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc7289fb6938a07f92f1c2e5e27f01c6cdb123b9d3421f6daced21ec55a6be9 |
|
MD5 | 3e24f3ba94528f9f19d11b04b1e77f4f |
|
BLAKE2b-256 | 7c35bd5c589656ba8351e0999fb909a0b4a30a5610a6e56ad14d633cd0231ec7 |