Skip to content

Commit

Permalink
SweepFormula: Add examle with fancy epoch extraction
Browse files Browse the repository at this point in the history
Close #1843.
  • Loading branch information
t-b committed Sep 5, 2023
1 parent b4262bf commit b9324d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file modified Packages/MIES/SweepFormulaHelp.ifn
Binary file not shown.
5 changes: 5 additions & 0 deletions Packages/doc/SweepFormula.rst
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ The returned data type is `SF_DATATYPE_SWEEP`.
// No double resolve of the same epoch name: Shows sweep data from epoch "TP" of the AD channels of all displayed sweeps.
data(["TP","TP"], select(channels(AD), sweeps()))
// extract the first pulse from TTL1 as epoch and extract the AD data
// in that range
ep = epochs(E0_PT_P0, select(channels(TTL1),sweeps()))
data($ep,select(channels(AD),sweeps()))
labnotebook
"""""""""""
Expand Down

0 comments on commit b9324d6

Please sign in to comment.