Gratings
Description
Update MTA gratings related web page: Angles, Zeroth order, Focus, and E/dE.
Location of Scripts and Their Names
Location: | data/mta/Script/Grating/Grating_HAK/Scripts |
GitHub Address: ?????
Script Name | Last Updated |
Angles/Scripts | |
update_grating_angle_data_lists.py | Mar 09, 2021 |
plot_grating_angles.py | Mar 09, 2021 |
Focus/Scripts | |
update_grating_focus_data_lists.py | Mar 09, 2021 |
plot_grating_fucus.py | Mar 09, 2021 |
Grating_EdE/Scripts | |
extract_grating_ede.py | Mar 09, 2021 |
create_ede_plots.py | Mar 09, 2021 |
Grating_HAK/Scripts | |
run_grating_wrap_script | Mar 09, 2021 |
run_grating_main_script | Mar 09, 2021 |
run_grating.py | Mar 09, 2021 |
update_top_gratings_html_page.py | Mar 09, 2021 |
Grating_HAK/hak_1.4 | |
This is a HAK package copied from /home/mta/Gratings/hak_1.4 |
Zero/Scripts | |
update_grating_zero_order_data_lists.py | Mar 09, 2021 |
plot_grating_zero_orders.py | Mar 09, 2021 |
Grating_DB | | |
update_grating_db.py | Mar 09, 2021 |
Please read
- ./Angles/Scripts/README
- ./Focus/Scripts/README
- ./Grating_EdE/Scripts/README
- ./Grating_HKA/Scripts/README
- ./Grating_HKA/hak_1.4/README.txt
- ./Zero/Scripts/README
- ./Grating_DB/Scripts/README
files for more details.
Note: Although EdE_trend is also the part of the analysis, it is run separately as it takes a longer
computation time. Please see:
EdE Trend Page.
Sep 28, 2014 | Initially logged |
Sep 29, 2014 | Description updated |
Nov 19, 2014 | Focus related scripts update |
Nov 19, 2014 | updated run_grating.py to work a few times a month |
Apr 04, 2018 | A major updates. Combined gratings page to a single web page. |
Jul 13, 2018 | Angles related scripts updated and moved. |
|
Jul 19, 2018
Reorganized the grating related scripts. Replaced most idl/perl by python |
Jul 23, 2018 | A minor bug (chgrp) fixed |
Jan 02, 2019 | A bug about a directory name fixed (in template) |
Aug 29, 2019 | Python3.6 update |
Mar 09, 2021 | Python3.8 update |
Data Needed
- Data are extracted from archive with arc5gl:
- dataset = flight
- detector = (hrc/acis)
- level = 1.5
- This will extract:
- *_src1a.fits
- *_evt1a.fits
Environment Setting
-
setenv PYTHONPATH "/data/mta/Script/Python3.6/envs/ska3/lib/python3.6/site-packages:/data/mta/Script/Python3.6/lib/python3.6/site-packages/"
Output Locations and File Names
-
/data/mta_www/mta_grat/Grating_Data/
- obslist
- gratdata.db
- grating_list_year<year>.html
- grating_list_past_six_month.html
- /<obsid>/<HAK analysis results of <obsid>
These resluts will be used by other scripts to create trendings.
-
/data/mta/Scripts/Grating/Angles/Data
/data/mta_www/mta_grat/Angles/
- heg_all_angle.png
- meg_all_angle.png
- leg_all_angle.png
-
/data/mta/Script/Grating/Zero/Data/
- acis_hetg
- acis_letg
- hrc_letg
-
/data/mta/Script/Grating/Grating_EdE/Data/
- hegm1_data
- hegp1_data
- megm1_data
- megp1_data
- legmall_data
- legpall_data
-
/data/mta_www/mta_grat/EdE/Plots/
- heg_m_<syear>_<eyear>.png
- heg_p_<syear>_<eyear>.png
- meg_m_<syear>_<eyear>.png
- meg_p_<syear>_<eyear>.png
- leg_m_<syear>_<eyear>.png
- leg_p_<syear>_<eyear>.png
-
/data/mta_www/mta_grat/Zero/
- acis_hetg_chip_x_zero_order.png
- acis_hetg_chip_y_zero_order.png
- acis_letg_chip_x_zero_order.png
- acis_letg_chip_y_zero_order.png
- acis_hetg_sky_x_zero_order.png
- acis_hetg_sky_y_zero_order.png
- acis_letg_sky_x_zero_order.png
- acis_letg_sky_y_zero_order.png
- hrc_hetg_chip_x_zero_order.png
- hrc_hetg_chip_y_zero_order.png
- hrc_letg_chip_x_zero_order.png
- hrc_letg_chip_y_zero_order.png
- hrc_hetg_sky_x_zero_order.png
- hrc_hetg_sky_y_zero_order.png
- hrc_letg_sky_x_zero_order.png
- hrc_letg_sky_y_zero_order.png
-
/data/mta/Script/Grating/Focus/Data
- acis_hetg
- acis_letg
- hrc_letg
-
/data/mta_www/mta_grat/Focus/Plots/
- acis_hetg_ax_lrf_focus.png
- acis_hetg_streak_lrf_focus.png
- acis_letg_ax_lrf_focus.png
- acis_letg_streak_lrf_focus.png
- hrc_letg_ax_lrf_focus.png
- hrc_letg_streak_lrf_focus.png
How to Run the Script(s)
- go to: cd /data/mta/Grating/Grating_HAK/Exc
- run: /data/mta/Script/Grating/Grating_HAK/Scripts/run_grating_wrap_script
How to Run Test(s)
-
No test is available for this set of scripts.
Expected result from the test
test results -- test results -- test results
Cron Job
-
32 2 3,13,23 * * cd /data/mta/Script/Grating/Grating_HAK/Exc; /data/mta/Script/Grating/Grating_HAK/Scripts/run_grating_wrap_script >> $HOME/Logs/run_grating.cron
Web Addreess
Note
None
Future Plan/Update Schedule
Find a newer version HAK package
Back to Top Page