Name | Fast Fourier Transform |
Version | v1.0.1 |
DockerHub | weevenetwork/fast-fourier-transform |
Authors | Jakub Grzelak |
Extract elementary frequencies and magnitudes from your data.
The following module configurations can be provided in a data service designer section on weeve platform:
Name | Environment Variables | type | Description |
---|---|---|---|
Input Label | INPUT_LABEL | string | Label of data to apply FFT to. |
Sample Data | SAMPLE_SIZE | string | Number of samples taken per second, sample rate of 1024 means that 1024 values of the signal are recorded in one second. |
Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.
Environment Variables | type | Description |
---|---|---|
MODULE_NAME | string | Name of the module |
MODULE_TYPE | string | Type of the module (Input, Processing, Output) |
EGRESS_URLS | string | HTTP ReST endpoints for the next module |
INGRESS_HOST | string | Host to which data will be received |
INGRESS_PORT | string | Port to which data will be received |
bottle
requests
scipy
numpy
Input to this module is a single JSON object with is bytes object containing compressed (LZMA compression) array of data points of a simulated waveform.:
Output of this module is list of the detected frequencies and magitudes, formatted as a list of objects;
[
{
"frequency": 270,
"magnitude": 2
},
{
"frequency": 60,
"magnitude": 25
}
]