rithwiks commited on
Commit
97e6f15
1 Parent(s): ef312f6

Added details to HST data pulling

Browse files
Files changed (1) hide show
  1. utils/pull_hubble_csv.py +30 -0
utils/pull_hubble_csv.py CHANGED
@@ -3,6 +3,36 @@ from astroquery.mast.missions import MastMissions
3
  """
4
  Used to pull the list of observations that fit our filter criteria from
5
  online Hubble archives. See all filter details in the function call below.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  """
7
 
8
  missions = MastMissions(mission='hst')
 
3
  """
4
  Used to pull the list of observations that fit our filter criteria from
5
  online Hubble archives. See all filter details in the function call below.
6
+
7
+ sci_spec_1234='F606W,F606W;*,*;F606W,*;F606W;*'
8
+
9
+ We are only pulling observations which have used the F606W filter, which is one of the most commonly used ACS filters.
10
+ We need the regex strings because observations that used multiple filters will include all filters in a list.
11
+ Documented at https://etc.stsci.edu/etcstatic/users_guide/appendix_b_acs.html
12
+
13
+ sci_aec='S'
14
+
15
+ This value denotes that we are searching only for science observations, not observations that were done in order to
16
+ calibrate various parts of the instrument or imaging process.
17
+
18
+ sci_instrume='acs'
19
+ sci_instrument_config='ACS/WFC'
20
+
21
+ Here, we define that we want data from the ACS/WFC instrument.
22
+
23
+ sci_expflag='NORMAL'
24
+
25
+ This is a quality flag, ensuring that no quality issues were flagged for this observation.
26
+
27
+ sci_actual_duration='>300'
28
+
29
+ We require the minimum total observation duration to be at least 300 seconds, to remove any faulty observations
30
+ that may have ended after a short period of time and to further narrow the distribution of data away from edge cases.
31
+
32
+ sci_aper_1234='WFC,WFC1,WFC2,WFCENTER'
33
+
34
+ We require that the aperture be one of the standard apertures, documented at
35
+ https://hst-docs.stsci.edu/acsihb/chapter-7-observing-techniques/7-7-acs-apertures
36
  """
37
 
38
  missions = MastMissions(mission='hst')