Skip to content

Commit

Permalink
Add support for HST ACS F555W and F606W filters and ACS example
Browse files Browse the repository at this point in the history
  • Loading branch information
talister committed Feb 8, 2024
1 parent 5885d41 commit e4b247a
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/etc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ class Conf(ConfigNamespace):
lco_fli_V_file = ConfigItem("comp/lco/LCO_ADNP-VX-001.csv", "LCO Astrodon V")
lco_fli_R_file = ConfigItem("comp/lco/LCO_ADNP-RS-001.csv", "LCO Astrodon R")
lco_fli_I_file = ConfigItem("comp/lco/LCO_ADNP-IC-001.csv", "LCO Astrodon I")
lco_fli_g_file = lco_g_file
lco_fli_r_file = lco_r_file
lco_fli_i_file = lco_i_file
lco_fli_zs_file = lco_zs_file
lco_fli_g_file = ConfigItem("comp/lco/SDSS.gp.txt", "LCO SDSS g")
lco_fli_r_file = ConfigItem("comp/lco/SDSS.rp.txt", "LCO SDSS r")
lco_fli_i_file = ConfigItem("comp/lco/SDSS.ip.txt", "LCO SDSS i")
lco_fli_zs_file = ConfigItem("comp/lco/PSTR-ZS-avg.txt", "LCO SDSS/PanSTARRS zs")
lco_exop_file = ConfigItem("comp/lco/LCO_ADNP-EP-001.txt", "Astrodon Exoplanet BB")

lco_UV_file = ConfigItem(
Expand Down Expand Up @@ -288,6 +288,16 @@ class Conf(ConfigNamespace):
"Gemini/GMOS-N ri",
)

hst_acs_wcs_f555w_file = ConfigItem(
"$PYSYN_CDBS/comp/acs/acs_f555w_wfc_006_syn.fits",
"HST ACS WFC F555W (V)",
)

hst_acs_wcs_f606w_file = ConfigItem(
"$PYSYN_CDBS/comp/acs/acs_f606w_wfc_008_syn.fits",
"HST ACS WFC F606W (I)",
)

optics_NaCl_file = ConfigItem("comp/optics/NaCl.dat", "NaCl")
optics_BAK2_file = ConfigItem("comp/optics/BAK2_glass.dat", "BAK2 glass")
optics_CaF2_file = ConfigItem("comp/optics/CaF2_glass.dat", "CaF2 glass")
Expand Down Expand Up @@ -405,6 +415,8 @@ class Conf(ConfigNamespace):
"Gemini::GMOS-N::i": gemini_gmosn_i_file,
"Gemini::GMOS-N::z": gemini_gmosn_z_file,
"Gemini::GMOS-N::ri": gemini_gmosn_ri_file,
"HST::ACS::WFC::F555W": hst_acs_wcs_f555w_file,
"HST::ACS::WFC::F606W": hst_acs_wcs_f606w_file,
"NaCl": optics_NaCl_file,
"UVFS": optics_UVFS_file,
"CaF2": optics_CaF2_file,
Expand Down
36 changes: 36 additions & 0 deletions src/etc/data/HST_ACS_WFC.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[site]
name = "Orbit"
altitude = 525
altitude_units = "km"
transmission = 1.0
[site.sky_mag]
U = 22.3
B = 22.50
V = 21.66
R = 21.19
I = 20.79

[telescope]
name = "HST"
size = 2.4
area = 4.52389342
num_mirrors = 1 # file below includes whole OTA
reflectivity = "$PYSYN_CDBS/comp/ota/hst_ota_007_syn.fits"

[instrument]
name = "ACS"
inst_type = "Imager"
trans_components = "$PYSYN_CDBS/comp/acs/acs_wfc_im123_004_syn.fits,$PYSYN_CDBS/comp/acs/acs_wfc_ebe_win12f_005_syn.fits"
fwhm = 0.2 #
fwhm_units = "arcsec"
focal_scale = 3.26666667 #
focal_scale_units = "arcsec/mm"
filterlist = ['HST::ACS::WFC::F555W', 'HST::ACS::WFC::F606W']
ccd_qe = "$PYSYN_CDBS/comp/acs/acs_wfc_ccd1_028_syn.fits"
ccd_readnoise = 4.7 # electrons (SITe chips)
ccd_gain = 2.0 # electrons/ADU
ccd_xpixels = 2048
ccd_ypixels = 4096
ccd_pixsize = 15.0 # microns
ccd_darkcurrent = 0.0161
ccd_darkcurrent_units = "ph/pixel/s"

0 comments on commit e4b247a

Please sign in to comment.