Skip to content

Commit

Permalink
[doc] Update filter grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
gempa-jabe committed Jul 31, 2024
1 parent cdfe96c commit 5deb941
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/base/filter-grammar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ parentheses, e.g. :py:func:`DIFF()<DIFF()>`, or without, e.g.
v1 = s;
.. py:function:: DT()
The sampling interval in seconds of the data. Each input sample is replaced with the current
sampling interval. This filter is most useful in combination with other filters.

.. py:function:: INT([a = 0])
Integration filter realized as a recursive IIR (infinite impulse response) integration
Expand Down Expand Up @@ -313,6 +318,11 @@ parentheses, e.g. :py:func:`DIFF()<DIFF()>`, or without, e.g.
:param type: The data type: either 0 (displacement), 1 (velocity) or 2 (acceleration)


.. py:function:: SR()
The sampling rate of the data. Each input sample is replaced with the current
sampling rate. This filter is most useful in combination with other filters.

.. py:function:: STALTA(sta, lta)
A STA/LTA filter is the ratio of a short-time amplitude average (STA) to a
Expand All @@ -337,6 +347,12 @@ parentheses, e.g. :py:func:`DIFF()<DIFF()>`, or without, e.g.
:param on: STA/LTA ratio defining the start of the time window for fixing LTA.
:param off: STA/LTA ratio defining the end of the time window for fixing LTA.

.. py:function:: SUM(timespan)
Computes the sum of previous samples within a *timespan*.

:param timespan: Time timespan to compute the sum in seconds

.. py:function:: WA([type = 1[,gain=2080[,T0=0.8[,h=0.7]]]])
The simulation filter of a :term:`Wood-Anderson seismometer`. The data format
Expand Down

0 comments on commit 5deb941

Please sign in to comment.