Sign inSign up

weevenetwork/vibrations-simulator

By weevenetwork

•Updated over 3 years ago

Image
0

764

weevenetwork/vibrations-simulator repository overview

⁠Vibrations Simulator

NameVibrations Simulator
Versionv1.0.0
GitHubweeve-modules/vibrations-simulator⁠
AuthorsJakub Grzelak

⁠Description

Simulate vibrations waveform data. Provide sample size, measurement duration and frequencies of the base waveforms.

⁠Environment Variables

⁠Module Specific

The following module configurations can be provided in a data service designer section on weeve platform:

NameEnvironment VariablestypeDescription
Sample SizeSAMPLE_SIZEintegerNumber of samples taken per second, sample rate of 1024 means that 1024 values of the signal are recorded in one second.
Measurement DurationMEASUREMENT_DURATIONintegerHow long (in seconds) the measurement period lasts and batches the data.
Main FrequencyMAIN_FREQUENCYfloatFrequency of the main waveform (Hz).
Main MagnitudeMAIN_MAGNITUDEfloatMagnitude of the main waveform.
Vibration FrequencyVIBRATION_FREQUENCYfloatFrequency of the vibration waveform (Hz).
Vibration MagnitudeVIBRATION_MAGNITUDEfloatMagnitude of the vibration waveform.
Vibration ProbabilityVIBRATION_PROBABILITYfloatProbability that the signal will start a vibration anomaly at this frequency during any time step.
Continue ProbabilityCONTINUE_PROBABILITYfloatProbability that the signal will continue emitting noise at this frequency during any following timestep.
Noise Standard DeviationNOISE_STANDARD_DEVIATIONfloatStandard deviation of the noise of the composite signal, randomly generated from the normal distribution.
Output LabelOUTPUT_LABELstringThe output label at which data is dispatched.
⁠Set by the weeve Agent on the edge-node

Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.

Environment VariablestypeDescription
MODULE_NAMEstringName of the module
MODULE_TYPEstringType of the module (INGRESS, PROCESS, EGRESS)
EGRESS_URLSstringHTTP ReST endpoint for the next module

⁠Dependencies

requests
numpy

⁠Input

This module does not take any input.

⁠Output

Output of this module is bytes object containing compressed (LZMA compression) array of data points of a simulated waveform.

Waveform 1

Waveform 2

Tag summary

Content type

Image

Digest

sha256:a7d529b20…

Size

89.4 MB

Last updated

over 3 years ago

docker pull weevenetwork/vibrations-simulator:v1.0.1