ACIS Gain Trend

Description

This set of scripts extracts and computes acis gain, and plots the trends.

Location of Scripts and Their Names

Location: /data/mta/Script/ACIS/Gain/

GitHub Address: https://github.com/chandra-mta/MTA

acis_gain_wrap_script Mar 02, 2021
acis_gain_main_script Mar 03, 2021
acis_gain_wrap_script_test Mar 02, 2021
acis_gain_main_script_test Mar 02, 2021
acis_gain_extract_data.py Mar 03, 2021
acis_gain_plot_trend.py Mar 02, 2021
acis_gain_update_html.py Mar 02, 2021

Please read README file for more details. /data/mta/Script/ACIS/Gain/Script/README

Sep 16, 2014Initially logged
Sep 25, 2014Test function updated
Oct 06, 2014Date bug fixed
Jan 05, 2018arc4gl is replaced by arc5gl
May 22, 2018python environment setting changed
Mar 03, 2021python3.8 update

Data Needed

Environment Setting

Output Locations and File Names

How to Run the Script(s)

  1. go to: cd /data/mta/Script/ACIS/Gain/Exc
  2. run: /data/mta/Script/ACIS/Gain/Script/acis_gain_wrap_script

How to Run Test(s)

  1. go to: cd /data/mta/Script/ACIS/Gain/Exc
  2. run: /data/mta/Script/ACIS/Gain/Script/acis_gain_wrap_script_test

Expected result from the test

You will see something like the following:

mta@r2d2-v-511: /data/mta/Script/ACIS/Gain/Script/acis_gain_wrap_script_test
tput: unknown terminal "dummy"
..
----------------------------------------------------------------------
Ran 2 tests in 142.306s

OK

Cron Job

CPU: c3po-v
User: mta

11 3 3 * * cd /data/mta/Script/ACIS/Gain/Exc; /data/mta/Script/ACIS/Gain/Script/acis_gain_wrap_script >> $HOME/Logs/acis_gain.cron

Web Addreess

https://cxc.cfa.harvard.edu/mta_days/mta_acis_gain/acis_gain.html

Note

None

Future Plan/Update Schedule

Add automatic test capacity.


Back to Top Page