Command AMOD
| GSI | Biophysics |

AMOD

anlid evtid
/
dim()
limits()
bins()
type()
cond()
name()
nevt()
calib()
nocalib
clear
shift()
debug

Purpose

Modify analyzer attributes and contents

Parameters

anlid

Analyzer identifier.

evtid

Analyzer qualifier.
Analyzer identifier and qualifier, respectively, may be given by a name or number. A name may contain wild card characters at any position: '%' specifies one character, '*' a (sub)string of any length. If omitted, uniqueness or reference to the last display is assumed.

dim(d)

Number of dimensions.

limits(l)

List of channel number limits for each dimension.

bins(b)

Bin size(s) (number of channels per spectrum element) for each dimension.

type(t)

Analyzer spectrum type.
t        spectrum organization             max. counts
--       ---------------------             -----------

 0       no spectrum
 2       2 bytes (15 bits + sign)               32 767          
 4       4 bytes (31 bits + sign)        2 147 483 647          
24       4 bytes floating point            1.2E-38..3.4E38          
           7 significant digits                                 

cond(c)

Number of conditions.

name(a)

New analyzer name.

nevt(e)

New qualifier. 'e' may be a name or a number and will be created if not existing.

calib(c)

For one-dimensional analyzers only: The calibration 'c' is associated with the analyzer spectrum. The calibration is specified as '<cname>.<cqual>'. If <cqual> is omitted, 'cal' is assumed.
Note that references to calibrations are fragile, they are not preserved when analyzers are dumped to the data element library.
Calibrations can be created, modified, or deleted with the command ACALIB.

nocalib

The reference to the calibration 'c' will be deleted.

clear

The analyzer spectrum will not be preserved.

shift(s)

Shift the data to a new channel range, i.e. perform a new mapping between channel numbers and contents. 's' denotes a list containing the shift amounts for each dimension.

debug

Debug switch. Lots of output !

Function

Remarks

For analyzers defined by an analysis routine (macro $AGEN()) ) the type, the number of dimensions, and the qualifier cannot be modified.
Prompting occurs if no keyword is specified.

Examples

AMOD  *88  L*  / TYPE(4)
Change spectrum type of all analyzers with names ending with '88', and with qualifier names, beginning with 'L'. No modification is done for analyzers created in analysis routines.
AMOD  EFAC LIST / SHI(-12,1024)
Shift the two-dimensional spectrum of EFAC.LIST -12 channels in x- and 1024 channels in y-direction.
AMOD  A LIST / CALIB(A)
In following displays of the one-dimensional spectrum A.LIST, the values of the x-axis are taken from the calibration A.CAL per default.
| GSI | Biophysics |
Last updated: M.Kraemer@gsi.de, 3-Aug-1999

Impressum Data privacy protection