Debian Codegraph @

doc/source/appendixb.rst

raw
1 .. _pysynphot-appendixb:
2
3 ****************************
4 Appendix B: OBSMODE Keywords
5 ****************************
6
7 In this section, we describe the keywords available for
8 :ref:`pysynphot-obsmode-bandpass`. **pysynphot** supports
9 :ref:`science instruments currently installed on HST <pysynphot-appendixb-inflight>`
10 as of Servicing Mission 4 (SM4) performed in May 2009,
11 :ref:`legacy HST instruments <pysynphot-appendixb-legacy>`, and
12 :ref:`non-HST filter systems <pysynphot-appendixb-nonhst>`.
13 :ref:`Cross-instrument keywords <pysynphot-appendixb-special-keywords>` are
14 also listed.
15
16 In all the following tables, the |mjd_par| keyword is used to account for
17 time-dependent sensitivity, while the ADC (Analog-to-Digital Converter) gain
18 keyword is used to convert flux unit from electrons to data number (DN).
19 The keywords are also further explained in the
20 following sections. More instrument-specific details
21 can be obtained from their respective Instrument Handbooks.
22
23 The complete list of allowed component names that represent the
24 telescope (:ref:`pysynphot-ota`), Corrective Optics Space Telescope Axial
25 Replacement (:ref:`pysynphot-costar`), and science instruments is as tabulated
26 below:
27
28 +-----------+-----------------------------------------------------------------+
29 |Description|Keywords |
30 +===========+=================================================================+
31 |Telescope |ota noota |
32 +-----------+-----------------------------------------------------------------+
33 |COSTAR |costar nocostar |
34 +-----------+-----------------------------------------------------------------+
35 |Instrument |acs cos fgs foc fos hrs hsp nicmos pc stis wf wfc wfc3 wfpc wfpc2|
36 +-----------+-----------------------------------------------------------------+
37
38 As of September 1993, the default modes for the telescope and COSTAR components
39 are ``ota`` and ``nocostar``, respectively. Soon after COSTAR was installed in
40 the telescope, the default mode was changed to ``costar`` for original
41 instruments. Once the second-generation instruments were installed, with their
42 built-in optical corrections, the default mode for ``costar`` or ``nocostar``
43 became instrument-specific. Note that for the :ref:`pysynphot-appendixb-wfpc1`
44 instrument, the names ``wf``, ``wfc``, and ``wfpc`` are all equivalent and
45 correspond to the Wide Field Camera.
46
47 .. |acs_ramp| replace:: :ref:`Ramp filter <pysynphot_acs_parameterized_ramp>`
48 .. |aper_par| replace:: :ref:`EE radius <pysynphot-parameterized-aper>`
49 .. |cont_par| replace:: :ref:`Decontamination <pysynphot-parameterized-contamination>`
50 .. |mjd_par| replace:: :ref:`pysynphot-parameterized-mjd`
51 .. |nic_therm| replace:: :ref:`Thermal component <pysynphot-parameterized-temperature>`
52 .. |wfc3_bkg| replace:: :ref:`Background calculation <pysynphot-parameterized-temperature>`
53 .. |wfc3_qyc| replace:: :ref:`Quantum yield correction <pysynphot-wfc3-qyc>`
54 .. |wfpc2_lrf| replace:: :ref:`lrf# <pysynphot-wfpc2-ramp>`
55 .. |wfpc2_quad| replace:: :ref:`fquvn fquvn33 fqch4n fqch4n33 fqch4n15 fqch4p15 polq polq_par polq_perp polqn33 polqn18 polqp15 <pysynphot-wfpc2-quad>`
56
57
58 .. _pysynphot-appendixb-inflight:
59
60 In-Flight Instruments
61 =====================
62
63 This section contains science instruments that are currently installed on HST.
64
65
66 .. _pysynphot-appendixb-acs:
67
68 ACS
69 ---
70
71 .. note:: HRC is currently not operational.
72
73 The ACS keywords consist of a list of detectors, filters,
74 :ref:`extraction apertures <pysynphot-parameterized-aper>`, and
75 |mjd_par| specifications. For example:
76
77 >>> bp = S.ObsBandpass('acs,wfc1,f555w')
78
79 +---------------+-----------------------------------------------------------------+
80 |Description |Keywords |
81 +===============+=================================================================+
82 |Detector |hrc sbc wfc1 wfc2 |
83 +-----------+---+-----------------------------------------------------------------+
84 |Filter |HRC|f220w f250w f330w f344n f435w f475w f502n f550m f555w f606w f625w|
85 | | |f658n f660n f775w f814w f850lp f892n pol_uv pol_v |
86 | +---+-----------------------------------------------------------------+
87 | |WFC|f435w f475w f502n f550m f555w f606w f625w f658n f660n f775w f814w|
88 | | |f850lp f892n pol_uv pol_v |
89 | +---+-----------------------------------------------------------------+
90 | |SBC|f115lp f125lp f140lp f150lp f165lp f122m |
91 +-----------+---+-----------------------------------------------------------------+
92 ||acs_ramp| |HRC|fr388n fr459m fr505n fr656n fr914m |
93 | +---+-----------------------------------------------------------------+
94 | |WFC|fr1016n fr388n fr423n fr459m fr462n fr505n fr551n fr601n fr647m |
95 | | |fr656n fr716n fr782n fr853n fr914m fr931n |
96 +-----------+---+-----------------------------------------------------------------+
97 |Disperser |HRC|g800l pr200l |
98 | +---+-----------------------------------------------------------------+
99 | |WFC|g800l |
100 | +---+-----------------------------------------------------------------+
101 | |SBC|pr110l pr130l |
102 +-----------+---+-----------------------------------------------------------------+
103 ||aper_par| |aper#0.0 aper#0.1 aper#0.2 aper#0.3 aper#0.4 aper#0.5 aper#0.6 |
104 | |aper#0.8 aper#1.0 aper#1.5 aper#2.0 aper#4.0 |
105 +---------------+-----------------------------------------------------------------+
106 ||mjd_par| |mjd# |
107 +---------------+-----------------------------------------------------------------+
108 |Coronographic |coron |
109 |(HRC only) | |
110 +---------------+-----------------------------------------------------------------+
111
112
113 .. _pysynphot_acs_parameterized_ramp:
114
115 Ramp Filter
116 ^^^^^^^^^^^
117
118 The WFC detector has 15 ramp filters available for use, while the HRC has 6.
119 To use a ramp filter in simulations, use the keyword syntax
120 ``filtername#cenwave``, where ``filtername`` is the name of the ramp filter
121 and ``cenwave`` the desired central wavelength in Angstroms.
122 Also see :ref:`pysynphot-parameterized` for more information. For example:
123
124 >>> bp = S.ObsBandpass('acs,wfc1,fr388n#3880')
125
126
127 .. _pysynphot-appendixb-cos:
128
129 COS
130 ---
131
132 The COS keywords consist of a list of detectors, apertures,
133 mirrors, gratings, central wavelengths, and |mjd_par| specifications.
134
135 FUV spectral simulations are performed by specifying one of the FUV gratings
136 along with a central wavelength. NUV spectral simulations are
137 performed by specifying one of the NUV gratings along with a
138 central wavelength. In both cases, only first-order light is
139 included in the calculation, and the resulting spectrum will
140 include all three stripes on the detector.
141
142 Imaging simulations are performed by specifying one of the mirrors
143 (``mirrorb`` for bright objects) with the NUV detector.
144
145 Either the Primary Science Aperture (``psa``) or the Bright Object
146 Aperture (``boa``) may be specified with any simulation; the Primary
147 Science Aperture will be included by default if neither is specified.
148
149 For example:
150
151 >>> bp = S.ObsBandpass('cos,nuv,g185m,c1786')
152
153 +----------------+------------------------------------+
154 |Description |Keywords |
155 +================+====================================+
156 |Detector |fuv nuv |
157 +----------------+------------------------------------+
158 |Aperture |boa psa |
159 +----------------+------------------------------------+
160 |Mirror |mirrora mirrorb |
161 +----------+-----+------------------------------------+
162 |Grating |FUV |g130m g140l g160m |
163 | +-----+------------------------------------+
164 | |NUV |g185m g225m g230l g285m |
165 +----------+-----+------------------------------------+
166 |Central |g130m|c1291 c1300 c1309 c1318 c1327 |
167 |wavelength+-----+------------------------------------+
168 | |g140l|c1105 c1230 |
169 | +-----+------------------------------------+
170 | |g160m|c1577 c1589 c1600 c1611 c1623 |
171 | +-----+------------------------------------+
172 | |g185m|c1786 c1817 c1835 c1850 c1864 c1882 |
173 | | |c1890 c1900 c1913 c1921 c1941 c1953 |
174 | | |c1971 c1986 c2010 |
175 | +-----+------------------------------------+
176 | |g225m|c2186 c2217 c2233 c2250 c2268 c2283 |
177 | | |c2306 c2325 c2339 c2357 c2373 c2390 |
178 | | |c2410 |
179 | +-----+------------------------------------+
180 | |g230l|c2635 c2950 c3000 c3360 |
181 | +-----+------------------------------------+
182 | |g285m|c2617 c2637 c2657 c2676 c2695 c2709 |
183 | | |c2719 c2739 c2850 c2952 c2979 c2996 |
184 | | |c3018 c3035 c3057 c3074 c3094 |
185 +----------+-----+------------------------------------+
186 ||mjd_par| |mjd# |
187 +----------+-----+------------------------------------+
188
189
190 .. _pysynphot-appendixb-fgs:
191
192 FGS
193 ---
194
195 The FGS instrument keywords consist of a list of filters plus a coordinate axis.
196 Some of the filter names are aliases for other filters. For instance,
197 ``astroclear`` is an alias for F605W, ``clear`` for F583W, ``red`` for
198 F650W, and ``yellow`` for 550W. For example:
199
200 >>> bp = S.ObsBandpass('fgs,f583w,y')
201
202 +-----------+-----------------------------------------------------------+
203 |Description|Keywords |
204 +===========+===========================================================+
205 |Filter |f550w (yellow) f583w (clear) f605w (astroclear) f650w (red)|
206 | |nd5 pupil |
207 +-----------+-----------------------------------------------------------+
208 |Axis |x y |
209 +-----------+-----------------------------------------------------------+
210
211
212 .. _pysynphot-appendixb-nicmos:
213
214 NICMOS
215 ------
216
217 .. note:: NICMOS is currently not operational.
218
219 The NICMOS keywords consist of a list of filters, grisms, polarizers, and
220 detectors.
221
222 Both the filter name and camera number are required in the observation mode.
223 The detector keyword ``tacq`` is another way to specify Detector 2.
224 For thermal calculations, all component keywords, except the detector, may be
225 :ref:`parameterized for temperature <pysynphot-parameterized-temperature>`.
226
227 For example:
228
229 >>> bp = S.ObsBandpass('nicmos,1,f090m,dn,primary#270')
230
231 +-----------------+-----------------------------------------------------------------+
232 |Description |Keywords |
233 +=================+=================================================================+
234 |Detector |1 2 3 tacq |
235 +------+----------+-----------------------------------------------------------------+
236 |Filter|Detector 1|blank f090m f095n f097n f108n f110m f110w f113n f140w f145m f160w|
237 | | |f164n f165m f166n f170m f187n f190n pol0s pol120s pol240s |
238 | +----------+-----------------------------------------------------------------+
239 | |Detector 2|blank f100w f160w f165m f171m f180m f187n f187w f190n f204m f205w|
240 | +----------+f207m f212n f215n f216n f222m f237m pol0l pol120l pol240l |
241 | |tacq | |
242 | +----------+-----------------------------------------------------------------+
243 | |Detector 3|blank f108n f110w f113n f150w f160w f164n f166n f175w f187n f190n|
244 | | |f196n f200n f212n f215n f222m f240m g096 g141 g206 |
245 +------+----------+-----------------------------------------------------------------+
246 |ADC gain |dn |
247 +-----------------+-----------------------------------------------------------------+
248 ||nic_therm| |spider primary pads hole sec edge bend1 reimag pupil image para1 |
249 | |para2 bend dewar cmask dqe |
250 +-----------------+-----------------------------------------------------------------+
251
252
253 .. _pysynphot-appendixb-stis:
254
255 STIS
256 ----
257
258 The STIS keywords consist of filters, apertures, gratings, central wavelengths,
259 and ADC gains.
260
261 In the STIS instrument, imaging mirrors and gratings are contained in the
262 Mode Select Mechanism (MSM) while filters and slits are in the aperture wheel.
263 Each grating or imaging mirror can be used with only one of the 3 STIS
264 detectors (CCD, NUVMAMA, or FUVMAMA); Therefore, specifying the grating
265 automatically determines the detector.
266
267 Each central wavelength is intended for use with a particular grating.
268 See the STIS Instrument Handbook for a listing of which central wavelengths are
269 allowed with each grating. The low order gratings (G140L, G230L, G230LB, G430L,
270 and G750L) have only one allowed setting; Thus, central wavelength should not be
271 specified for those. If no central wavelength is specified,
272 results will be calculated for the entire bandpass of the grating.
273
274 In principle, any filter or slit (aperture) could be used with any grating or
275 mirror, although in practice, certain combinations are restricted or forbidden.
276 Since the slits and filters are in the same wheel, it is not possible to use
277 both a slit and a filter at the same time. Some small slits also contain
278 built-in neutral density filters.
279 In addition to the aperture names listed, those used for HST Phase 2 proposals
280 are also acceptable. For example, the ``52X0.05`` is equivalent to ``s52x005``
281 listed in the table below.
282 If no aperture or filter is specified, the calculation is done for the "clear"
283 aperture.
284
285 The |mjd_par| keyword only applies to FUV and NUV MAMAs.
286 The ADC gain keyword only applies to CCD; It is used to convert results from
287 units of electrons to DN.
288
289 These ``obsmode`` strings are all equivalent, with 50CCD being the unobstructed
290 full-field aperture for the CCD detector:
291
292 >>> bp = S.ObsBandpass('stis,g430l')
293 >>> bp = S.ObsBandpass('stis,ccd,g430l')
294 >>> bp = S.ObsBandpass('stis,ccd,g430l,50ccd')
295
296 This assumes that an imaging mirror is being used because the detector name is
297 specified without a grating:
298
299 >>> bp = S.ObsBandpass('stis,ccd,f28x50lp')
300
301 This will calculate results for the entire bandpass of the instrument because
302 no central wavelength is specified:
303
304 >>> bp = S.ObsBandpass('stis,ccd,g430m,52X0.2')
305
306 This will only calculate results for the wavelength range covered by the
307 specified wavelength setting:
308
309 >>> bp = S.ObsBandpass('stis,ccd,g430m,52X0.2,c4451')
310
311 +-----------+---------------------------------------------------------------------+
312 |Description|Keywords |
313 +===========+=====================================================================+
314 |Filter |25mama 50ccd 50coron f25ciii f25cn182 f25cn270 f25lya f25mgii f25nd3 |
315 | |f25nd5 f25ndq1 f25ndq2 f25ndq3 f25ndq4 f25qtz f25srf2 f28x50lp |
316 | |f28x50oii f28x50oiii |
317 +-----------+---------------------------------------------------------------------+
318 |Aperture |s005x29 s005x31nda s005x31ndb s009x29 s01x003 s01x006 s01x009 s01x02 |
319 | |s02x005nd s02x006 s02x006fpa s02x006fpb s02x006fpc s02x006fpd |
320 | |s02x006fpe s02x009 s02x02 s02x02fpa s02x02fpb s02x02fpc s02x02fpd |
321 | |s02x02fpe s02x05 s02x29 s03x005nd s03x006 s03x009 s03x02 s05x05 |
322 | |s10x006 s10x02 s2x2 s31x005nda s31x005ndb s31x005ndc s36x005n45 |
323 | |s36x005p45 s36x06n45 s36x06p45 s52x005 s52x01 s52x02 s52x05 s52x2 |
324 | |s6x006 s6x02 s6x05 s6x6 |
325 +-----------+---------------------------------------------------------------------+
326 |Grating |e140h e140hb e140m e140mb e230h e230m g140l g140lb g140m g140mb g230l|
327 | |g230lb g230m g230mb g430l g430m g750l g750m prism x140 x140m x230 |
328 | |x230h |
329 +-----------+---------------------------------------------------------------------+
330 |Mirror |acq ccd fuvmama nuvmama |
331 +-----------+---------------------------------------------------------------------+
332 |Central |all c1687 c1769 c1851 c1933 c2014 c2095 c2176 c2257 c2338 c2419 c2499|
333 |wavelength |c2579 c2659 c2739 c2818 c2898 c2977 c3055 c3134 i1884 i2600 i2800 |
334 | |i2828 c1713 c1854 c1995 c2135 c2276 c2416 c2557 c2697 c2836 c2976 |
335 | |c3115 i2794 c1978 c2707 i2124 i2269 i2415 i2561 c1763 c2013 c2263 |
336 | |c2513 c2762 c3012 i1813 i1863 i1913 i1963 i2063 i2113 i2163 i2213 |
337 | |i2313 i2363 i2413 i2463 i2563 i2613 i2663 i2713 i2812 i2862 i2912 |
338 | |i2962 c3165 c3423 c3680 c3936 c4194 c4451 c4706 c4961 c5216 c5471 |
339 | |i3305 i3843 i4781 i5093 c1173 c1222 c1272 c1321 c1371 c1420 c1470 |
340 | |c1518 c1567 c1616 c1665 c1714 i1218 i1387 i1400 i1540 i1550 i1640 |
341 | |c1425 c1234 c1416 c1598 i1271 i1307 i1343 i1380 i1453 i1489 i1526 |
342 | |i1562 c7751 c8975 c10363 c10871 c5734 c6252 c6768 c7283 c7795 |
343 | |c8311 c8825 c9336 c9851 i6094 i6581 i8561 i9286 i9806 |
344 +-----------+---------------------------------------------------------------------+
345 |ADC gain |a2d1 a2d2 a2d3 a2d4 |
346 +-----------+---------------------------------------------------------------------+
347 ||mjd_par| |mjd# |
348 +-----------+---------------------------------------------------------------------+
349
350
351 .. _pysynphot-appendixb-wfc3:
352
353 WFC3
354 ----
355
356 The WFC3 keywords consist of a list of detectors, filters, |mjd_par|, and
357 :ref:`extraction apertures <pysynphot-parameterized-aper>`
358 for each of its 2 channels (UVIS and IR), in addition to other special keyword,
359 as tabulated below. For example:
360
361 >>> bp = S.ObsBandpass('wfc3,uvis1,f218w')
362
363 +------------------------+-------------------------------------------------+
364 |Description |Keywords |
365 +========================+=================================================+
366 |Detector |uvis1 uvis2 ir |
367 +--------+---------------+-------------------------------------------------+
368 |Filter |UVIS |f200lp f218w f225w f275w f280n f300x f336w f343n |
369 | | |f350lp f373n f390m f390w f395n f410m f438w f467m |
370 | | |f469n f475w f475x f487n f502n f547m f555w f600lp |
371 | | |f606w f621m f625w f631n f645n f656n f657n f658n |
372 | | |f665n f673n f680n f689m f763m f775w f814w f845m |
373 | | |f850lp f953n fq232n fq243n fq378n fq387n fq422m |
374 | | |fq436n fq437n fq492n fq508n fq575n fq619n fq634n |
375 | | |fq672n fq674n fq727n fq750n fq889n fq906n fq924n |
376 | | |fq937n |
377 | +---------------+-------------------------------------------------+
378 | |IR |f098m f105w f110w f125w f126n f127m f128n f130n |
379 | | |f132n f139m f140w f153m f160w f164n f167n |
380 +--------+---------------+-------------------------------------------------+
381 |Grism |UVIS |g280 |
382 | +---------------+-------------------------------------------------+
383 | |IR |g102 g141 |
384 +--------+---------------+-------------------------------------------------+
385 |ADC gain |dn |
386 +------------------------+-------------------------------------------------+
387 ||wfc3_qyc| |qyc |
388 +------------------------+-------------------------------------------------+
389 ||wfc3_bkg| |bkg |
390 +------------------------+-------------------------------------------------+
391 ||aper_par| |aper#0.00 aper#0.10 aper#0.15 aper#0.20 |
392 | |aper#0.25a aper#0.30 aper#0.40 aper#0.50 |
393 | |aper#0.60 aper#0.80 aper#1.00 aper#1.50 aper#2.00|
394 +------------------------+-------------------------------------------------+
395 ||mjd_par| |mjd# |
396 +------------------------+-------------------------------------------------+
397
398
399 .. _pysynphot-wfc3-qyc:
400
401 Quantum Yield Correction
402 ^^^^^^^^^^^^^^^^^^^^^^^^
403
404 The ``qyc`` keyword is used to apply a wavelength-dependent
405 quantum yield correction.
406 At short wavelengths, the UVIS detector has a finite chance of
407 producing two elections for one incoming photon. By default,
408 **pysynphot** reports the count rate in electrons if the
409 ``dn`` keyword is not specified, or data numbers otherwise.
410
411 However, the appropriate count rate for SNR calculations should be in
412 electrons with a correction for this quantum yield effect; That is,
413 users should specify the ``qyc`` keyword but not ``dn``. For example:
414
415 >>> bp = S.ObsBandpass('wfc3,uvis1,f218w,qyc')
416
417
418 .. _pysynphot-appendixb-legacy:
419
420 Legacy Instruments
421 ==================
422
423 The instruments which had previously flown on HST but had been
424 replaced by more modern detectors are included here for completeness.
425
426
427 .. _pysynphot-appendixb-foc:
428
429 FOC
430 ---
431
432 The FOC keywords consist of a list of detectors, filters, and
433 miscellaneous keywords. The ``f/48`` detector has 2 filter wheels and the
434 ``f/96`` detector has 4. Some of the filters have aliases. For instance,
435 ``fuvop`` is an alias for ``prism1``, ``nuvop`` for ``prism2``,
436 ``fopcd`` for ``prism3``, ``g450m`` for F305LP,
437 ``g225m`` for F220W, and ``g150m`` for F140W.
438 The miscellaneous keywords include the :ref:`pysynphot-costar` and
439 the occulting fingers. For example:
440
441 >>> bp = S.ObsBandpass('foc,costar,f/96,f410m')
442
443 +--------------+--------------------------------------------------+
444 |Description |Keywords |
445 +==============+==================================================+
446 |Detector |f/48 f/96 f/288 spec |
447 +------+-------+--------------------------------------------------+
448 |f/48 |Wheel 1|f140w (g130m) f150w (g150m) f175w f195w f220w |
449 | | |(g225m) f305lp (g450m) prism3 (fopcd) (grat-prism)|
450 | +-------+--------------------------------------------------+
451 | |Wheel 2|f130lp f180lp f275w f342w f430w prism1 (fuvop) |
452 | | |prism2 (nuvop) |
453 +------+-------+--------------------------------------------------+
454 |f/96 |Wheel 1|f600m f630m f2nd f4nd f6nd f8nd pol0 pol0_par |
455 | | |pol0_per pol0_unp pol60 pol60_par pol60_per |
456 | | |pol60_unp pol120 pol120_par pol120_per pol120_unp |
457 | | |prism1 (fuvop) prism2 (nuvop) |
458 | +-------+--------------------------------------------------+
459 | |Wheel 2|f140w f175w f220w f275w f320w f342w f370lp f430w |
460 | | |f480lp f486n f501n |
461 | +-------+--------------------------------------------------+
462 | |Wheel 3|f120m f130m f140m f152m f165w f170m f190m f195w |
463 | | |f210m f231m f1nd |
464 | +-------+--------------------------------------------------+
465 | |Wheel 4|f130lp f253m f278m f307m f346m f372m f410m f437m |
466 | | |f470m f502m f550m |
467 +------+-------+--------------------------------------------------+
468 |Image |f/48 |x48n256 x48n256d x48n512 x48nlrg x48zlrg x48zrec |
469 |Format+-------+--------------------------------------------------+
470 | |f/96 |x96n128 x96n256 x96n512 x96nlrg x96z512 x96zlrg |
471 +------+-------+--------------------------------------------------+
472 |Spectral Order|order1 order2 order3 order4 |
473 +--------------+--------------------------------------------------+
474 |Occulting |occ0p23 occ0p4 occ0p8 |
475 |FIngers | |
476 +--------------+--------------------------------------------------+
477 |Detector |x48n256 x48n256d x48n512 x48nlrg x48zlrg x48zrec |
478 |Format |x96n128 x96n256 x96n512 x96z512 x96nlrg x96zlrg |
479 +--------------+--------------------------------------------------+
480
481 Note that the spectroscopic capabilities, and hence the related
482 keywords ``spec``, ``order1``, ``order2``, ``order3``, and ``order4``,
483 are only available for the ``f/48`` camera. Furthermore, the ``occ0p23``
484 keyword is only available with the ``f/48`` camera, and the ``occ0p4`` and
485 ``occ0p8`` keywords are only available with the ``f/96`` camera.
486
487 The ``x48*`` and ``x96*`` keywords are used to account for the known dependency
488 of DQE on the detector format (see the FOC Instrument Handbook for
489 more details). These keywords invoke throughput tables that contain
490 the (wavelength-independent) relative sensitivities for each format,
491 where the 512x512 format (``x48n512`` and ``x96n512``) is set to 1.0.
492 The associations between formats and keywords are listed below.
493
494 +------+-------+-------------+
495 |Camera|Keyword|Camera Format|
496 +======+=======+=============+
497 |f/96 |x96n128|128 x 128 |
498 | +-------+-------------+
499 | |x96n256|256 x 256 |
500 | +-------+-------------+
501 | |x96n512|512 x 512 |
502 | +-------+-------------+
503 | |x96z512|512z x 512 |
504 | +-------+-------------+
505 | |x96zlrg|512z x 1024 |
506 +------+-------+-------------+
507 |f/48 |x48n256|256 x 256 |
508 | +-------+-------------+
509 | |x48n512|512 x 512 |
510 | +-------+-------------+
511 | |x48zrec|256z x 1024 |
512 | +-------+-------------+
513 | |x48nlrg|512 x 1024 |
514 | +-------+-------------+
515 | |x48zlrg|512z x 1024 |
516 +------+-------+-------------+
517
518
519 .. _pysynphot-appendixb-fos:
520
521 FOS
522 ---
523
524 The FOS keywords consist of a list of detectors, apertures, gratings, and
525 polarimeter waveplates and waveplate position angles.
526 :ref:`pysynphot-costar` keyword is also accepted. For example:
527
528 >>> bp = S.ObsBandpass('fos,costar,blue,g160l')
529
530 The waveplate keywords indicate whether Waveplate A or B is being used and
531 the angle of the waveplate. The waveplate keyword syntax is ``POLpa-wp``,
532 where ``pa`` is the position angle in degrees, and ``wp`` is the A or B
533 waveplate:
534
535 >>> bp = S.ObsBandpass('fos,blue,g130h,pol135-a')
536
537 The ``upper`` and ``lower`` aperture keywords are only recognized when used
538 in conjunction with one of the paired apertures:
539
540 >>> bp = S.ObsBandpass('fos,blue,g130h,upper,1.0-pair')
541
542 The ``order0`` keyword is only available in conjunction with the ``g160l``
543 grating and the ``blue`` detector:
544
545 >>> bp = S.ObsBandpass('fos,blue,g160l,order0')
546
547 +-----------+--------------------------------------------------+
548 |Description|Keywords |
549 +===========+==================================================+
550 |Detector |blue red |
551 +-----------+--------------------------------------------------+
552 |Aperture |0.3 0.5 1.0 4.3 0.1-pair 0.25-pair 0.5-pair |
553 | |1.0-pair upper lower 0.25x2.0 0.7x2.0-bar 2.0-bar |
554 | |blank failsafe |
555 +-----------+--------------------------------------------------+
556 |Grating |g130h g190h g270h g400h g570h g780h g160l g650l |
557 | |mirror prism order0 |
558 +-----------+--------------------------------------------------+
559 |Waveplate |pol0-a pol0-b pol22.5-a pol22.5-b pol45-a pol45-b |
560 | |pol67.5-a pol67.5-b pol90-a pol90-b pol112.5-a |
561 | |pol112.5-b pol135-a pol135-b pol157.5-a pol157.5-b|
562 | |pol180-a pol180-b pol202.5-a pol202.5-b pol235-a |
563 | |pol235-b pol257.5-a pol257.5-b pol270-a pol270-b |
564 | |pol292.5-a pol292.5-b pol315-a pol315-b pol337.5-a|
565 | |pol337.5-b |
566 +-----------+--------------------------------------------------+
567
568
569 .. _pysynphot-appendixb-ghrs:
570
571 GHRS
572 ----
573
574 The GHRS keywords consist of a list of detectors, apertures, gratings
575 or mirrors, and Echelle mode orders. :ref:`pysynphot-costar` keyword
576 is also accepted. For example:
577
578 >>> bp = S.ObsBandpass('hrs,costar,lsa,g160m')
579
580 The Echelle mode orders are used with the keywords ``echa`` and ``echb``.
581 Orders 18 to 33 are valid with Echelle mode B, while orders 33 to 53 with
582 mode A. For example:
583
584 >>> bp = S.ObsBandpass('hrs,costar,lsa,echa,33')
585
586 +-----------+--------------------------------------------------+
587 |Description|Keywords |
588 +===========+==================================================+
589 |Aperture |lsa ssa |
590 +-----------+--------------------------------------------------+
591 |Grating |echa echb g140l g140m g160m g200m g270m |
592 +-----------+--------------------------------------------------+
593 |Mirror |a1 a2 n1 n2 |
594 +-----------+--------------------------------------------------+
595 |Echelle |18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34|
596 |Order |35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51|
597 | |52 53 all |
598 +-----------+--------------------------------------------------+
599
600
601 .. _pysynphot-appendixb-hsp:
602
603 HSP
604 ---
605
606 The HSP keywords consist of a list of detectors, filters,
607 apertures, and beams. The beams refer to the two beams that
608 come out of the beam splitter. Not all apertures can be used
609 with all detectors; Refer to the HSP Instrument Handbook for
610 further information. The polarization detector also has angle
611 and type keywords. For example:
612
613 >>> bp = S.ObsBandpass('hsp,uv1,f220w,c')
614
615 +------------------+-------------------------------------------------+
616 |Description |Keywords |
617 +==================+=================================================+
618 |Detector |pmt pol uv1 uv2 vis |
619 +------------------+-------------------------------------------------+
620 |Relay mirror |norelay relay |
621 +------------------+-------------------------------------------------+
622 |Aperture |a b c d e f h j s t |
623 +------------------+-------------------------------------------------+
624 |Beam |blue red |
625 +------------+-----+-------------------------------------------------+
626 |Filter |POL |f160lp f216m f237m f277m f327m |
627 | +-----+-------------------------------------------------+
628 | |UV1 |f122m f135w f140lp f145m f152m f184w f218m f220w |
629 | | |f240w f248m f278n prism |
630 | +-----+-------------------------------------------------+
631 | |UV2 |f122m f140lp f145m f152m f160lp f179m f184w f218m|
632 | | |f248m f262m f278n f284m prism |
633 | +-----+-------------------------------------------------+
634 | |VIS |f160lp f184w f240w f262m f355m f400lp f419n f450w|
635 | | |f551w f620w prism |
636 +------------+-----+-------------------------------------------------+
637 |Polarization|Angle|0 45 90 135 |
638 | +-----+-------------------------------------------------+
639 | |Type |ext ord par per |
640 +------------+-----+-------------------------------------------------+
641
642
643 .. _pysynphot-appendixb-wfpc1:
644
645 WF/PC-1
646 -------
647
648 The WF/PC-1 keywords consist of a list of filters, detectors,
649 and miscellaneous keywords.
650 The ``cal`` keyword accounts for the flat-field correction.
651 The ``cont#`` keyword accounts for changes in sensitivity between
652 :ref:`decontamination <pysynphot-parameterized-contamination>` events.
653
654 WF/PC-1 has 12 independently positionable filter wheels,
655 each of which has 5 positions, including a "clear" position.
656 Detectors 1-4 correspond to the Wide Field Camera; They are only valid
657 when used in conjunction with the ``wf``, ``wfc``, or ``wfpc`` keywords.
658 Meanwhile, Detectors 5-8 correspond to the Planetary Camera;
659 They are only valid when used with the ``pc`` keyword.
660 If a detector number is not specified, the default detector for ``wf`` is 2,
661 and ``pc`` is 6.
662
663 For example:
664
665 >>> bp = S.ObsBandpass('wfpc,4,f194w,dn')
666
667 +---------------+-------------------------------+
668 |Decription |Keywords |
669 +===============+===============================+
670 |Instrument |wfpc wfc wf (all equivalent) pc|
671 +---------------+-------------------------------+
672 |Detector |1 2 3 4 5 6 7 8 |
673 +--------+------+-------------------------------+
674 |Filter | 1 |f673n f8nd g450 g800 |
675 |Wheel +------+-------------------------------+
676 | | 2 |f122m f336w f439w g200 g200m2 |
677 | +------+-------------------------------+
678 | | 3 |pol0 pol60 pol120 f1083n |
679 | +------+-------------------------------+
680 | | 4 |f157w f194w f230w f284w |
681 | +------+-------------------------------+
682 | | 5 |f569w f658n f675w f791w |
683 | +------+-------------------------------+
684 | | 6 |f631n f656n f664n f702w |
685 | +------+-------------------------------+
686 | | 7 |f375n f437n f502n f588n |
687 | +------+-------------------------------+
688 | | 8 |f368m f413m f492m f622w |
689 | +------+-------------------------------+
690 | | 9 |f547m f555w f648m f718m |
691 | +------+-------------------------------+
692 | | 10 |f785lp f814w f875m f1042m |
693 | +------+-------------------------------+
694 | | 11 |f128lp f469n f487n f517n |
695 | +------+-------------------------------+
696 | | 12 |f606w f725lp f850lp f889n |
697 +--------+------+-------------------------------+
698 |ADC gain |dn |
699 +---------------+-------------------------------+
700 |Baum spot |baum |
701 +---------------+-------------------------------+
702 ||cont_par| |cont# |
703 +---------------+-------------------------------+
704 |Flat-field |cal |
705 +---------------+-------------------------------+
706
707
708 .. _pysynphot-appendixb-wfpc2:
709
710 WFPC2
711 -----
712
713 The WFPC2 keywords consist of a list of detectors, filters, ADC gain, and
714 miscellaneous keywords. The ``cal`` keyword accounts for the flat-field
715 response. Meanwhile, the ``cont#`` keyword accounts for changes in throughput
716 between :ref:`decontamination <pysynphot-parameterized-contamination>` events;
717 Due to the removal of WFPC2 during SM4, this time-dependent effect is only
718 valid for dates prior to SM4.
719
720 WFPC2 has 12 filter wheels, each of which has 5 positions, including the "clear"
721 position. Wheel 11 contains :ref:`quad filters <pysynphot-wfpc2-quad>`, while
722 Wheel 12 contains :ref:`linear ramp filters <pysynphot-wfpc2-ramp>`.
723 Detector 1 is the Planetary Camera. Meanwhile, Detectors 2-4 correspond to the
724 Wide Field Camera. If a detector is not specified, the default is Detector 4.
725
726 For example:
727
728 >>> bp = S.ObsBandpass('wfpc2,2,f450w,a2d7,cont#50180')
729
730 +---------------+------------------------------------------------------+
731 |Description |Keywords |
732 +===============+======================================================+
733 |Detector |1 2 3 4 |
734 +----------+----+------------------------------------------------------+
735 |Filter | 1 |f122m f157w f160bw f953n |
736 |Wheel +----+------------------------------------------------------+
737 | | 2 |f130lp f165lp f785lp f850lp |
738 | +----+------------------------------------------------------+
739 | | 3 |f336w f410m f467m f547m |
740 | +----+------------------------------------------------------+
741 | | 4 |f439w f569w f675w f791w |
742 | +----+------------------------------------------------------+
743 | | 5 |f343n f375n f390n f437n |
744 | +----+------------------------------------------------------+
745 | | 6 |f469n f487n f502n f588n |
746 | +----+------------------------------------------------------+
747 | | 7 |f631n f656n f658n f673n |
748 | +----+------------------------------------------------------+
749 | | 8 |f170w f185w f218w f255w |
750 | +----+------------------------------------------------------+
751 | | 9 |f300w f380w f555w f622w |
752 | +----+------------------------------------------------------+
753 | | 10 |f450w f606w f702w f814w |
754 | +----+------------------------------------------------------+
755 | | 11 |f1042m |wfpc2_quad| |
756 | +----+------------------------------------------------------+
757 | | 12 ||wfpc2_lrf| |
758 +----------+----+------------------------------------------------------+
759 |ADC gain |a2d7 a2d15 |
760 +---------------+------------------------------------------------------+
761 ||cont_par| |cont# |
762 +---------------+------------------------------------------------------+
763 |Flat-field |cal |
764 +---------------+------------------------------------------------------+
765
766
767 .. _pysynphot-wfpc2-quad:
768
769 Quad Filter
770 ^^^^^^^^^^^
771
772 Filter Wheel 11 contains 3 specialized quadrant (quad) filters.
773 Each quadrant corresponds to a facet of the pyramid, and therefore to a
774 distinct camera relay:
775
776 * FQUVN contains 4 narrow-band, redshifted [O II] filters
777 * FQCH4N contains 4 methane (CH4) band filters
778 * POLQ contains 4 polarizing elements
779
780 For FQUVN and FQCH4N filters, the :ref:`graph table <pysynphot-graph>` is
781 constructed such that distinct throughput values are automatically selected
782 for a given quadrant based on the selected detector. For POLQ filter, it can
783 also be specified by the direction its polarization; i.e., ``polq_perp`` for
784 perpendicular polarization, and ``polq_par`` for parallel.
785
786 The quad filters were designed to map onto a 4-faceted WFC configuration.
787 However, in the final design of the instrument, with WF Quadrant 1 replaced
788 by the PC, it is necessary to rotate the quad filters as follow
789 (see the WFPC2 Instrument Handbook for more details):
790
791 * ``fquvn33``, ``fqch4n33``, and ``polqn33`` represent the respective filters
792 rotated by :math:`-33^{\circ}` in order to bring Filter Quadrant 1 into the
793 WF2 and WF3 relays
794 * ``fqch4p15`` and ``fqch4n15`` represent FQCH4N partially rotated by
795 :math:`\pm15^{\circ}` in order to bring 2 of its quadrants into the PC relay
796 * ``polqp15`` and ``polqn18`` represent POLQ partially rotated by
797 :math:`+15^{\circ}` and :math:`-18^{\circ}`, respectively, in order to allow
798 observations with different polarization angles
799
800 The nominal positions are represented as ``fquvn``, ``fqch4n``, and ``polq``
801 keywords. For example:
802
803 >>> bp = S.ObsBandpass('wfpc2,2,fqch4n')
804
805
806 .. _pysynphot-wfpc2-ramp:
807
808 Ramp Filter
809 ^^^^^^^^^^^
810
811 .. warning::
812
813 This is currently unsupported by **pysynphot** (see
814 `Ticket 218 <https://aeon.stsci.edu/ssb/trac/astrolib/ticket/218>`_).
815 However, flux calibration for these ramp filters can still be done using
816 ``PHOT*`` keywords from image headers.
817
818 Filter Wheel 12 contains 4 linearly variable narrow-band ramp filters,
819 which together cover a total wavelength range of 3700 to 9800 Angstroms.
820 The FWHM of the throughput at a given wavelength is typically about 1% of
821 the central wavelength. To use a WFPC2 ramp filter in simulations, use the
822 keyword syntax ``lrf#cenwave``, where ``cenwave`` is the desired central
823 wavelength in Angstroms.
824
825 The example below is given in IRAF STSDAS SYNPHOT command::
826
827 synphot> bandpar wfpc2,3,lrf#4861
828
829
830 .. _pysynphot-appendixb-special-keywords:
831
832 Special Keywords
833 ================
834
835 This section contains special keywords that apply to multiple instruments.
836
837
838 .. _pysynphot-ota:
839
840 OTA
841 ---
842
843 The HST OTA transmissivity is included by default in the calculation of
844 all HST-related observation modes. It can be included or excluded explicitly by
845 adding the keywords ``ota`` or ``noota``, respectively; For example:
846
847 >>> bp = S.ObsBandpass('stis,ccd,f25srf2,noota')
848
849
850 .. _pysynphot-costar:
851
852 COSTAR
853 ------
854
855 An observation mode that involves a first-generation instrument
856 (:ref:`pysynphot-appendixb-foc`, :ref:`pysynphot-appendixb-fos`, or
857 :ref:`pysynphot-appendixb-ghrs`) also automatically accounts for the effects of
858 COSTAR on its wavelength-dependent sensitivity. This includes the product of the
859 reflectivity curves for each pair of the COSTAR mirrors for each of these
860 instruments, as well as the effects on instrument throughput and
861 sensitivity due to the improved point-spread function that is achieved
862 with COSTAR.
863
864 Like the :ref:`pysynphot-ota`, the COSTAR effects on passbands and
865 count rates are included by default for these instruments when using versions
866 of the HST graph table created on or after February 24, 1995. In earlier
867 versions of the graph table, ``nocostar`` is the default. To explicitly include
868 or exclude COSTAR, use the keywords ``costar`` and ``nocostar``, respectively,
869 anywhere within your observation mode string; For example:
870
871 >>> bp = S.ObsBandpass('fos,red,4.3,g270h,costar')
872
873 All current HST instruments (except :ref:`pysynphot-appendixb-fgs`) have
874 built-in corrective optics to compensate for the spherical aberration of the
875 primary mirror. It is not necessary to explicitly exclude COSTAR for the current
876 generation instruments, as it is excluded by default. Inclusion of COSTAR for
877 these instruments are not allowed.
878
879
880 .. _pysynphot-parameterized-mjd:
881
882 MJD
883 ---
884
885 In the case of :ref:`pysynphot-appendixb-acs`, :ref:`pysynphot-appendixb-cos`,
886 :ref:`pysynphot-appendixb-stis`, and :ref:`pysynphot-appendixb-wfc3`,
887 the ``mjd`` keyword is used to handle time-dependent sensitivity of certain
888 detectors. To use this capability in simulations, include ``mjd#ddddd`` in the
889 ``obsmode`` string, where ``ddddd`` is the desired Modified Julian Date (MJD)
890 value, which could be an integer or a floating point.
891
892 **pysynphot** interpolates between the dates for which data exist in the table
893 to arrive at an estimate of the throughput on the requested date
894 (see :ref:`pysynphot-parameterized`). For example:
895
896 >>> bp = S.ObsBandpass('acs,wfc1,f555w,mjd#49486')
897
898 If not specified, the default is to use
899 the latest set of throughput values in the ``THROUGHPUT`` column without any
900 interpolation or extrapolation.
901 This default column is expected to be updated by the relevant instrument team
902 whenever significant changes to the current trend are identified, such that the
903 throughput should not differ by more than 2% from the one obtained by using the
904 current date.
905
906
907 .. _pysynphot-parameterized-aper:
908
909 Encircled Energy
910 ----------------
911
912 For :ref:`pysynphot-appendixb-acs` and :ref:`pysynphot-appendixb-wfc3`,
913 the ``aper`` keyword is used to specify a circular aperture, given by its
914 radius in arcseconds, to calculate the source counts within.
915 If no aperture is given, calculations are done for an infinite aperture, which
916 is also 5.5 arcsec or larger for ACS, and 2 arcsec or larger for WFC3.
917
918 This enables **pysynphot** to be more flexible and accurate, particularly for
919 cases where red targets are observed at long wavelengths.
920 At wavelengths greater than 7500 Angstroms (for ACS/HRC) and about
921 9000 Angstroms (for ACS/WFC), the observations are affected by a
922 red halo due to light scattered off the CCD substrate. An increasing
923 fraction of the light as a function of wavelength is scattered
924 from the center of the PSF into the wings. This problem affects
925 particularly the very broad *z*-band F850LP filter, for which the
926 encircled energy (EE) depends on the underlying spectral energy
927 distribution the most.
928
929 Supported apertures are instrument-dependent, as listed below.
930 Arbitrary aperture sizes are permitted, but not recommended.
931 This is because **pysynphot** only provides a linear interpolation between
932 supported apertures (see :ref:`pysynphot-parameterized`), which is a poor
933 approximation, especially at small apertures.
934
935 For ACS, the following apertures are supported:
936
937 * every 0.1 arcsec between 0 and 0.6 arcsec
938 * 0.8 arcsec
939 * 1.0 arcsec
940 * 1.5 arcsec
941 * 2.0 arcsec
942 * 4.0 arcsec
943
944 For WFC3, the following apertures are supported:
945
946 * every 0.05 arcsec between 0.1 and 0.3 arcsec
947 * every 0.1 arcsec between 0.3 and 0.6 arcsec
948 * 0.8 arcsec
949 * 1.0 arcsec
950 * 1.5 arcsec
951 * 2.0 arcsec
952
953 To use this capability in simulations, include ``aper#value`` in the ``obsmode``
954 string, where ``value`` is the radius in arcseconds. When "aper#0" is specified,
955 the user will obtain the number of counts in the brightest pixel (i.e., the
956 peak counts of the source centered at that pixel). For example:
957
958 >>> bp = S.ObsBandpass('acs,wfc1,f850lp,aper#0.2')
959
960
961 .. _pysynphot-parameterized-temperature:
962
963 Temperature
964 -----------
965
966 For :ref:`pysynphot-appendixb-nicmos` and :ref:`pysynphot-appendixb-wfc3`
967 IR detectors, :ref:`thermal background <pysynphot-command-therm>`
968 can be calculated by **pysynphot**. If no temperature is specified, the default
969 value for each component is used (see :ref:`pysynphot_thermal_em` and
970 :ref:`pysynphot-parameterized`).
971
972 For WFC3, the calculation can only be done at the default temperature
973 (not yet parameterized). For observation modes using a grism, the ``bkg``
974 keyword is used to perform throughput and emission calculations pertaining to
975 the associated background signal. This is because in grism observations,
976 a given detector pixel will receive source signal from only a small wavelength
977 interval of the dispersed source spectrum, but it will receive background
978 signal from the entire bandpass of the grism. Therefore, a special throughput
979 table is used to correctly compute the detected signal from a background
980 spectrum, which gives the transmission of the grism over its entire bandpass.
981 The ``bkg`` keyword cannot be used with non-grism observations. For example:
982
983 >>> bp = S.ObsBandpass('wfc3,ir,g102,bkg')
984
985 For NICMOS, all keywords except the detector are parameterized for
986 temperature. This includes OTA components that are opaque but thermally
987 emitting. Most of the its optical elements (``reimag``, ``pupil``, ``image``,
988 ``para1``, ``para2``, ``bend``, ``dewar``, and ``cmask``) are contained in the
989 dewar, and are therefore at the same temperature. However, **pysynphot** does
990 not enforce this, so the user must specify any non-default temperature for each
991 component individually. For example, to specify a primary mirror temperature of
992 290 K and then calculate the thermal background:
993
994 >>> bp = S.ObsBandpass('nicmos,3,f222m,primary#290.0')
995 >>> bp.thermback()
996 82.206182481038724
997
998
999 .. _pysynphot-parameterized-contamination:
1000
1001 Contamination
1002 -------------
1003
1004 The ``cont#`` keyword for :ref:`pysynphot-appendixb-wfpc1` and
1005 :ref:`pysynphot-appendixb-wfpc2` references the Modified Julian Date,
1006 which is used to account for the gradual decline in throughput between
1007 decontamination events, as well as for the sudden increase in throughput
1008 immediately after a decontamination.
1009
1010 For WF/PC-1, data exists for dates between May 8, 1991 (MJD 48384) and
1011 December 8, 1993 (MJD 49329), non-inclusive, in the intervals of 20-30 days.
1012 For WFPC2, data currently exists from December 26, 1993 (MJD 49347) until SM4,
1013 in intervals of approximately 30 days.
1014
1015 **pysynphot** interpolates between the dates for which data exist in the table
1016 to arrive at an estimate of the throughput on the requested date
1017 (see :ref:`pysynphot-parameterized`). For example:
1018
1019 >>> bp = S.ObsBandpass('wfpc2,3,f555w,cont#49800')
1020
1021
1022 .. _pysynphot-appendixb-nonhst:
1023
1024 Non-HST Filter Systems
1025 ======================
1026
1027 .. |nonhst_cousins| replace:: :ref:`cousins <pysynphot-nonhst-cousins>`
1028 .. |nonhst_cousins2| replace:: :ref:`Cousins <pysynphot-nonhst-cousins>`
1029 .. |nonhst_galex| replace:: :ref:`galex <pysynphot-nonhst-galex>`
1030 .. |nonhst_johnson| replace:: :ref:`johnson <pysynphot-nonhst-johnson>`
1031 .. |nonhst_johnson2| replace:: :ref:`Johnson <pysynphot-nonhst-johnson>`
1032 .. |nonhst_landolt| replace:: :ref:`landolt <pysynphot-nonhst-landolt>`
1033 .. |nonhst_landolt2| replace:: :ref:`Landolt <pysynphot-nonhst-landolt>`
1034 .. |nonhst_sdss| replace:: :ref:`sdss <pysynphot-nonhst-sdss>`
1035 .. |nonhst_stromgren| replace:: :ref:`stromgren <pysynphot-nonhst-stromgren>`
1036 .. |nonhst_stromgren2| replace:: :ref:`Stromgren <pysynphot-nonhst-stromgren>`
1037
1038 In addition to the HST instruments, filters, and gratings, the
1039 :ref:`graph table <pysynphot-graph>` also contains entries for various
1040 standard passbands from photometric systems that are not specific to HST.
1041 Actively supported systems (i.e., their data files are updated on CRDS as
1042 needed) are as tabulated below.
1043 Non-HST filters are specified using the name of the filter system,
1044 followed by the desired band name. For example:
1045
1046 >>> bp = S.ObsBandpass('cousins,i')
1047 >>> bp = S.ObsBandpass('stromgren,u')
1048
1049 If the name of the filter system is omitted for any of the common *UBVRIJHK*
1050 filters, the defaults are Johnson *UBV*, Cousins *RI*, and Bessell *JHK*.
1051 For example, the following are equivalent:
1052
1053 >>> bp = S.ObsBandpass('v')
1054 >>> bp = S.ObsBandpass('johnson,v')
1055
1056 +------------------+-------------+
1057 |System Name |Band Name |
1058 +==================+=============+
1059 ||nonhst_cousins| |r i |
1060 +------------------+-------------+
1061 ||nonhst_galex| |nuv fuv |
1062 +------------------+-------------+
1063 ||nonhst_johnson| |u v b r i j k|
1064 +------------------+-------------+
1065 ||nonhst_landolt| |u v b r i |
1066 +------------------+-------------+
1067 ||nonhst_sdss| |u g r i z |
1068 +------------------+-------------+
1069 ||nonhst_stromgren||u v b y |
1070 +------------------+-------------+
1071
1072
1073 Comparing pysynphot Results with Observed Non-HST Photometry
1074 ------------------------------------------------------------
1075
1076 There are two issues that are sometimes overlooked when comparing
1077 synthetic photometry from **pysynphot** with observed photometry using a
1078 non-HST system.
1079
1080 Firstly, one should be careful whether the throughput data have been
1081 defined for a photon-counting or an energy-integrating detector.
1082 **pysynphot** always assumes that a throughput are of the former.
1083 In particular, some authors in the past have defined throughput curves
1084 for photomultipliers as if these detectors were energy integrators,
1085 which they are not. Such curves have to be converted into photon-counting
1086 form before they can be correctly used by **pysynphot**
1087 (:ref:`Maiz Apellaniz 2006 <synphot-ref-maiz2006>`).
1088 Using the wrong definition can lead to errors of a few percent for
1089 broad-band filters.
1090
1091 Secondly, many systems (e.g., Johnson *UBV*) use Vega
1092 as a reference spectrum, but have been calibrated using secondary standards,
1093 leading to the existence of finite zero points. In some systems
1094 (e.g. Stromgren), those zero points are not even
1095 close to 0.0 for some filters. The table below defines the zero point
1096 corrections for ground-based filter systems from measurements of zero points
1097 collected from the respective literature; These values should be added to the
1098 ``vegamag`` magnitude in **pysynphot** before they are compared with the
1099 observed data:
1100
1101 +-------------------+-------------+----------+-------------+
1102 |System |Color/Index |Zero point|References |
1103 | | |(mag) | |
1104 +===================+=============+==========+=============+
1105 ||nonhst_johnson2| |:math:`V` |0.026 ||bohlin2004| |
1106 |and +-------------+----------+-------------+
1107 ||nonhst_landolt2| |:math:`B-V` |0.010 ||maiz2006| |
1108 | +-------------+----------+-------------+
1109 | |:math:`U-B` |0.020 ||maiz2006| |
1110 +-------------------+-------------+----------+-------------+
1111 ||nonhst_cousins2| |:math:`V-R` |-0.012 ||holberg2006||
1112 |and +-------------+----------+-------------+
1113 ||nonhst_landolt2| |:math:`V-I` |-0.002 ||holberg2006||
1114 +-------------------+-------------+----------+-------------+
1115 ||nonhst_stromgren2||:math:`y` |0.038 ||holberg2006||
1116 | +-------------+----------+-------------+
1117 | |:math:`b-y` |0.007 ||maiz2006| |
1118 | +-------------+----------+-------------+
1119 | |:math:`m_{1}`|0.154 ||maiz2006| |
1120 | +-------------+----------+-------------+
1121 | |:math:`c_{1}`|1.092 ||maiz2006| |
1122 +-------------------+-------------+----------+-------------+
1123
1124 .. |bohlin2004| replace:: :ref:`Bohlin & Gilliland (2004) <synphot-ref-bohlin2004>`
1125 .. |holberg2006| replace:: :ref:`Holberg & Bergeron (2006) <synphot-ref-holberg2006>`
1126 .. |maiz2006| replace:: :ref:`Maiz Apellaniz (2006) <synphot-ref-maiz2006>`
1127
1128 The existence of these issues has led CRDS to divide the non-HST photometric
1129 systems into supported (as mentioned above) and
1130 :ref:`not supported <pysynphot-nonhst-deprecated>`.
1131
1132 Systems for which there are analyses in the literature that deal with
1133 the issues mentioned above are as follow. CRDS Team is reasonably confident
1134 that the possible systematic errors in the **pysynphot** results for these
1135 systems are small:
1136
1137 * |nonhst_cousins2| *RI*
1138 * |nonhst_johnson2| *UBV* (but not *RIJK*)
1139 * |nonhst_landolt2| *UBVRI*
1140 * :ref:`pysynphot-nonhst-sdss` *ugriz*
1141 * |nonhst_stromgren2| *uvby*
1142
1143
1144 .. _pysynphot-nonhst-2mass:
1145
1146 2MASS
1147 -----
1148
1149 The 2MASS *JHK*:math:`_s` throughputs are taken from :ref:`Cohen et al. (2003) <synphot-ref-cohen2003>`.
1150 These are normalized relative spectral response curves and include the throughputs of all of the
1151 appropriate optics from the 2MASS optical system, as well as the atmosphere above the two 2MASS
1152 telescopes.
1153
1154 Zero point reference fluxes for 2MASS reproduced from the
1155 `IPAC 2MASS website <https://old.ipac.caltech.edu/2mass/releases/allsky/doc/sec6_4a.html>`_
1156 are included here for reference (pay special attention to the units):
1157
1158 +-----+--------------------+-----------------+---------------+-----------------------+
1159 |Band |λ (µm) |Bandwidth |Fnu ref |Flambda ref |
1160 | | |(µm) |(Jy) |(W/cm^2/µm) |
1161 +=====+====================+=================+===============+=======================+
1162 |J | 1.235 ± 0.006 | 0.162 ± 0.001 | 1594 ± 27.8 | 3.129E-13 ± 5.464E-15 |
1163 +-----+--------------------+-----------------+---------------+-----------------------+
1164 |H | 1.662 ± 0.009 | 0.251 ± 0.002 | 1024 ± 20.0 | 1.133E-13 ± 2.212E-15 |
1165 +-----+--------------------+-----------------+---------------+-----------------------+
1166 |Ks | 2.159 ± 0.011 | 0.262 ± 0.002 | 666.7 ± 12.6 | 4.283E-14 ± 8.053E-16 |
1167 +-----+--------------------+-----------------+---------------+-----------------------+
1168
1169 To use the 2MASS throughputs:
1170
1171 >>> bp = S.ObsBandpass('2mass,j')
1172 >>> bp = S.ObsBandpass('2mass,h')
1173 >>> bp = S.ObsBandpass('2mass,ks')
1174
1175 (Note: 2MASS throughput curves were added to the TMG file in January 2020. Users must use
1176 a TMG/TMC file and associated throughput tables delivered after this date to use the
1177 2MASS OBSMODEs.)
1178
1179
1180 .. _pysynphot-nonhst-cousins:
1181
1182 Cousins
1183 -------
1184
1185 The Cousins *RI* throughputs are taken from
1186 :ref:`Bessell (1983) <synphot-ref-bessell1983>`. They have been transformed
1187 into photon-counting form. For example:
1188
1189 >>> bp = S.ObsBandpass('cousins,i')
1190
1191
1192 .. _pysynphot-nonhst-galex:
1193
1194 GALEX
1195 -----
1196
1197 The GALEX FUV and NUV throughputs were provided by Tom Barlow on
1198 behalf of the `GALEX <http://www.galex.caltech.edu/>`_ project, as described in
1199 :ref:`Morrissey et al. (2007) <synphot-ref-morrissey2007>`.
1200 They were measured on the ground in units of effective area,
1201 and were divided by the full area of the GALEX primary mirror
1202 (:math:`1963.495 \; \mathrm{cm}^{2}`) to convert them to the dimensionless
1203 transmission values required by **pysynphot**. Therefore, these curves represent
1204 the true total throughput, including obscuration by the secondary mirror,
1205 reflectivity of the mirrors, sensitivity of the detector, and so forth.
1206 For example:
1207
1208 >>> bp = S.ObsBandpass('galex,fuv')
1209
1210
1211 .. _pysynphot-nonhst-johnson:
1212
1213 Johnson
1214 -------
1215
1216 The throughput data for the Johnson *UBV* bands were obtained from
1217 :ref:`Maiz Apellaniz (2006) <synphot-ref-maiz2006>`, while the *RIJK* bands
1218 from :ref:`Johnson (1965) <synphot-ref-johnson1965>`. For example:
1219
1220 >>> bp = S.ObsBandpass('johnson,v')
1221
1222
1223 .. _pysynphot-nonhst-landolt:
1224
1225 Landolt
1226 -------
1227
1228 The :ref:`Landolt (1983) <synphot-ref-landolt1983>` *UBVRI* system is made up of
1229 the :ref:`pysynphot-nonhst-johnson` *UBV* and the
1230 :ref:`pysynphot-nonhst-cousins` *RI* passbands. For example:
1231
1232 >>> bp = S.ObsBandpass('landolt,v')
1233
1234
1235 .. _pysynphot-nonhst-sdss:
1236
1237 SDSS
1238 ----
1239
1240 The `Sloan Digital Sky Survey (SDSS) <http://www.sdss.org/>`_ *ugriz* filter
1241 throughputs were provided by Sebastian Jester on behalf of the SDSS team,
1242 as described in :ref:`Gunn et al. (2001) <synphot-ref-gunn2001>`.
1243 The filter curves are shown in the
1244 `SDSS filter response plot <http://www.sdss.org/dr1/instruments/imager/index.html#filters>`_. For example:
1245
1246 >>> bp = S.ObsBandpass('sdss,g')
1247
1248 The throughput data give the system photon response to point sources of the
1249 2.5-m SDSS survey telescope, including extinction through an airmass of 1.3 at
1250 `Apache Point Observatory <https://www.apo.nmsu.edu/>`_ (to which all SDSS
1251 photometry is referenced).
1252 Originally, the *ugriz* system was intended to be identical to the
1253 :math:`u^{\prime} g^{\prime} r^{\prime} i^{\prime} z^{\prime}`
1254 system described in :ref:`Fukugita et al. (1996) <synphot-ref-fukugita1996>`
1255 and defined by the standard star system in
1256 :ref:`Smith et al. (2002) <synphot-ref-smith2002>`. However, in the course
1257 of processing the SDSS data, an unpleasant discovery was made that
1258 the filters in the 2.5-m telescope have significantly different
1259 effective wavelengths from the filters in the
1260 `USNO <https://www.usno.navy.mil/USNO/>`_ telescope, which was used to observe
1261 the :math:`u^{\prime} g^{\prime} r^{\prime} i^{\prime} z^{\prime}`
1262 standards; The difference originates from the USNO filters being exposed to
1263 ambient air, while the survey-telescope filters live in the vacuum of the
1264 survey camera. Therefore, it became necessary to distinguish between the primed
1265 and unprimed SDSS filter sets.
1266
1267 The response curves in *r* and *i* are slightly different for
1268 large extended sources (larger than about 80 pixels in size)
1269 because the extended IR scattering wings in these bands,
1270 which do not affect the photometry of point sources, begin to be
1271 included. The modified curves are shown in an
1272 `updated SDSS system response plot <http://www.sdss.org/dr3/instruments/imager/#filters>`_.
1273
1274 The SDSS photometry is intended to be on the AB system
1275 (:ref:`Oke & Gunn 1983 <synphot-ref-oke1983>`), by which a 0-magnitude object
1276 should have the same counts as a source of
1277 :math:`F_{\nu} = 3631 \; \mathrm{Jy}` (except that it used the so-called
1278 "asinh" magnitudes defined by
1279 :ref:`Lupton et al. 1999 <synphot-ref-lupton1999>` instead of conventional
1280 Pogson magnitudes). However, this is known not to be exactly true, such that
1281 the photometric zero points are slightly off the AB standard. The SDSS team
1282 continues to work to pin down these shifts. Their estimate, based on comparison
1283 to the STIS standards of :ref:`Bohlin et al. (2001) <synphot-ref-bohlin2001>`
1284 and confirmed by SDSS photometry and spectroscopy of fainter hot white dwarfs,
1285 is that the *u* band zero point is in error by 0.04 mag,
1286 :math:`u_{\mathrm{AB}} = u_{\mathrm{SDSS}} - 0.04 \; \mathrm{mag}`,
1287 and that *g*, *r*, and *i* are close to AB; These statements are certainly not
1288 precise to better than 0.01 mag. The *z* band zero point is not as certain
1289 (as of January 2005), but there is mild evidence that it may be shifted by about
1290 0.02 mag in the sense that
1291 :math:`z_{\mathrm{AB}} = z_{\mathrm{SDSS}} + 0.02 \; \mathrm{mag}`.
1292
1293 See :ref:`Holberg & Bergeron (2006) <synphot-ref-holberg2006>` for a
1294 calibration of SDSS magnitudes using Vega as a reference spectrum.
1295 Further information about SDSS photometric calibration and the "asinh"
1296 magnitude system can be found at
1297 `SDSS Photometric Flux Calibration webpage <http://www.sdss.org/dr3/algorithms/fluxcal.html>`_.
1298
1299
1300 .. _pysynphot-nonhst-stromgren:
1301
1302 Stromgren
1303 ---------
1304
1305 The Stromgren *uvby* throughputs are taken from
1306 :ref:`Maiz Apellaniz (2006) <synphot-ref-maiz2006>`. For example:
1307
1308 >>> bp = S.ObsBandpass('stromgren,y')
1309
1310
1311 .. _pysynphot-nonhst-wfirst:
1312
1313 WFIRST
1314 ------
1315
1316 Phase B estimates of the WFIRST integrated system throughputs have been taken from
1317 the `WFIRST Reference Information <https://wfirst.gsfc.nasa.gov/science/WFIRST_Reference_Information.html>`_ page at GSFC. For example:
1318
1319 >>> bp = S.ObsBandpass('wfirst,wfi,f062')
1320
1321 Only the Wide Field Instrument (WFI) is currently supported with the following modes:
1322
1323 +------------+-----------------------------------------+
1324 |Description |Keywords |
1325 +============+=========================================+
1326 |Filter |f062, f087, f106, f129, f146, f158, f184 |
1327 +------------+-----------------------------------------+
1328 |Grating |grism, prism |
1329 +------------+-----------------------------------------+
1330
1331 At this time, the estimated throughputs do not differentiate between the different sensor chip assemblies (SCAs).
1332 SCA-dependent throughputs will be delivered at a later time.
1333
1334 (Note: WFIRST throughput curves were added to the TMG file in January 2020. Users must use
1335 a TMG/TMC file and associated throughput tables delivered after this date to use the
1336 WFIRST OBSMODEs.)
1337
1338
1339
1340 .. _pysynphot-nonhst-deprecated:
1341
1342 Deprecated Systems
1343 ------------------
1344
1345 .. |nonhst_ans| replace:: :ref:`ans <pysynphot-nonhst-ans>`
1346 .. |nonhst_baum| replace:: :ref:`baum <pysynphot-nonhst-baum>`
1347 .. |nonhst_bessell| replace:: :ref:`bessell <pysynphot-nonhst-bessell>`
1348 .. |nonhst_eso| replace:: :ref:`eso <pysynphot-nonhst-eso>`
1349 .. |nonhst_kpno| replace:: :ref:`kpno <pysynphot-nonhst-kpno>`
1350 .. |nonhst_steward| replace:: :ref:`steward <pysynphot-nonhst-steward>`
1351 .. |nonhst_walraven| replace:: :ref:`walraven <pysynphot-nonhst-walraven>`
1352
1353 As of March 2006, some non-HST bandpass systems were deprecated, as tabulated
1354 below. They remain accessible by **pysynphot**, but mostly for backward
1355 compatibility. There will be no updates from CRDS, so use these at your own
1356 risk.
1357
1358 +-----------------+-----------------------------------------------+
1359 |System Name |Band Name |
1360 +=================+===============================================+
1361 ||nonhst_ans| |1550 1550n 1800 2200 2500 3300 |
1362 +-----------------+-----------------------------------------------+
1363 ||nonhst_baum| |f336w f439w f547m f555w f569w f606w f622w f675w|
1364 | |f702w f725lp f785lp f791w f814w f850lp f1042m |
1365 +-----------------+-----------------------------------------------+
1366 ||nonhst_bessell| |j h k |
1367 +-----------------+-----------------------------------------------+
1368 ||nonhst_eso| |88 97 100-102 104-106 109-119 121 122 125 |
1369 | |127-130 132 136 140 141 145 149 152 154-157 |
1370 | |159-161 163-166 168-170 172-179 181-183 185 186|
1371 | |189 192-194 196-199 201-207 209-234 236-242 244|
1372 | |247 248 253 254 260 264 265 537 538 |
1373 +-----------------+-----------------------------------------------+
1374 ||nonhst_kpno| |j h k |
1375 +-----------------+-----------------------------------------------+
1376 ||nonhst_steward| |j h k |
1377 +-----------------+-----------------------------------------------+
1378 ||nonhst_walraven||v b l u w |
1379 +-----------------+-----------------------------------------------+
1380
1381
1382 .. _pysynphot-nonhst-ans:
1383
1384 ANS
1385 ^^^
1386
1387 The Astronomical Netherlands Satellite (ANS) system is a set of UV filters used
1388 by the satellite, as described in
1389 :ref:`van Duinen et al. (1975) <synphot-ref-vanduinen1975>`. For example:
1390
1391 >>> bp = S.ObsBandpass('ans,1550')
1392
1393
1394 .. _pysynphot-nonhst-baum:
1395
1396 Baum
1397 ^^^^
1398
1399 The Baum filter set is a set of 15 broadband and intermediate-band
1400 filters that are copies the ones onboard :ref:`pysynphot-appendixb-wfpc1` that
1401 were used as part of a ground-based calibration campaign for the instrument.
1402 In order to match the response of the in-flight passbands as closely as
1403 possible, the throughputs for the Baum filters have been multiplied
1404 by the spectral response curve of the ground-based CCD (measured
1405 in the laboratory) and twice by the spectral reflectance of aluminum
1406 (:ref:`Harris et al. 1991 <synphot-ref-harris1991>`). For example:
1407
1408 >>> bp = S.ObsBandpass('baum,f336w')
1409
1410
1411 .. _pysynphot-nonhst-bessell:
1412
1413 Bessell
1414 ^^^^^^^
1415
1416 The Bessell *JHK* filter curves are taken from
1417 :ref:`Bessell & Brett (1988) <synphot-ref-bessell1988>`, Table IV.
1418 These curves include the mean atmospheric transmission equivalent to 1.2
1419 air masses of a standard `KPNO <http://www.noao.edu/kpno/>`_ atmosphere.
1420 For example:
1421
1422 >>> bp = S.ObsBandpass('bessell,k')
1423
1424
1425 .. _pysynphot-nonhst-eso:
1426
1427 ESO
1428 ^^^
1429
1430 The 530 ESO band throughput tables were received from Jan Koornneef in 1990.
1431 For example:
1432
1433 >>> bp = S.ObsBandpass('eso,198')
1434
1435
1436 .. _pysynphot-nonhst-kpno:
1437
1438 KPNO
1439 ^^^^
1440
1441 The `Kitt Peak National Observatory (KPNO) <http://www.noao.edu/kpno/>`_ *JHK*
1442 filter curves are taken from the tracings of the Simultaneous Quad Infrared
1443 Image Device (SQIID) filter set, which were provided by Richard Joyce from the
1444 observatory. For example:
1445
1446 >>> bp = S.ObsBandpass('kpno,k')
1447
1448
1449 .. _pysynphot-nonhst-steward:
1450
1451 Steward
1452 ^^^^^^^
1453
1454 The `Steward Observatory <https://www.as.arizona.edu/observing>`_ *JHK* filter
1455 curves are from data provided by Marcia Rieke from the observatory. For example:
1456
1457 >>> bp = S.ObsBandpass('steward,k')
1458
1459
1460 .. _pysynphot-nonhst-walraven:
1461
1462 Walraven
1463 ^^^^^^^^
1464
1465 The throughput data for the Walraven *VBLUW* bands are from
1466 :ref:`Lub & Pel (1977) <synphot-ref-lub1977>`, Table 6. For example:
1467
1468 >>> bp = S.ObsBandpass('walraven,v')