MIPS-110 IOC Task Cookbook:
MIPS On-board Data Processing - 24 µm Slope Fitting
Principal: Deborah Padgett
Deputy: Susan Stolovy, Dave Frayer
Data Monkey(s):
Priority: Critical
Downlink Priority: Normal
Analysis Time: 5 hours
Last
Updated: Fri Aug 15, 2003, 09:41:16
Objective
Confirm that linear regression slope fits to 24 µm array data are
calculated correctly
Description
This task is the first of the two which test the on-board MIPS data processing
algorithms: Si:As ramp slope fitting and Ge image coaddition. The data
taken in this task are collected by an IER tested on the ground. The Si
stimulator will be observed in each of the 4, 10, and 30 second exposure
modes. The observing pattern needs to be executed both using the "RAW"
data mode where all 24um readout samples are sent to the ground and the
normal "SUR" mode where only the linear regression of the ramp slope is
returned.
Data Collected
The data consist of identical sequences of DCEs collected in both CEMIPSRAW
and CEMIPSUR observing modes. Twenty DCEs are collected for each of the
following exposure times: 4 s, 10 s, and 30 s. Generates 120 MIPS 24 µm
DCEs (360 Si:As + Ge:Ga DCEs). Uses m110_ier.exp.
Mirror is pointed to 24um dark position (posindex 101).
// EXP_WRITER_VERSION=630
// ****************************************************************************
//
// Creation Date: Fri Aug 15 14:48:23 PDT 2003 [ 2003-227T21:48:23.622 GMT ]
//
// Expansion File: /epi02/ioc/m110/mips_ier110D2.exp
//
//
// ****************************************************************************
//
//
// Keyword Section
//
IERID 0x000000000000 // IER Identifier
IERType MIPS // Type of IET
IERVersion 7.5.1 Final // Spotier Version
IERTitle 'mips_ier110' // Title of IER
Target 'mips_ier110D2-DrkCVZ(1)' // Target Name
IERTargetType Fixed // Target type of IER
Ra 17:15:50.00 // Target RA
Dec +65:25:25.400 // Target DEC
NaifId // NaifId for this IER
TotalExposureTime 1839.17424 // seconds
TotalExecutionTime 1973.0999999999997 // seconds
TotalSlewTime 0.0 // seconds
TotalSettlingTime 0.0 // seconds
Slew Tax 0.0 // seconds
Special Overhead 0.0 // seconds
TotalUplinkLoad 494 // bytes
TotalCommandStorageLoad 198 // bytes
TotalStringStorageLoad 156 // bytes
TotalNumberOfInstructions 40 // Instruction count
TotalDownlinkLoad 62033512 // bytes
CommandDCE 120 // Number of DCEs commanded
TotalDCE 360 // Number of DCEs in database
VisibilityRadius 0.0 // Visibility radius for this IER
Expedited 'false' // Expedited for downlink processing
StartTime 2003-149T03:02:30.000 // StartTime for this IER
BodyStartTime 2003-149T03:02:30.000 // BodyStartTime for this IER
Author 'A.Noriega-Crespo' // Name of IER author
Version '3.2 MIPS-110' // Version number (set by Author)
Purpose '24um_linearity; stim-on@ 4secDCE' // Purpose of this IER
Notes 'DMK+DLP+ANC concept' // General notes
//
// Expansion Section
//
00:00:00.000 START // Meta command indicates start of expansion
00:00:00.000 VML_EVAL // Place holder for VML EVAL construct
GV_ACTIVE_AORID_FLAGS // global variable name
0x0000 // value or expression
00:00:00.100 VML_EVAL // Place holder for VML EVAL construct
GV_ACTIVE_AORID_KEY // global variable name
0x00000000 // value or expression
00:00:00.200 VML_EVAL // Place holder for VML EVAL construct
GV_AOR_START_TIME // global variable name
NOW // value or expression
00:00:00.300 INITIAL_SLEW_FIXED // BLOCK: SSC slew to fixed science target
99 // FOVNUM
932250000 // RA
235525400 // DEC
0 // RCA
0 // DELTA_EAST
0 // DELTA_NORTH
0 // DELTA_V
0 // DELTA_W
4 // EXPOSURE_LENGTH
200 // SIGMA
0.0 // PCRS_DET_SETTLE_TIME_1
// SLEW MODEL: delT - 0.30000000000000004
// SLEW MODEL: raUC - 932250000
// SLEW MODEL: decUC - 235525400
// SLEW MODEL: pmRa - 0.0
// SLEW MODEL: pmDec - 0.0
// SLEW MODEL: startTime - 2003-149T03:02:30.000
// COMMENT: start w/mobs_photo
00:00:08.400 MIPS_MOBS_PHOTO // BLOCK: SSC change MIPS state from observe to photo
0x003c99a0 // OPERCESTATE
// COMMENT: Set up the instrument for imaging
// COMMENT: move csmm to 24um Dark position
00:00:13.600 CESCANPOS //
101 // posindex
'MIPS' // csmode
00:00:15.600 CEGERSTCON //
10 // ge160rst : 4 Ge frames
20 // ge70rst : 4 Ge frames
4 // rstdelay : 1 Ge frame
'MIPS' // csmode
00:00:16.600 CESCANCON //
'CHOP' // scanmode
'FWD' // rampdir
0 // scanpos2 : 18.901 arcsec
2048 // relpos1 : 2.3626 arcsec
2048 // relpos2 : 2.3626 arcsec
0 // stepoffset : 2.3626 arcsec
511 // rampslope : 0.1 msec/2.3626 arcsec
'MIPS' // csmode
00:00:17.600 CEGESTIM //
'AUTO' // stim_mode
63 // stimcycle : DCEs
'BOTHOFF' // ge160fld
'BOTHOFF' // ge70fld
'BOTHOFF' // ge70flat
10 // ge160dur : Two Ge Frames
10 // ge70dur : Two Ge Frames
'MIPS' // csmode
// COMMENT: turn-on Si Stims for 4sec data
00:00:18.600 CESISTIM //
'MIPSFLD' // state
'LOW' // level
'MIPS' // csmode
// COMMENT: take 20DCEs 4sec SUR
00:00:19.600 CEMIPSUR //
0x0000 // aorid_flags
0x00000000 // aorid_key
0 // expid
'NO_COADD' // coadd
3 // framenum
20 // numdce : DCEs
'MIPS' // csmode
// EXPOSURE_INFO: Exposure_Type = 'l1'
// COMMENT: take 20DCEs 4sec RAW
00:01:59.600 CEMIPSRAW //
0x0000 // aorid_flags
0x00000000 // aorid_key
1 // expid
'NO_COADD' // coadd
2 // framecnt : Four Si Frames
20 // numdce : DCEs
'MIPS' // csmode
// EXPOSURE_INFO: Exposure_Type = 'l1'
// COMMENT: Si stims off
00:03:39.600 CESISTIM //
'ALLOFF' // state
'LOW' // level
'MIPS' // csmode
// COMMENT: take 20DCEs 10sec SUR
00:03:40.600 CEMIPSUR //
0x0000 // aorid_flags
0x00000000 // aorid_key
2 // expid
'NO_COADD' // coadd
9 // framenum
20 // numdce : DCEs
'MIPS' // csmode
// EXPOSURE_INFO: Exposure_Type = 'l1'
// COMMENT: take 20DCEs 10sec RAW
00:07:26.600 CEMIPSRAW //
0x0000 // aorid_flags
0x00000000 // aorid_key
3 // expid
'NO_COADD' // coadd
5 // framecnt : Four Si Frames
20 // numdce : DCEs
'MIPS' // csmode
// EXPOSURE_INFO: Exposure_Type = 'l1'
// COMMENT: take 20DCEs 30sec SUR
00:11:12.600 CEMIPSUR //
0x0000 // aorid_flags
0x00000000 // aorid_key
4 // expid
'NO_COADD' // coadd
29 // framenum
20 // numdce : DCEs
'MIPS' // csmode
// EXPOSURE_INFO: Exposure_Type = 'l1'
// COMMENT: take 20DCEs 30sec RAW
00:21:57.600 CEMIPSRAW //
0x0000 // aorid_flags
0x00000000 // aorid_key
5 // expid
'NO_COADD' // coadd
15 // framecnt : Four Si Frames
20 // numdce : DCEs
'MIPS' // csmode
// EXPOSURE_INFO: Exposure_Type = 'l1'
// COMMENT: end IER w/backto_mobs
00:32:42.600 MIPS_BACKTO_MOBS // BLOCK: SSC change MIPS state back to MIPS observe
0x003c99a0 // OPERCESTATE
00:32:52.800 VML_EVAL // Place holder for VML EVAL construct
GV_ACTIVE_AORID_FLAGS // global variable name
0x0000 // value or expression
00:32:52.900 VML_EVAL // Place holder for VML EVAL construct
GV_ACTIVE_AORID_KEY // global variable name
0x00000000 // value or expression
00:32:53.000 VML_EVAL // Place holder for VML EVAL construct
GV_AOR_END_TIME // global variable name
NOW // value or expression
00:32:53.100 END // Meta command indicates end of expansion
Array Data Desired:
24 µm
Data Reformatting Option:
-
NORMAL
1 FITS file per AOR per array.
Special Instructions:
Task Dependencies
-
None - depends only on the array's lack of saturation
Calibration Dependencies
-
None - slope calculation from RAW images must mimic on-board slope
calculation
Output and Deliverable Products
Deliverable products will be slope calcuation for RAW images which mimics
on-board slope calculation. Data analysis will compare statistics of identical
SUR and RAW slope images.
Data Analysis
Slopes and differences must be calculated from the RAW data ramps using
the DAT "sloper" (or program written by F. Masci). After slopes are obtained,
statistics will be obtained on the array data using IRAF "imarith". A pixel
by pixel comparison of slopes and differences will be done using the same
package. Visualization done using "FV" or IDL/"ATV"
Software Requirements
-
DAT - "sloper"
-
"slope" - F. Masci
-
IRAF/"imarith"
-
"fv" - Goddard "lheasoft" package
Actions Following Analysis
Confirm that ground slope calculation matches on-board results. If it does,
IOC proceeds with no action.
Failure Modes and Responses
Most likely failure mode of task is saturation of the 24 µm stimulator.
If this occurs, the test should be repeated after a patchable constant
change to dim the stim. If there is a failure of the MIPS "flat" stim,
the task can be done at lower efficiency with the "flood" stim, although
saturation is inevitable.If ground slope calculation does not match on-board
results, then the flight code will have to be examined, the bug corrected,
and a new flight software image uploaded. The Si algorithm is crucial to
the MIPS data-taking strategy. If it fails, a backup strategy would severely
limit the amount of 24 micron data which can be obtained during one observation.
This might well obviate the Scan AOT.
Additional Notes
High telescope background in campaign D2 will probably
cause the 10 s exposures to be saturated when the stim is on if the
mirror is pointing to the sky. This is why we changed
posindex to 101 (24um dark position). The
30 s exposures are already saturated in ground testing,
but these RAW data are useful for calibrating linearity. Frank's
"slope" program gave the wrong answers in 2003 testing,
so it needs to be fixed now.