Programmer Guide/Command Reference/EVAL/otrack1: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Track components (bands) of a order spectrum. | |||
;Usage: | |||
:<code>otrack1(<var>a</var>, <var>df</var>, <var>f1</var>, <var>o</var>, <var>ob</var>, <var>oini</var>})</code> | |||
:;<var>a</var>:amplitude or power spectrum (vector) | |||
:;<var>df</var>:frequency resolution of ''a'' in Hz; 0 < ''df'' | |||
:;<var>f1</var>:frequency of the 1st order in Hz; 0 < ''f1'' | |||
:;<var>o</var>:tracking orders (scalar or vector); all orders must be greater than 0 | |||
:;<var>ob</var>:width of order bands; 0 < ''ob'' | |||
:;<var>oini</var>:amplitude for unassigned order lines | |||
;Description 1: The function computes the maximum spectrum amplitude ''oa''[i] for each order band i: | |||
:<code>''f1*(''o''[i]-''ob''/2) .. ''f1*(''o''[i]+''ob''/2); with: i = 0..nrow(''o'')-1</code> | |||
;Result: The amplitudes ''oa''[i]. The result has the same type as ''o''. | |||
;See also: [[../ticks2f1|ticks2f1]], [[../asp2osp|asp2osp]], [[../sig2osp|sig2osp]] | |||
[[../#Functions|<function list>]] | |||
Latest revision as of 11:29, 21 April 2011
Track components (bands) of a order spectrum.
- Usage
otrack1(a, df, f1, o, ob, oini})
- a
- amplitude or power spectrum (vector)
- df
- frequency resolution of a in Hz; 0 < df
- f1
- frequency of the 1st order in Hz; 0 < f1
- o
- tracking orders (scalar or vector); all orders must be greater than 0
- ob
- width of order bands; 0 < ob
- oini
- amplitude for unassigned order lines