diff --git a/database/README.md b/database/README.md deleted file mode 100644 index f78c5a1..0000000 --- a/database/README.md +++ /dev/null @@ -1,79 +0,0 @@ -# Database for speXtra - -Prototyping the speXtra database - -speXtra will be shipped with a single data file (besides the Vega spectrum) which -will contain the web location of the database - -The database will be organized as follow (re-using a bit the synphot CDBS structure) - - -``` -database -│ index.html -│ index.yml -│ -└───templates -│ │ -│ └─── library1 -│ │ │ contents.html -│ │ │ index.yml -│ │ │ spectral_template1.fits -│ │ │ spectral_template2.fits -│ │ │ ... -│ │ -│ └─── library2 -│ │ contents.html -│ │ index.yml -│ │ another_spectral_template1.ascii -│ │ ... -│ -└───extinction -│ │ extinction.html -│ │ extinction.yml -│ │ extinction_curve1.fits -│ │ extinction_curve2.fits -│ │ ... -│ -└───filters -``` - -# Libraries to add - -* [High-resolution Spectra for a Wide Range of Habitable Zone Planets around Sun-like Stars](https://arxiv.org/abs/2007.02420) - - - -# TODO - -Questions marks indicate that no decision has been made yet. - -* Add more filters to database - -* Spectra of bright objects? - -* Sky spectra at different resolutions? - -* Moon illumination? - - -* At the root directory, there should be a file describing the contents of -the database. Every time that data is added this file should be updated. - -* Ideally the format of the data file should allow to be displayed in a browser for -a quick look. Not sure if yaml fits the bill (hence the question marks) - - * yaml content can be acceptably displayed as markdown. Use something like - [zero-md](https://zerodevx.github.io/zero-md/) for that. - * [highlight.js](https://highlightjs.org/) is another option - -* Similarly each data directory should contain a file describing the contents, -like list of templates, a summary and references. - -* Data files should be readable by synphot - -* **Content files should be able to be parsed by speXtra and display the contents -to the user and/or pass them to the API** - -Following the same standard other datafiles can be added like filters, etc. - diff --git a/database/default_curves.yml b/database/default_curves.yml index 86f5245..722450b 100644 --- a/database/default_curves.yml +++ b/database/default_curves.yml @@ -1,3 +1,3 @@ -calzetti : "calzetti/starburst" -mw_diffuse : "cardelli/milkyway_diffuse" -mw_dense : "cardelli/milkyway_dense" +calzetti: "calzetti/starburst" +mw_diffuse: "cardelli/milkyway_diffuse" +mw_dense: "cardelli/milkyway_dense" diff --git a/database/default_filters.yml b/database/default_filters.yml index 314da1d..3787562 100644 --- a/database/default_filters.yml +++ b/database/default_filters.yml @@ -1,45 +1,45 @@ -U : "etc/U" -B : "etc/B" -V : "etc/V" -R : "etc/R" -I : "etc/I" -Z : "etc/Z" -Y : "etc/Y" -J : "etc/J" -H : "etc/H" -K : "etc/K" -Ks : "2MASS/2MASS.Ks" -L : "etc/L" -M : "etc/M" -N : "etc/N" -Q : "etc/Q" -u : "SLOAN/SDSS.u" -g : "SLOAN/SDSS.g" -r : "SLOAN/SDSS.r" -i : "SLOAN/SDSS.i" -z : "SLOAN/SDSS.z" -HAlpha : "Gemini/GMOS-N.Ha" -PaBeta : "Gemini/NIRI.PaBeta-G0221" -BrGamma : "Gemini/NIRI.BrG-G0218" -FUV : "GALEX/GALEX.FUV" -NUV : "GALEX/GALEX.NUV" -F435W : "HST/ACS_WFC.F435W" -F475W : "HST/ACS_WFC.F475W" -F606W : "HST/ACS_WFC.F606W" -F775W : "HST/ACS_WFC.F775W" -F814W : "HST/ACS_WFC.F814W" -F850LP : "HST/ACS_WFC.F850LP" -F105W : "HST/WFC3_IR.F105W" -F110W : "HST/WFC3_IR.F110W" -F125W : "HST/WFC3_IR.F125W" -F140W : "HST/WFC3_IR.F140W" -F160W : "HST/WFC3_IR.F160W" -ch1 : "Spitzer/IRAC.I1" -ch2 : "Spitzer/IRAC.I2" -ch3 : "Spitzer/IRAC.I3" -ch4 : "Spitzer/IRAC.I4" -W1 : "WISE/WISE.W1" -W2 : "WISE/WISE.W2" -W3 : "WISE/WISE.W3" -W4 : "WISE/WISE.W4" -G : "GAIA/GAIAO.G" +U: "etc/U" +B: "etc/B" +V: "etc/V" +R: "etc/R" +I: "etc/I" +Z: "etc/Z" +Y: "etc/Y" +J: "etc/J" +H: "etc/H" +K: "etc/K" +Ks: "2MASS/2MASS.Ks" +L: "etc/L" +M: "etc/M" +N: "etc/N" +Q: "etc/Q" +u: "SLOAN/SDSS.u" +g: "SLOAN/SDSS.g" +r: "SLOAN/SDSS.r" +i: "SLOAN/SDSS.i" +z: "SLOAN/SDSS.z" +HAlpha: "Gemini/GMOS-N.Ha" +PaBeta: "Gemini/NIRI.PaBeta-G0221" +BrGamma: "Gemini/NIRI.BrG-G0218" +FUV: "GALEX/GALEX.FUV" +NUV: "GALEX/GALEX.NUV" +F435W: "HST/ACS_WFC.F435W" +F475W: "HST/ACS_WFC.F475W" +F606W: "HST/ACS_WFC.F606W" +F775W: "HST/ACS_WFC.F775W" +F814W: "HST/ACS_WFC.F814W" +F850LP: "HST/ACS_WFC.F850LP" +F105W: "HST/WFC3_IR.F105W" +F110W: "HST/WFC3_IR.F110W" +F125W: "HST/WFC3_IR.F125W" +F140W: "HST/WFC3_IR.F140W" +F160W: "HST/WFC3_IR.F160W" +ch1: "Spitzer/IRAC.I1" +ch2: "Spitzer/IRAC.I2" +ch3: "Spitzer/IRAC.I3" +ch4: "Spitzer/IRAC.I4" +W1: "WISE/WISE.W1" +W2: "WISE/WISE.W2" +W3: "WISE/WISE.W3" +W4: "WISE/WISE.W4" +G: "GAIA/GAIAO.G" diff --git a/database/default_spectra.yml b/database/default_spectra.yml index 0289de7..f909033 100644 --- a/database/default_spectra.yml +++ b/database/default_spectra.yml @@ -1,5 +1,3 @@ -vega : "ref/vega" -sirus : "ref/sirius" -sun : "ref/sunHR" - - +vega: "ref/vega" +sirus: "ref/sirius" +sun: "ref/sunHR" diff --git a/database/index.yml b/database/index.yml index a5966b2..1f63165 100644 --- a/database/index.yml +++ b/database/index.yml @@ -1,40 +1,32 @@ -# Database contents - libraries: - ref : A library of reference stars - kc96 : Kinney-Calzetti Atlas - pickles : Pickles Stellar Library - dobos : SDSS galaxy composite spectra - irtf : IRTF spectral library - agn : AGN templates - nebulae : Emission line nebulae - brown : Galaxy SEDs from the UV to the Mid-IR - kurucz : Subset of Kurucz 1993 Models - sne : Supernova Legacy Survey - moehler : flux/telluric standards with X-Shooter - madden : High-Resolution Spectra of Habitable Zone Planets - bosz/hr : BOSZ stellar atmosphere Grid - High Resolution - bosz/mr : BOSZ stellar atmosphere Grid - Medium Resolution - bosz/lr : BOSZ stellar atmosphere Grid - Low Resolution - sky : Paranal sky background spectra - shapley : Rest-Frame Ultraviolet Spectra of z ∼ 3 Lyman Break Galaxies - etc/kinney : ESO ETC version of the Kinney-Calzetti Atlas - etc/kurucz : ESO ETC subset of the Kurucz 1993 models - etc/marcs/p : ESO ETC subset of the MARCS Stellar Models with Plane Parallel Geometry - etc/marcs/s : ESO ETC subset of the MARCS Stellar Models with Spherical Geometry - etc/misc : Other templates, nubulae and qso - etc/pickles : ESO ETC subset of the Pickles stellar library - + ref: Library of reference stars + kc96: Kinney-Calzetti Atlas + pickles: Pickles Stellar Library + dobos: SDSS galaxy composite spectra + irtf: IRTF spectral library + agn: AGN templates + nebulae: Emission line nebulae + brown: Galaxy SEDs from the UV to the Mid-IR + kurucz: Subset of Kurucz 1993 Models + sne: Supernova Legacy Survey + moehler: flux/telluric standards with X-Shooter + madden: High-Resolution Spectra of Habitable Zone Planets + bosz/hr: BOSZ stellar atmosphere Grid - High Resolution + bosz/mr: BOSZ stellar atmosphere Grid - Medium Resolution + bosz/lr: BOSZ stellar atmosphere Grid - Low Resolution + sky: Paranal sky background spectra + shapley: Rest-Frame Ultraviolet Spectra of z ∼ 3 Lyman Break Galaxies + etc/kurucz: ESO ETC subset of the Kurucz 1993 models + etc/marcs/p: ESO ETC subset of the MARCS Stellar Models with Plane Parallel Geometry + etc/marcs/s: ESO ETC subset of the MARCS Stellar Models with Spherical Geometry + etc/misc: Other templates, nubulae and qso -# here go the extinction curves extinction_curves: - gordon : LMC and SMC extinction laws - cardelli : MW extinction laws - calzetti : extragalactic attenuation curves + gordon: LMC and SMC extinction laws + cardelli: MW extinction laws + calzetti: extragalactic attenuation curves -# here go filters not found at SVO filter_systems: - elt/micado : MICADO filters - elt/metis : METIS filters - etc : ESO ETC standard filters - + elt/micado: MICADO filters + elt/metis: METIS filters + etc: ESO ETC standard filters diff --git a/database/libraries/agn/AA_README_AGN b/database/libraries/agn/AA_README_AGN deleted file mode 100644 index a3fe784..0000000 --- a/database/libraries/agn/AA_README_AGN +++ /dev/null @@ -1,53 +0,0 @@ - - - THE AGN ATLAS - - -This atlas contains a few spectral templates of AGNs covering the -ultraviolet to near-infrared spectral range (see Table 1 for spectral -coverage). The LINER and Seyfert 2 templates have been obtained with the -large aperture (10" by 20") and low resolution spectrographs of the IUE -satellite. The optical spectra were obtained through a long slit with a 10" -width, were a window of 20" long was extracted to mach the IUE aperture -(Calzetti 1995, private comm.). The flux of the LINER and Seyfert2 templates -is normalized to a Johnson visual magnitude of 12.5 (STMAG). - -The Seyfert1 template consists of an UV spectrum obtained with the IUE low -resolution spectrographs and of a ground-based optical spectrum. The bright -QSO template is a composite spectrum from the Large Bright Quasar Survey -of Francie and collaborators (1991). The Seyfert1 and QSO spectral -templates are normalized to a Johnson blue magnitude of 12.5 (STMAG). - -The NGC 1068 template is a composite spectrum. The continuum contains the -nebular, stellar, and power-law contributions. The observed fluxes and FWHM -of the UV, optical and near-IR emission lines are also incorporated into the -template (J.R. Walsh, private comm; read also the header of the STSDAS binary -for further details). - -Details about how each template has been constructed can be found in the header -of the STSDAS binary file, or in the references given above. The header can be -read using the tupar task of the IRAF ttools package. STSDAS files can also be -dumped into an ASCII formatted file using the tdump task of the IRAF ttools package. - - - - - Table: List of Templates in the AGN Atlas - - - File Name Spectral coverage Comments - (angstroms) - - -liner_template 1235 - 7550 spectrum of M81 -seyfert2_template 1235 - 9945 average of various spectra -seyfert1_template 1132 - 7078 spectrum of NGC 5548 -qso_template 800 - 6000 average of various spectra -ngc1068_template 1000 - 11000 model: lines + cont. - - - -References ----------- - - Francis et al. 1991, ApJ 373, 465. diff --git a/database/libraries/etc/kinney/index.yml b/database/libraries/etc/kinney/index.yml deleted file mode 100644 index 5e6c74d..0000000 --- a/database/libraries/etc/kinney/index.yml +++ /dev/null @@ -1,68 +0,0 @@ -# THE KINNEY-CALZETTI SPECTRAL ATLAS OF GALAXIES - -library_name : etc/kinney - -type : galaxies - -title : The Kinney-Calzetti Spectral Atlas of Galaxies (ESO ETC version) - -summary : | - This is the ESO ETC version of the Kinney-Calzetti Spectral Atlas of Galaxies - - All spectra start at 1000A (bulge at 1235). - bulge and sc templates ends at ~7550A, - - WARNING!!! SPECTRA BEYOND 10000A (1 um) ARE NOT RELIABLE - - -reference : Kinney, A.L., Calzetti, D., Bohlin, R.C., McQuade, K., Storchi-Bergmann, T. & Schmitt, H.R. 1996, ApJ, 467, 38 - -link : "http://www.stsci.edu/hst/instrumentation/reference-data-for-calibration-and-tools/astronomical-catalogs/the-kinney-calzetti-spetral-atlas" - -spectral_coverage : - - uv - - vis - - nir - -resolution : 10 - -wave_unit: Angstrom - -flux_unit : FLAM - -wave_column_name : WAVELENGTH - -flux_column_name : FLUX - -data_type: ascii - -file_extension: .dat - -templates: # comments - ell : null - bulge : ends at 7545A - s0 : null - sa : null - sb : null - sc : end at 7660A - sb1 : starburst with E(B-V)<0.1 - sb2 : starburst with 0.11