sfxSignalAnalysisExt

Filter out or filter in low duration events (thanks to BUENO for concept help)
sfxSignalAnalysisExt

Registered users on StackHub may elect to receive email notifications whenever new package versions are released.

v1.2.5

Overview

Welcome to SkySpark's Signal Analysis Extension! As of today, there are 8 functions in this package.

sfxFourier(hisGrid, filter: x => x, theChartType: "bar")

Plot duration vs frequency

  • Works on booleans or lambdas of other kinds such as numerics
  • Must only have 2 states (forced by lambdas)
  • Only works on a single ts and a single v0 column
  • Side Effects: None
  • Input: ts, v0 grid
  • Output: Transmuted history grid of ts, v0 columns
  • Filter used appears in col meta data
  • read(cool).hisRead(2016-07).sfxFourier
  • read(temp and discharge).hisRead(2016-07).sfxFourier(x => x > 70, "scatter")

sfxHisDurPlot(hisGrid, delta: 0%, dur: 16min, theChartType: "scatter")

Plot duration bucket vs frequency

  • Percentage and Duration thresholds determined manually or automatically
  • Supports a true History Grid with multiple V columns
  • Side Effects: Data interpolated, multiple histories that do not start and/or end around same time will result in leading and trailing 0s
  • leading and trailing 0s and length of entire window will affect results in auto mode
  • Input: ts, val*n grid where val*n can be multiple V columns with only numbers
  • Output: Transmuted history grid of ts, V*n columns
  • delta and dur used appear in column meta data
  • read(temp and discharge).hisRead(yesterday).sfxHisDurPlot
  • read(temp and discharge).hisRead(yesterday).sfxHisDurPlot(50%, 16min, "bar")
  • readAll(temp and discharge).hisRead(yesterday).sfxHisDurPlot
  • readAll(temp and discharge).hisRead(yesterday).sfxHisDurPlot(50%, 16min)

sfxHisNoiseFilter(hisGrid, delta: 0%, dur: 16min)

Remove low duration events

  • Percentage and Duration thresholds determined manually or automatically
  • Supports a true History Grid with multiple V columns
  • Side Effects: Data interpolated, multiple histories that do not start and/or end around same time will result in leading and trailing 0s
  • leading and trailing 0s and length of entire window will affect results in auto mode
  • Input: ts, val*n grid where val*n can be multiple V columns with only numbers
  • Output: Transmuted history grid of ts, V*n columns
  • delta and dur used appear in column meta data
  • read(temp and discharge).hisRead(yesterday).sfxHisNoiseFilter
  • read(temp and discharge).hisRead(yesterday).sfxHisNoiseFilter(50%, 16min)
  • readAll(temp and discharge).hisRead(yesterday).sfxHisNoiseFilter
  • readAll(temp and discharge).hisRead(yesterday).sfxHisNoiseFilter(50%, 16min)

sfxHisShowNoise(hisGrid, delta: 0%, dur: 16min)

Remove high duration events

  • Percentage and Duration thresholds determined manually or automatically
  • Supports a true History Grid with multiple V columns
  • Side Effects: Data interpolated, multiple histories that do not start and/or end around same time will result in leading and trailing 0s
  • leading and trailing 0s and length of entire window will affect results in auto mode
  • Input: ts, val*n grid where val*n can be multiple V columns with only numbers
  • Output: Transmuted history grid of ts, V*n columns
  • delta and dur used appear in column meta data
  • read(temp and discharge).hisRead(yesterday).sfxHisShowNoise
  • read(temp and discharge).hisRead(yesterday).sfxHisShowNoise(50%, 16min)
  • readAll(temp and discharge).hisRead(yesterday).sfxHisShowNoise
  • readAll(temp and discharge).hisRead(yesterday).sfxHisShowNoise(50%, 16min)

sfxMultiFourier(theList)

Plot multiple Fourier grids together

  • All input grids must come from sfxFourier()
  • Works on booleans or lambdas of other kinds such as numerics
  • Side Effects: None
  • Input: Multiple Fourier grids
  • Output: Multiple v columns
  • sfxMultiFourier([read(temp and discharge).hisRead(2010-01).sfxFourier(x=>x<60),read(temp and discharge).hisRead(2010-01).sfxFourier(x=>x>80)])

sfxNumbDist(hisGrid, bins: 10, theChartType: "bar")

Plot bins vs frequency

  • Also shows average and total duration in designated bin
  • Works on booleans, numbers, and strings
  • Only works on a single ts and a single v0 column
  • Side Effects: None
  • Input: ts, v0 grid
  • Output: Transmuted history grid of ts, v0 columns
  • Bins used appears in col meta data
  • read(cool).hisRead(2016-07).sfxNumbDist
  • read(temp and discharge).hisRead(2016-07).sfxNumbDist
  • read(temp and discharge).hisRead(2016-07).sfxNumbDist(20, "scatter")

sfxRawFilter(hisGrid, delta: 50%)

Show duration buckets (manual)

  • Percentage and Duration thresholds determined manually
  • Debug function called by sfxHisNoiseFilter(), sfxHisShowNoise(), and sfxHisDurPlot()
  • Supports only history grids with a ts, v0 column
  • Side Effects: None
  • Input: ts, v0 grid where v0 can only be numbers
  • Output: Transmuted history grid of ts, v0, v1 = % change, v2 = group start, v3 = group end, v4 = group duration
  • delta used appears in column meta data
  • read(temp and discharge).hisRead(yesterday).sfxRawFilter(50%)

sfxRawFilterAuto(hisGrid)

Show duration buckets (auto)

  • Percentage and Duration thresholds determined automatically
  • Debug function called by sfxHisNoiseFilter(), sfxHisShowNoise(), and sfxHisDurPlot()
  • Supports only history grids with a ts, v0 column
  • Side Effects: None
  • Input: ts, v0 grid where v0 can only be numbers
  • Output: Transmuted history grid of ts, v0, v1 = % change, v2 = group start, v3 = group end, v4 = group duration
  • delta used and dur to be used appear in column meta data
  • read(temp and discharge).hisRead(yesterday).sfxRawFilterAuto

Please contact [email protected] with any questions.

Published by SkyFoundry

Products & Services by SkyFoundry

Packages by SkyFoundry

Free packages

Pricing options
sfxSignalAnalysisExt
Filter out or filter in low duration events (thanks to BUENO for concept help)
FREE
Download now
Also available via SkyArc Install Manager
Package details
Version1.2.5
Licensen/a
Build date6 months ago
on 25th Apr 2018 21:00:27 UTC
Depends on
File namesfxSignalAnalysisExt.pod
File size16.64 kB
MD5128b6d8150b013e98b4a67a6e2ed4578
SHA1 54d953e7cc5184b3d6ebd775812748838cc9ec48
Published by
SkyFoundryDownload now
Also available via SkyArc Install Manager
Tags
Fantom Pod