Sign inSign up

beetaone/bandstop-filter

By beetaone

•Updated about 2 years ago

Image
0

164

beetaone/bandstop-filter repository overview

⁠Band-stop Filter

nameBand-stop Filter
versionv1.0.1
DockerHubbeetaone/bandstop-filter⁠
authorsPaul Gaiduk

⁠Table of Content


⁠Description

Module that filters out frequencies.

⁠Environment Variables

Environment VariablestypeDescription
FREQUENCY_RANGESstringRanges of acceptable frequencies (in Hz) separated by semicolon
⁠Module Specific
⁠Set by the beetaone Agent on the edge-node
Environment VariablestypeDescription
MODULE_NAMEstringName of the module
MODULE_TYPEstringType of the module (Input, Processing, Output)
INGRESS_HOSTstringHost where app is running
INGRESS_PORTstringPort where app is running
EGRESS_URLSstringHTTP ReST endpoint for the next module

⁠Dependencies

The following are module dependencies:

  • bottle
  • requests

The following are developer dependencies:

  • pytest
  • flake8
  • black

⁠Input

Input to this module is a JSON array, that contains "frequency" fields:

[
    {
        "frequency": 270,
        "magnitude": 2
    },
    {
        "frequency": 6,
        "magnitude": 25
    }
]

⁠Output

Output of this module is JSON body the same as input data, but only containing the entries, whose frequencies DON'T fit into FREQUENCY_RANGES:

[
    {
        "frequency": 6,
        "magnitude": 25
    }
]

Tag summary

Content type

Image

Digest

sha256:8e5c50985…

Size

49.1 MB

Last updated

about 2 years ago

docker pull beetaone/bandstop-filter:v1.0.1