acisparams.csh/pl CODE documentation
CODE storage:
- Configuration control location:
- /data/acis0/LoadReviews/cvs-repository/acis-backstop/
- Execution location:
- /data/acis0/LoadReviews/script/
- Execution Machine:
- Must be on a HEAD LAN machine (uses /pool1) if outfile not specified
Code Description:
There are two parts to acisparams. The c shell script will check
which PERL libraries are set and if they are PERL5LIB, then this
will be unset before calling acisparams.pl. PERL5LIB is reset
after acisparams.pl returns.
Acisparams.pl is the main code. It uses sybase calls to retrieve
information in the observation archive (OCAT) based on the obsid
number. The -o <outfile> option can be used BEFORE the
obsid to specify a different outfile location. Default location
is /pool1/<obsid>.ocat.
Items collected from the archive are:
- targname
- si_mode
- instrument
- grating
- approved_exposure_time
- y_det_offset
- z_det_offset
- acisid
- type
- rem_exp_time
- dither_flag
If dither_flag="Y", then the following parameters are collected:
- y_amp
- y_freq
- y_phase
- z_amp
- z_freq
- z_phase
If this is an acis item, the following parameters are collected:
- exp_mode
- standard_chips
- ccdi0_on
- ccdi1_on
- ccdi2_on
- ccdi3_on
- ccds0_on
- ccds1_on
- ccds2_on
- ccds3_on
- ccds4_on
- ccds5_on
- bep_pack
- onchip_sum
- onchip_row_count
- onchip_column_count
- frame_time
- subarray
- subarray_start_row
- subarray_row_count
- subarray_frame_time
- duty_cycle
- secondary_exp_count
- primary_exp_time
- secondary_exp_time
- eventfilter
- eventfilter_lower
- eventfilter_higher
- spwindow
- bias_request
- frequency
- bias_after
Then the items are placed in a human readable format and stored in the output
file.
Author:
Shanil Virani
return to last page
Last modified: Thu Apr 22 14:28:23 EDT 2004