______________________________________________________________________________ AD ADDSUB is a module which adds and/or subtracts maps within one SAD file and writes the result to the same or a different file. Adding and subtracting maps from one file is an operation which option AR cannot do. ______________________________________________________________________________ Enter an option: 7-NOV-2000 11:19:51.34 OPTION=AD ADDSUB, Version 2 Open the input file Enter the filename: (<CR> for default) FILE=SPECTRUM3 There are 5 maps in the file Reading from the file 16 rows of 1024 pixels in R4 format Open the output file NMAPS= 1 NPLNS= 1 NROWS= 16 NELS= 1024 Enter the filename: (<CR> for default) ! We could also write to FILE= ! a new file SPECTRUM3 Writing to an existing file There are 5 maps in the file Enter the map number: (default = one after the last map) MAP= 6 Creating new map 16 rows of 1024 pixels in R4 format Enter the map numbers of the maps to be added: (default = none) MAPS_ADDED=1 3 Enter their multipliers: (default = 1.0) ADD_FACTOR= 1.00000 1.00000 Enter the map numbers of the maps to be subtracted: (default = none) MAPS_SUBTRACTED=2 4 Enter their multipliers: (default = 1.0) SUBTRACT_FACTOR= 1.00000 1.00000 Enter an option: 7-NOV-2000 11:21:06.29 OPTION=PH ______________________________________________________________________________