Skip to content

Commit

Permalink
Merge pull request #1936 from AllenInstitute/bugfix/1936-butterworth-…
Browse files Browse the repository at this point in the history
…sweepformula-documentation

Fix butterworth documentation
  • Loading branch information
t-b authored Nov 7, 2023
2 parents becb22e + 3c61a55 commit 422033e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Binary file modified Packages/MIES/SweepFormulaHelp.ifn
Binary file not shown.
9 changes: 5 additions & 4 deletions Packages/doc/SweepFormula.rst
Original file line number Diff line number Diff line change
Expand Up @@ -481,16 +481,17 @@ The returned data type is `SF_DATATYPE_INTEGRATE`.
butterworth
"""""""""""
The operation `butterworth` applies a butterworth filter on the given data using `FilterIIR` from Igor Pro. The operation calculates along rows. It
takes four arguments:
The operation `butterworth` applies a butterworth filter on the given data
using `FilterIIR` from Igor Pro. The operation calculates along rows. It takes
four arguments:
.. code-block:: bash
butterworth(array data, variable lowPassCutoffInHz, variable highPassCutoffInHz, variable order)
The first parameter `data` is intended to be used with the `data()` operation but
can be an arbitrary numeric array. The parameters lowPassCutoffInHz and highPassCutoffInHz
are in units of `WAVEBUILDER_MIN_SAMPINT_HZ` (200.000 Hz). The maximum value for `order` is 100.
can be an arbitrary numeric array. The parameters lowPassCutoffInHz and
highPassCutoffInHz must be given in Hz. The maximum value for `order` is 100.
The operation accepts multiple data waves for the data argument.
For this case the operation is applied on each input data wave independently and returns the same number of data waves.
The returned data type is `SF_DATATYPE_BUTTERWORTH`.
Expand Down

0 comments on commit 422033e

Please sign in to comment.