acis-backstop.pl CODE documentation

CODE storage:
Configuration control location:
/data/acis/LoadReviews/cvs-repository/acis-backstop
Execution location:
/data/acis/LoadReviews/script/acis-backstop.pl
Execution Machine:
prefer Rhodes, but acceptable on and HEAD-LAN machine
Code Description:
This perl script will take as command line arguments the path and name of the BACKSTOP file created for a given load AND the ACIS-History.txt file from the last successful load. This script then produces three ACIS ASCII text files that contains only ACIS commands and other peripheral commands (ie, radmon disable/enable, gratings insertion/retraction, obsid changes, TLM format changes, electon/proton radzone entries/exits, perigee/apogee, SIM translations, SIM focus, and COMM passes). The file is time-ordered and has low level intelligence built into the code. The two other files this script produces is ACIS-Observations.txt and ACIS-History.txt. The latter simply outputs the Chandra status array at the end of the load. If that version of a load is approved, then this file becomes the input for the following week's load review and so on. ACIS-Observations simply tabulates ACIS SCIENCE observations (ie not CTI measurements or ACIS NIL ERs) with the corresponding OBSID, start science, stop science, and total integration time.

EXTRA DOCUMENTATION FOR REWRITES

A major rewrite of the tool occured in 2007 where the changes were documented in the file acis-backstop-changes.pdf.

A second major rewrite of this tool occured in 2011/2012 to support the Science Only Safing Action (SOSA). Information and discussion on the SOSA design can be found on the ACIS Ops Twiki.

Parameter checks The script will also check certain parameters from the OCAT and compare them to the parameter block. Items checks are:

  1. Exposure Mode
  2. Event Telemetry
  3. Frame Time
  4. Subarrys- including custom and preset(1/2, 1/4, 1/8)
  5. Duty Cycle
  6. OnChip Summing
  7. Event Energy Filters
  8. CCDs requested vs WSPOW command
The instrument state is also compared against the requested values in OCAT:
  1. Inserted Grating vs OCAT setting
  2. SIM-Z offset
  3. SIM-Z aimpoint

The TESTS this code performs can be categorized into the following 3 groups:

  1. SIM and radiation zone tests
  2. ACIS tests
Calculations done within the code Official Checklist:
The official checklist is what is reported to the load review board. The latest version is from Aug 2012 and is found in memos/cl-acis.html.

Author:
Shanil Virani


return to last page
Last modified: Thu Feb 28 12:12:18 EST 2013