| 1 |
.. _pysynphot-appendixa: |
| 2 |
|
| 3 |
***************************************** |
| 4 |
Appendix A: Catalogs and Spectral Atlases |
| 5 |
***************************************** |
| 6 |
|
| 7 |
There are several spectral atlases consisting of both observed |
| 8 |
and model data, which are available in FITS table format for use |
| 9 |
with **pysynphot**. They are as tabulated below. |
| 10 |
|
| 11 |
Current descriptions and access to all available |
| 12 |
calibration spectra and astronomical catalogs be found at the |
| 13 |
`CRDS website <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs.html>`_, |
| 14 |
which supersedes this documentation in case of conflicting information. |
| 15 |
The data files are available at STScI on all science computing clusters in the |
| 16 |
``$PYSYN_CDBS`` directory. Off-site users can obtain these data via |
| 17 |
HTTP (see :ref:`pysynphot-installation-setup`). |
| 18 |
|
| 19 |
Stellar models: |
| 20 |
|
| 21 |
+-------------------------------------+-------------------------------+--------------+ |
| 22 |
|Atlas/Catalog |Installation Path |Interpolatable| |
| 23 |
+=====================================+===============================+==============+ |
| 24 |
|:ref:`pysynphot-appendixa-ck04` |$PYSYN_CDBS/grid/ck04models |Yes | |
| 25 |
+-------------------------------------+-------------------------------+ | |
| 26 |
|:ref:`pysynphot-appendixa-kurucz1993`|$PYSYN_CDBS/grid/k93models | | |
| 27 |
+-------------------------------------+-------------------------------+ | |
| 28 |
|:ref:`pysynphot-appendixa-phoenix` |$PYSYN_CDBS/grid/phoenix | | |
| 29 |
+-------------------------------------+-------------------------------+--------------+ |
| 30 |
|:ref:`pysynphot-appendixa-calspec` |$PYSYN_CDBS/calspec |No | |
| 31 |
+-------------------------------------+-------------------------------+ | |
| 32 |
|:ref:`pysynphot-appendixa-pickles` |$PYSYN_CDBS/grid/pickles | | |
| 33 |
+-------------------------------------+-------------------------------+ | |
| 34 |
|:ref:`pysynphot-appendixa-bkmodels` |$PYSYN_CDBS/grid/bkmodels | | |
| 35 |
+-------------------------------------+-------------------------------+ | |
| 36 |
|:ref:`pysynphot-appendixa-bz77` |$PYSYN_CDBS/grid/bz77 | | |
| 37 |
+-------------------------------------+-------------------------------+ | |
| 38 |
|:ref:`pysynphot-appendixa-gs` |$PYSYN_CDBS/grid/gunnstryker | | |
| 39 |
+-------------------------------------+-------------------------------+ | |
| 40 |
|:ref:`pysynphot-appendixa-bpgs` |$PYSYN_CDBS/grid/bpgs | | |
| 41 |
+-------------------------------------+-------------------------------+ | |
| 42 |
|:ref:`pysynphot-appendixa-jacobi` |$PYSYN_CDBS/grid/jacobi | | |
| 43 |
+-------------------------------------+-------------------------------+--------------+ |
| 44 |
|
| 45 |
Non-stellar models: |
| 46 |
|
| 47 |
+-------------------------------------+-------------------------------+--------------+ |
| 48 |
|Atlas/Catalog |Installation Path |Interpolatable| |
| 49 |
+=====================================+===============================+==============+ |
| 50 |
|:ref:`pysynphot-appendixa-bc95` |$PYSYN_CDBS/grid/bc95/templates|No | |
| 51 |
+-------------------------------------+-------------------------------+ | |
| 52 |
|:ref:`pysynphot-appendixa-kc96` |$PYSYN_CDBS/grid/kc96 | | |
| 53 |
+-------------------------------------+-------------------------------+ | |
| 54 |
|:ref:`pysynphot-appendixa-agn` |$PYSYN_CDBS/grid/agn | | |
| 55 |
+-------------------------------------+-------------------------------+ | |
| 56 |
|:ref:`pysynphot-appendixa-galactic` |$PYSYN_CDBS/grid/galactic | | |
| 57 |
+-------------------------------------+-------------------------------+ | |
| 58 |
|:ref:`pysynphot-appendixa-brown` |$PYSYN_CDBS/grid/brown | | |
| 59 |
+-------------------------------------+-------------------------------+ | |
| 60 |
|:ref:`pysynphot-appendixa-etcsource` |$PYSYN_CDBS/etc/source | | |
| 61 |
+-------------------------------------+-------------------------------+--------------+ |
| 62 |
|
| 63 |
|
| 64 |
.. _pysynphot-appendixa-ck04: |
| 65 |
|
| 66 |
Castelli-Kurucz Atlas |
| 67 |
===================== |
| 68 |
|
| 69 |
The ``$PYSYN_CDBS/grid/ck04models`` directory contains ATLAS9 stellar atmosphere |
| 70 |
models by Castelli & Kurucz 2004. There are about 4300 models for a wide range |
| 71 |
of metallicities, effective temperatures and gravities. The ones available |
| 72 |
in CRDS are from "the Grids of ATLAS9-ODFNEW Models and Fluxes" from |
| 73 |
`Dr. F. Castelli's webpage <http://wwwuser.oats.inaf.it/castelli/grids.html>`_ |
| 74 |
(created on January 2007) and also available from |
| 75 |
`Dr. R. Kurucz's webpage <http://kurucz.harvard.edu>`_. See |
| 76 |
`Castelli-Kurucz 2004 atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/castelli-and-kurucz-atlas.html>`_ |
| 77 |
for more details. |
| 78 |
The atlas data files are organized in a similar naming convention as |
| 79 |
:ref:`pysynphot-appendixa-kurucz1993`, and are easily accessible using |
| 80 |
`~pysynphot.catalog.Icat` (also see :ref:`pysynphot-spec-atlas`). |
| 81 |
|
| 82 |
The example below generates a spectrum with metallicity ``[M/H] = +0.1``, |
| 83 |
temperature :math:`T_{\mathrm{eff}} = 10000 \mathrm{K}`, and gravity |
| 84 |
:math:`\log g = 3.0`: |
| 85 |
|
| 86 |
>>> sp = S.Icat('ck04models', 10000, 0.1, 3.0) |
| 87 |
|
| 88 |
|
| 89 |
.. _pysynphot-appendixa-kurucz1993: |
| 90 |
|
| 91 |
Kurucz Atlas |
| 92 |
============ |
| 93 |
|
| 94 |
The ``$PYSYN_CDBS/grid/k93models`` directory contains the Kurucz 1993 Atlas |
| 95 |
of Model Atmospheres. The atlas contains about 7600 stellar |
| 96 |
atmosphere models for a wide range of metallicities, effective temperatures, |
| 97 |
and gravities. These LTE models have improved opacities |
| 98 |
and are computed with a finer wavelength and temperature resolution |
| 99 |
than the :ref:`pysynphot-appendixa-bkmodels`. |
| 100 |
The micro-turbulent velocity is 2 km/s. |
| 101 |
This atlas is installed in CRDS from the Kurucz database at |
| 102 |
Goddard Space Flight Center. The original atlas (CD-ROM No. 13) |
| 103 |
was created on August 22, 1993 and can be obtained from Dr. R. Kurucz. |
| 104 |
Considering that the entire atlas occupies close to 70 MB of disk space, |
| 105 |
many applications could be satisfied by a copy of the solar metallicity |
| 106 |
spectra only (Table 2 of the README file). |
| 107 |
See |
| 108 |
`Kurucz 1993 atlas README file <https://archive.stsci.edu/hlsps/reference-atlases/cdbs/grid/k93models/AA_README>`_ |
| 109 |
for more details. |
| 110 |
|
| 111 |
The models are in ``flam`` *surface* flux units. If the number of counts or the |
| 112 |
absolute flux is needed, the model spectrum must be |
| 113 |
:ref:`renormalized <pysynphot-renorm>` appropriately. |
| 114 |
|
| 115 |
The following example shows the header from one of the atlas data files. |
| 116 |
This file contains all the models for a star of metallicity |
| 117 |
``[M/H] = 0.0`` (``p00``) and effective temperature |
| 118 |
:math:`T_{\mathrm{eff}} = 8000 \mathrm{K}` (``8000``), which cover a |
| 119 |
range of gravities from :math:`\log g = +1.0` (``g10``) to |
| 120 |
:math:`\log g = +5.0` (``g50``). |
| 121 |
In this example, :math:`\log g = +0.0` and :math:`\log g = +0.5` are unavailable, |
| 122 |
thus ``g00`` and ``g05`` are not listed in the header, and their corresponding |
| 123 |
columns in the file are filled with zeroes. |
| 124 |
|
| 125 |
>>> from astropy.io import fits |
| 126 |
>>> filename = os.path.join( |
| 127 |
... os.environ['PYSYN_CDBS'], 'grid', 'k93models', 'kp00', 'kp00_8000.fits') |
| 128 |
>>> hdr = fits.getheader(filename) |
| 129 |
>>> hdr |
| 130 |
SIMPLE = T / file does conform to FITS standard |
| 131 |
BITPIX = 16 / number of bits per data pixel |
| 132 |
NAXIS = 0 / number of data axes |
| 133 |
EXTEND = T / FITS dataset may contain extensions |
| 134 |
COMMENT FITS (Flexible Image Transport System) format defined in Astronomy and |
| 135 |
COMMENT Astrophysics Supplement Series v44/p363, v44/p371, v73/p359, v73/p365. |
| 136 |
COMMENT Contact the NASA Science Office of Standards and Technology for the |
| 137 |
COMMENT FITS Definition document #100 and other FITS information. |
| 138 |
ORIGIN = 'STScI-STSDAS/TABLES' / Tables version 1999-03-22 |
| 139 |
FILENAME= 'kp00_8000.fits' / name of file |
| 140 |
TEFF = 8000 |
| 141 |
LOG_Z = 0.00000000000000E+00 |
| 142 |
HISTORY g10 |
| 143 |
HISTORY g15 |
| 144 |
HISTORY g20 |
| 145 |
HISTORY g25 |
| 146 |
HISTORY g30 |
| 147 |
HISTORY g35 |
| 148 |
HISTORY g40 |
| 149 |
HISTORY g45 |
| 150 |
HISTORY g50 |
| 151 |
HISTORY Kurucz model atmospheres (1993) |
| 152 |
HISTORY Fluxes tabulated in units of erg/s/cm^2/A |
| 153 |
HISTORY are surface fluxes. To transform to observed |
| 154 |
HISTORY fluxes multiply by (R/D)^2 where R is the |
| 155 |
HISTORY radius of the star and D the distance. |
| 156 |
HISTORY Each column in the table represents the |
| 157 |
HISTORY spectrum of a star for the same metallicity |
| 158 |
HISTORY and effective temperature but different gravity. |
| 159 |
|
| 160 |
The example below shows you how to manually select the flux for a specific |
| 161 |
model characterized by a given metallicity, effective temperature, and gravity. |
| 162 |
The filename ``kp01_10000`` means ``[M/H] = +0.1`` (``p01``) and |
| 163 |
:math:`T_{\mathrm{eff}} = 10000 \mathrm{K}` (``10000``). The column |
| 164 |
name ``g30`` means :math:`\log g = 3.0`: |
| 165 |
|
| 166 |
>>> filename = os.path.join( |
| 167 |
... os.environ['PYSYN_CDBS'], 'grid', 'k93models', 'kp01', 'kp01_10000.fits') |
| 168 |
>>> spec = fits.getdata(filename) |
| 169 |
>>> wave = spec['WAVELENGTH'] |
| 170 |
>>> flux = spec['g30'] |
| 171 |
|
| 172 |
The easier way to to use `~pysynphot.catalog.Icat` (also see |
| 173 |
:ref:`pysynphot-spec-atlas`). Equivalent to the example above: |
| 174 |
|
| 175 |
>>> sp = S.Icat('k93models', 10000, 0.1, 3.0) |
| 176 |
|
| 177 |
|
| 178 |
.. _pysynphot-appendixa-phoenix: |
| 179 |
|
| 180 |
Phoenix Models |
| 181 |
============== |
| 182 |
|
| 183 |
The ``$PYSYN_CDBS/grid/phoenix`` directory contains models provided by |
| 184 |
`F. Allard et al. <http://perso.ens-lyon.fr/france.allard/>`_ |
| 185 |
and can be found in the |
| 186 |
`Star, Brown Dwarf, and Planet Simulator <https://phoenix.ens-lyon.fr/simulator/index.faces>`_. They use static, spherical symmetric, 1D simulations to completely |
| 187 |
describe the atmospheric emission spectrum. The models account for the |
| 188 |
formation of molecular bands, such as those of water vapor, methane, or |
| 189 |
titanium dioxide, solving for the transfer equation over more than 20,000 |
| 190 |
wavelength points on average, producing synthetic spectra with 2 Angstroms |
| 191 |
resolution. The line selection is repeated at each iteration of the model |
| 192 |
until it has converged and the thermal structure obtained. The models here |
| 193 |
are calculated with a cloud model, valid across the entire parameter range. |
| 194 |
See |
| 195 |
`Phoenix models README file <https://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/phoenix-models-available-in-synphot>`_ |
| 196 |
for more details. |
| 197 |
The atlas data files are organized in a similar naming convention as |
| 198 |
:ref:`pysynphot-appendixa-kurucz1993`, and are easily accessible using |
| 199 |
`~pysynphot.catalog.Icat` (also see :ref:`pysynphot-spec-atlas`). |
| 200 |
|
| 201 |
The example below generates a spectrum with metallicity ``[M/H] = +0.1``, |
| 202 |
temperature :math:`T_{\mathrm{eff}} = 10000 \mathrm{K}`, and gravity |
| 203 |
:math:`\log g = 3.0`: |
| 204 |
|
| 205 |
>>> sp = S.Icat('phoenix', 10000, 0.1, 3.0) |
| 206 |
|
| 207 |
|
| 208 |
.. _pysynphot-appendixa-calspec: |
| 209 |
|
| 210 |
HST Calibration Spectra |
| 211 |
======================= |
| 212 |
|
| 213 |
The ``$PYSYN_CDBS/calspec`` directory contains the composite stellar spectra |
| 214 |
that are the fundamental flux standards for HST calibrations. All |
| 215 |
files are in machine-independent binary FITS table format. Information |
| 216 |
about the pedigree of a given spectrum is in the header of the FITS |
| 217 |
table file, which can be read using `astropy.io.fits`. The example below reads |
| 218 |
the header from G191B2B spectrum and then loads it into **pysynphot**: |
| 219 |
|
| 220 |
>>> from astropy.io import fits |
| 221 |
>>> filename = os.path.join( |
| 222 |
... os.environ['PYSYN_CDBS'], 'calspec', 'g191b2b_mod_010.fits') |
| 223 |
>>> hdr = fits.getheader(filename) |
| 224 |
>>> hdr |
| 225 |
SIMPLE = T / Fits standard |
| 226 |
BITPIX = 16 / Bits per pixel |
| 227 |
NAXIS = 0 / Number of axes |
| 228 |
EXTEND = T / File may contain extensions |
| 229 |
ORIGIN = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator |
| 230 |
DATE = '2015-01-06T17:00:20' / Date FITS file was generated |
| 231 |
IRAF-TLM= '2015-01-06T17:00:24' / Time of last modification |
| 232 |
SOURCE = 'Bohlin, Gordon, Tremblay 2014, PASP, 126, 711' / |
| 233 |
COMMENT = 'Rauch: METAL LINE BLANKETED NLTE MODEL' / |
| 234 |
TEFFGRAV= '59000/7.60' /Teff/log g for model |
| 235 |
DESCRIP = 'MODEL Fluxes ------------------------------------------------------' |
| 236 |
DBTABLE = 'CRSPECTRUM' / |
| 237 |
TARGETID= 'G191B2B_MOD' / |
| 238 |
AIRMASS = 0.00000 /mean airmass of the observation |
| 239 |
USEAFTER= 'Jan 01 2000 00:00:00' / |
| 240 |
PEDIGREE= 'MODEL ' / |
| 241 |
WMIN = 100.000000000 /Minimum Wavelength |
| 242 |
WMAX = 400104.068000 /Maximum Wavelength |
| 243 |
FILENAME= 'g191b2b_mod_010.fits' / |
| 244 |
HISTORY Model directory: /internal/1/models/rauch/ |
| 245 |
HISTORY Model 0059000_7.60_ABUND_015_LF_000100-400000 |
| 246 |
HISTORY Vega Flux at 5557.5A (5556 air) = 3.44e-9 erg s-1 cm-2 A-1 |
| 247 |
HISTORY Vega & Star elect/s= 12326689.78 237.70 |
| 248 |
HISTORY Model Reddened by E(B-V)=0.0005 |
| 249 |
HISTORY Model Normalization factor= 2.1760340e-30 |
| 250 |
HISTORY Written by newmakstd.pro 23-Dec-2014 10:15:43.00 |
| 251 |
HISTORY Vacuum Wavelengths |
| 252 |
HISTORY UNITS: Wavelength(Angstroms), Flux(erg s-1 cm-2 Ang-1) |
| 253 |
HISTORY Vega Flux(5556A)=3.44e-9 (Bohlin 2014, AJ, 147, 127) |
| 254 |
HISTORY INPUT FILE: /internal/1/wd/dat/g191.rauch59000-nlte |
| 255 |
HISTORY Written by MAKE_MOD_CALSPEC.pro 23-Dec-2014 10:20:09.00 |
| 256 |
>>> sp = S.FileSpectrum(filename) |
| 257 |
|
| 258 |
Note that in some cases, the calibration spectrum is truncated in the blue or |
| 259 |
the red at wavelength longer or shorter, respectively, than the sensitivity |
| 260 |
limit of the instrument. As a result, **pysynphot** may underestimate the total |
| 261 |
counts. Users should check that the wavelength range of the spectrum they are |
| 262 |
using is compatible with the wavelength range of the calculation they require. |
| 263 |
|
| 264 |
See `CALSPEC Calibration Database <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/calspec.html>`_ |
| 265 |
for available spectra and their descriptions. |
| 266 |
|
| 267 |
|
| 268 |
.. _pysynphot-appendixa-pickles: |
| 269 |
|
| 270 |
Pickles Library |
| 271 |
=============== |
| 272 |
|
| 273 |
The ``$PYSYN_CDBS/grid/pickles`` directory contains the stellar spectral flux |
| 274 |
library by :ref:`Pickles (1998) <synphot-ref-pickles1998>`. |
| 275 |
This library of wide spectral coverage, consists of 131 flux calibrated |
| 276 |
stellar spectra, encompassing all normal spectral types and luminosity |
| 277 |
classes at solar abundance, and metal-weak and metal-rich F-K dwarf |
| 278 |
and G-K giant components. Each spectrum in the library is a combination of |
| 279 |
several sources overlapping in wavelength coverage. See |
| 280 |
`Pickles library README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/pickles-atlas.html>`_ |
| 281 |
for more details. |
| 282 |
|
| 283 |
The library data were obtained from |
| 284 |
`its webpage <http://cdsarc.u-strasbg.fr/viz-bin/ftp-index?J/PASP/110/863>`_ and |
| 285 |
divided into two sub-directories below: |
| 286 |
|
| 287 |
* ``dat_uvi`` (a.k.a. UVILIB) groups all spectra derived from all UV, optical, |
| 288 |
and near-IR sources, in the wavelength range 1150-10620 Angstroms. |
| 289 |
It has complete spectral coverage for all components over this wavelength |
| 290 |
range. Its data files are named "pickles_ttt.fits", where ``ttt`` is a number |
| 291 |
ranging from 1 to 131. |
| 292 |
* ``dat_uvk`` (a.k.a. UVKLIB) groups all spectra that were derived by combining |
| 293 |
the UVILIB spectra with additional IR data to a long wavelength limit of |
| 294 |
25000 Angstroms. Its data files are named "pickles_uk_ttt.fits", where ``ttt`` |
| 295 |
is a number ranging from 1 to 131. |
| 296 |
|
| 297 |
The example below loads a source spectrum of spectral type G5V from the UVKLIB |
| 298 |
subset of the library: |
| 299 |
|
| 300 |
>>> filename = os.path.join( |
| 301 |
... os.environ['PYSYN_CDBS'], 'grid', 'pickles', 'dat_uvk', 'pickles_uk_27.fits') |
| 302 |
>>> sp = S.FileSpectrum(filename) |
| 303 |
|
| 304 |
|
| 305 |
.. _pysynphot-appendixa-bkmodels: |
| 306 |
|
| 307 |
Buser-Kurucz Atlas |
| 308 |
================== |
| 309 |
|
| 310 |
The ``$PYSYN_CDBS/grid/bkmodels`` directory contains an extensive collection |
| 311 |
of Kurucz model atmosphere spectra provided by R. Buser, covering a wide range |
| 312 |
in metallicity, effective temperature, and gravity. For all the spectra, fluxes |
| 313 |
are given mostly with a resolution of 25 Angstroms on a uniform grid of |
| 314 |
wavelengths from the UV to the IR. Thus, the atlas is especially suited for |
| 315 |
synthetic photometry applications, including the calibration and the |
| 316 |
interpretation of HST observations |
| 317 |
(:ref:`Koornneef et al. 1986 <synphot-ref-koornneef1986>`). |
| 318 |
The atlas is grouped into different "blocks" (A, B, C, D, M, and S), |
| 319 |
corresponding to the physical distinctions of their underlying model |
| 320 |
atmospheres. It consists of 1434 files, each of which represents a metal-line |
| 321 |
blanketed flux spectrum for a theoretical stellar model atmosphere. |
| 322 |
Data files are named "bk_mnnnn.fits", where ``m`` is the block code and |
| 323 |
``nnnn`` the sequence number. See |
| 324 |
`Buser-Kurucz atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/buser-kurucz-atlas.html>`_ |
| 325 |
for more details, in including the mapping of filenames to their respective |
| 326 |
parameter specifications. |
| 327 |
|
| 328 |
The example below loads Block S (models for the Sun and Vega) with |
| 329 |
:math:`T_{\mathrm{eff}} = 5770 \mathrm{K}` and gravity |
| 330 |
:math:`\log g = 4.44`: |
| 331 |
|
| 332 |
>>> filename = os.path.join( |
| 333 |
... os.environ['PYSYN_CDBS'], 'grid', 'bkmodels', 'bk_s0001.fits') |
| 334 |
>>> sp = S.FileSpectrum(filename) |
| 335 |
|
| 336 |
|
| 337 |
.. _pysynphot-appendixa-bz77: |
| 338 |
|
| 339 |
Bruzual Atlas |
| 340 |
============= |
| 341 |
|
| 342 |
The ``$PYSYN_CDBS/grid/bz77`` directory contains 77 stellar spectra that are |
| 343 |
frequently used in the synthesis of galaxy spectra. They were provided by |
| 344 |
Gustavo Bruzual. Each spectrum is stored in a table named "bz_nn.fits", |
| 345 |
where ``nn`` runs from 1 to 77. See |
| 346 |
`Bruzual atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/bruzual-atlas.html>`_ |
| 347 |
for a mapping of filenames to their respective spectral types. |
| 348 |
|
| 349 |
The example below loads a source spectrum of spectral type G5V from the atlas: |
| 350 |
|
| 351 |
>>> filename = os.path.join( |
| 352 |
... os.environ['PYSYN_CDBS'], 'grid', 'bz77', 'bz_27.fits') |
| 353 |
>>> sp = S.FileSpectrum(filename) |
| 354 |
|
| 355 |
|
| 356 |
.. _pysynphot-appendixa-gs: |
| 357 |
|
| 358 |
Gunn-Stryker Atlas |
| 359 |
================== |
| 360 |
|
| 361 |
The ``$PYSYN_CDBS/grid/gunnstryker`` contains the optical spectrophotometric |
| 362 |
catalog of 175 stars, covering a complete range of spectral types and luminosity |
| 363 |
classes from the observations of |
| 364 |
:ref:`Gunn & Stryker (1983) <synphot-ref-gunn1983>`. |
| 365 |
The spectra cover the wavelength range 3130 to 10800 Angstroms. |
| 366 |
Each spectrum is stored in a table named "gs_nnn.fits", |
| 367 |
where ``nnn`` runs from 1 to 175. See |
| 368 |
`Gunn-Stryker atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/gunn-stryker-atlas-list.html>`_ |
| 369 |
for a mapping of filenames to their respective spectral types. |
| 370 |
|
| 371 |
The example below loads a source spectrum of spectral type G5V from the atlas: |
| 372 |
|
| 373 |
>>> filename = os.path.join( |
| 374 |
... os.environ['PYSYN_CDBS'], 'grid', 'gunnstryker', 'gs_44.fits') |
| 375 |
>>> sp = S.FileSpectrum(filename) |
| 376 |
|
| 377 |
|
| 378 |
.. _pysynphot-appendixa-bpgs: |
| 379 |
|
| 380 |
Bruzual-Persson-Gunn-Stryker Atlas |
| 381 |
================================== |
| 382 |
|
| 383 |
The ``$PYSYN_CDBS/grid/bpgs`` directory contains the extension of |
| 384 |
:ref:`pysynphot-appendixa-gs`, where the spectral data have been extended into |
| 385 |
both the UV and the IR. The IR data are from |
| 386 |
:ref:`Strecker et al. (1979) <synphot-ref-strecker1979>` and other unpublished |
| 387 |
sources. The IR and the optical data are tied together by the :math:`V – K` |
| 388 |
colors. |
| 389 |
Each spectrum is stored in a table named "bpgs_nnn.fits", |
| 390 |
where ``nnn`` runs from 1 to 175. See |
| 391 |
`Bruzual-Persson-Gunn-Stryker atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/bruzual-persson-gunn-stryker-atlas-list.html>`_ |
| 392 |
for a mapping of filenames to their respective spectral types. |
| 393 |
|
| 394 |
Note that the spectral data for all of the stars in this atlas have been |
| 395 |
arbitrarily renormalized to a *V* magnitude of zero. Therefore, in order to |
| 396 |
use these data for calculations of absolute photometry, they must be |
| 397 |
:ref:`renormalized <pysynphot-renorm>` to their appropriate absolute levels. |
| 398 |
In addition, the magnitudes and colors stored in their header keywords |
| 399 |
are not on the standard *UBVRI* system, but rather "scanner" magnitudes and |
| 400 |
colors that were synthesized by the authors from the observed spectra (see |
| 401 |
:ref:`Gunn & Stryker 1983 <synphot-ref-gunn1983>`). |
| 402 |
|
| 403 |
The example below loads a source spectrum of spectral type G5V from the atlas: |
| 404 |
|
| 405 |
>>> filename = os.path.join( |
| 406 |
... os.environ['PYSYN_CDBS'], 'grid', 'bpgs', 'bpgs_44.fits') |
| 407 |
>>> sp = S.FileSpectrum(filename) |
| 408 |
|
| 409 |
|
| 410 |
.. _pysynphot-appendixa-jacobi: |
| 411 |
|
| 412 |
Jacoby-Hunter-Christian Atlas |
| 413 |
============================= |
| 414 |
|
| 415 |
The ``$PYSYN_CDBS/grid/jacobi`` directory contains the optical |
| 416 |
spectrophotometric atlas of 161 stars having spectral classes O through M, |
| 417 |
and luminosity classes V, III, and I. The data are from the observations of |
| 418 |
:ref:`Jacoby, Hunter, & Christian (1984) <synphot-ref-jacoby1984>`. |
| 419 |
They cover the wavelength range 3510 to 7427 Angstroms at a resolution of |
| 420 |
approximately 4.5 Angstroms. |
| 421 |
Each spectrum is stored in a table named "jc_nnn.fits", |
| 422 |
where ``nnn`` runs from 1 to 161. See |
| 423 |
`Jacoby-Hunter-Christian atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/jacoby-hunter-christian-atlas.html>`_ |
| 424 |
for a mapping of filenames to their respective spectral types. |
| 425 |
|
| 426 |
The example below loads a source spectrum of spectral type G0V from the atlas: |
| 427 |
|
| 428 |
>>> filename = os.path.join( |
| 429 |
... os.environ['PYSYN_CDBS'], 'grid', 'jacobi', 'jc_43.fits') |
| 430 |
>>> sp = S.FileSpectrum(filename) |
| 431 |
|
| 432 |
|
| 433 |
.. _pysynphot-appendixa-bc95: |
| 434 |
|
| 435 |
Bruzual-Charlot Atlas |
| 436 |
===================== |
| 437 |
|
| 438 |
The ``$PYSYN_CDBS/grid/bc95/templates`` directory contains a library of galaxy |
| 439 |
spectra computed using the Isochrone Synthesis Spectral Evolutionary Code from |
| 440 |
Bruzual & Charlot (December 1995 version). The spectra represent bursts |
| 441 |
characterized by a Salpeter IMF with different ranges in lower and upper |
| 442 |
mass limits, and at several ages after the burst. |
| 443 |
Spectra for instantaneous and composite bursts are both available. |
| 444 |
Each spectrum has 1187 wavelength points covering the 0.01 to 100 microns range. |
| 445 |
The flux unit is solar luminosity per Angstrom. |
| 446 |
The nebular contribution to the SED (i.e., emission lines and nebular continuum) |
| 447 |
is not included in the spectra. See |
| 448 |
`Bruzual-Charlot atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/the-bruzual-charlot-atlas.html>`_ |
| 449 |
for available spectra and their descriptions. |
| 450 |
|
| 451 |
The example below loads a galaxy spectrum with Salpeter IMF containing mass |
| 452 |
limits from 0.1-30 :math:`M_{\odot}` and :math:`50 \times 10^{5}` year-old instantaneous burst: |
| 453 |
|
| 454 |
>>> filename = os.path.join( |
| 455 |
... os.environ['PYSYN_CDBS'], 'grid', 'bc95', 'templates', 'bc95_c_50E5.fits') |
| 456 |
>>> sp = S.FileSpectrum(filename) |
| 457 |
|
| 458 |
|
| 459 |
.. _pysynphot-appendixa-kc96: |
| 460 |
|
| 461 |
Kinney-Calzetti Atlas |
| 462 |
===================== |
| 463 |
|
| 464 |
The ``$PYSYN_CDBS/grid/kc96`` directory contains an homogeneous set of |
| 465 |
12 spectral templates of galaxies covering the UV, optical, and near-IR |
| 466 |
wavelength range up to about 1 micron. Templates include various morphological |
| 467 |
types (:ref:`Kinney et al. 1996 <synphot-ref-kinney1996>`) and starburst |
| 468 |
galaxies (:ref:`Calzetti et al. 1994 <synphot-ref-calzetti1994>`). |
| 469 |
The flux of the spectral templates has been normalized to a visual magnitude |
| 470 |
of 12.5 ``stmag``. See |
| 471 |
`Kinney-Calzetti atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/the-kinney-calzetti-spetral-atlas.html>`_ |
| 472 |
for more details. |
| 473 |
|
| 474 |
The example below loads a galaxy spectrum from the elliptical template: |
| 475 |
|
| 476 |
>>> filename = os.path.join( |
| 477 |
... os.environ['PYSYN_CDBS'], 'grid', 'kc96', 'elliptical_template.fits') |
| 478 |
>>> sp = S.FileSpectrum(filename) |
| 479 |
|
| 480 |
|
| 481 |
.. _pysynphot-appendixa-agn: |
| 482 |
|
| 483 |
AGN Atlas |
| 484 |
========= |
| 485 |
|
| 486 |
The ``$PYSYN_CDBS/grid/agn`` directory contains a few spectral templates of AGNs |
| 487 |
ranging from LINER to Seyfert and bright QSO (Calzetti 1995, private |
| 488 |
communication; :ref:`Francis et al. 1991 <synphot-ref-francis1991>`; |
| 489 |
J. R. Walsh, private communication). |
| 490 |
The flux of the LINER and Seyfert 2 templates is normalized to a Johnson *V* |
| 491 |
magnitude of 12.5 ``stmag``, while the Seyfert 1 and QSO templates are |
| 492 |
normalized to a Johnson *B* magnitude of 12.5 ``stmag``. See |
| 493 |
`AGN atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/the-agn-atlas.html>`_ |
| 494 |
for more details. |
| 495 |
|
| 496 |
The example below loads a Seyfert 2 spectrum: |
| 497 |
|
| 498 |
>>> filename = os.path.join( |
| 499 |
... os.environ['PYSYN_CDBS'], 'grid', 'agn', 'seyfert2_template.fits') |
| 500 |
>>> sp = S.FileSpectrum(filename) |
| 501 |
|
| 502 |
|
| 503 |
.. _pysynphot-appendixa-galactic: |
| 504 |
|
| 505 |
Galactic Atlas |
| 506 |
============== |
| 507 |
|
| 508 |
The ``$PYSYN_CDBS/grid/galactic`` directory contains the model spectra of |
| 509 |
Orion nebula and NGC 7009 planetary nebula (J. R. Walsh, private communication). |
| 510 |
See |
| 511 |
`Galactic atlas README file <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/the-galactic-emission-line-object-atlas.html>`_ |
| 512 |
for more details. |
| 513 |
|
| 514 |
The example below loads the spectrum for Orion nebula: |
| 515 |
|
| 516 |
>>> filename = os.path.join( |
| 517 |
... os.environ['PYSYN_CDBS'], 'grid', 'galactic', 'orion_template.fits') |
| 518 |
>>> sp = S.FileSpectrum(filename) |
| 519 |
|
| 520 |
|
| 521 |
.. _pysynphot-appendixa-brown: |
| 522 |
|
| 523 |
Brown Atlas |
| 524 |
=========== |
| 525 |
|
| 526 |
The ``$PYSYN_CDBS/grid/brown`` directory contains 129 spectral energy |
| 527 |
distributions for nearby galaxies, with wavelength coverage spanning from the |
| 528 |
ultraviolet to the mid-infrared |
| 529 |
(:ref:`Brown et al. 2014 <synphot-ref-brown2014>`). See |
| 530 |
`TRDS Brown Atlas <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/the-trds-brown-atlas>`_ |
| 531 |
for more details. |
| 532 |
|
| 533 |
The example below loads the spectrum for Arp 256 N: |
| 534 |
|
| 535 |
>>> filename = os.path.join( |
| 536 |
>>> os.environ['PYSYN_CDBS'], 'grid', 'brown', 'arp_256_n_spec.fits') |
| 537 |
>>> sp = FileSourceSpectrum(filename) |
| 538 |
|
| 539 |
|
| 540 |
.. _pysynphot-appendixa-etcsource: |
| 541 |
|
| 542 |
Other Non-Stellar Objects |
| 543 |
========================= |
| 544 |
|
| 545 |
The ``$PYSYN_CDBS/etc/source`` directory contains spectra for |
| 546 |
`various non-stellar objects used in ETC <http://etc.stsci.edu/etcstatic/users_guide/1_ref_2_spectral_distribution.html#non-stellar-spectra>`_. |
| 547 |
See `Non-stellar spectra <http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/non-stellar-spectra.html>`_ for more details. |
| 548 |
|
| 549 |
The example below loads a spectrum for Gliese 229B brown dwarf: |
| 550 |
|
| 551 |
>>> filename = os.path.join( |
| 552 |
... os.environ['PYSYN_CDBS'], 'etc', 'source', 'gl229b_001.dat') |
| 553 |
>>> sp = S.FileSpectrum(filename) |