Specgram Filter

The foglamp-filter-specgram is a filter that generates spectrogram images from incoming signal data based on defined configuration.

Specgram filters are added in the same way as any other filters.

  • Click on the Applications add icon for your service or task.

  • Select the specgram plugin from the list of available plugins.

  • Name your specgram filter instance

  • Click Next and you will be presented with the configuration page as in the image below. Configure as required.

  • Enable the filter and click Done to activate it


  • Enabled: Whether this filter is to be enabled

  • Log level: Logging level for debug/error information

  • Asset from which vibration data is read: Asset name containing the signal data to create spectrograms for

  • Output asset indicating small shoot discharge length: The asset name under which small shoot discharge width and timing is reported

  • Comma separated TS and Data channel(s): comma separated list of columns for timestamp (mandatory) and data channels to be processed

  • Sampling rate (per sec): The sampling rate of the incoming signal data

  • Forward data: Whether to forward original vibration data down the filter chain

  • Vibration data evaluation interval: Time interval after which to generate spectrogram images

  • Delete spectrogram images older than these many days: Number of days after which older spectrogram images may be discarded

  • Destination directory: Destination directory to store spectrogram images organized into date-wise directories

  • Data stream filtering: Whether to filter the data stream based on subsequent config parameter values: “Periodic event UTC timestamp” & “Event repetition time” or the data stream is already filtered. “Filter data stream” option would typically be required when using this filter on the south service that ingresses vibration data into Foglamp. And “Pre-filtered data stream” would be used in the conditional forwarding case where data has already been filtered and only interesting data has been forwarded using a notification service instance that might be using notify-north delivery plugin. So in latter case, spectrogram filter would process all incoming data and won’t use the values of “Periodic event UTC timestamp” & “Event repetition time” config params.

  • Periodic event UTC timestamp: UTC Timestamp (potentially in the past) when a periodic event of interest happened/would happen (e.g. a small shoot event)

  • Event repetition time: The time after which the desired event repeats (e.g. small shoot frequency i.e. 31 mins)

  • Pre event time: The amount of time to consider for collection before the desired event [eg., 1min]

  • Event duration: The duration for desired event [eg., 1min]

  • Post event time: The amount of time to consider for collection after the desired event [eg., 1min]

See Also

foglamp-filter-ADM_LD_prediction - Filter to detect whether a large discharge is required for a centrifuge

foglamp-filter-expression - A FogLAMP processing filter plugin that applies a user define formula to the data as it passes through the filter

foglamp-filter-fft - A FogLAMP processing filter plugin that calculates a Fast Fourier Transform across sensor data

foglamp-filter-log - A FogLAMP filter that converts the readings data to a logarithmic scale. This is the example filter used in the plugin developers guide.

foglamp-filter-normalise - Normalise the timestamps of all readings that pass through the filter. This allows data collected at different rate or with skewed timestamps to be directly compared.

foglamp-filter-python35 - A FogLAMP processing filter that allows Python 3 code to be run on each sensor value.

foglamp-filter-rms - A FogLAMP processing filter plugin that calculates RMS value for sensor data

foglamp-filter-scale-set - A FogLAMP processing filter plugin that applies a set of sale factors to the data

foglamp-filter-statistics - Generic statistics filter for FogLAMP data that supports the generation of mean, mode, median, minimum, maximum, standard deviation and variance.

foglamp-filter-vibration_features - A filter plugin that takes a stream of vibration data and generates a set of features that characterise that data

foglamp-south-Expression - A FogLAMP south plugin that uses a user define expression to generate data

foglamp-south-digiducer - South plugin for the Digiducer 333D01 vibration sensor

foglamp-south-dt9837 - A south plugin for the Data Translation DT9837 Series DAQ