Macro $AGEN
| GSI | Biophysics | SATAN long write-up |

$AGEN( anlid ) type(t) limits(l1,u1,...) bins(b1,b2,...) ncnd(cnd)


Create an analyzer



Analyzer name. The maximum length is 18 alphanumeric symbols (letters A .. Z, numbers 0 .. 9, at-sign @, dollar-sign $ and underscore _ ); the first character must be alphabetic. The name may have up to three subscripts defining the upper subscript bounds of an array of analyzers, the lower bounds are always = 1.


Analyzer data type. If omitted, t=4.


Lower and upper channel number limits of all analyzer dimensions 'i' (input valid condition). 'li' and 'ui' must lie between -32767 and 32767 inclusive. The number of dimensions is defined by the number of limit pairs (maximum 4). Defaults are 'li' = 1 and 'ui' = 1024.


List of bin sizes for each dimension. Default: 'bi' = 1.


Number of analyzer conditions. Conditions are created as a pair of channel number limits for each analyzer dimension, initially set equal to the analyzer limits. They may be changed by the macro $ACDEF within the analysis program or interactively with the commands ACDEF, DSWI, and D2COND. Default is c=0.



With the exception of this macro and its corresponding command AGEN, subscripted analyzer names cannot be treated as arrays. Subcripts and their enclosing parantheses are parts of the analyzer name.


Create analyzer AN1 without spectrum and with 5 conditions.
Create 5 analyzers M(1),...,M(5) with 4-byte spectra and without conditions.
$AGEN(Q) TYPE(4) LIMITS(0,127,0,255) BINS(1,2) NCND(3);
Create a two-dimensional analyzer Q of type 4 with 3 conditions.
| GSI | Biophysics | SATAN long write-up |
Last updated:, 4-Aug-1999

Impressum Data privacy protection