SVOCat Documentation

Version 2.2, March 2021, author: Carlos Rodrigo

HomeDownloadDocumentationExamplesCreditsHelp-Desk
1. Introduction
2. Download
    2.1. Extract
    2.2. Permissions
3. The files
4. Example
5. Configure
    5.1. First
    5.2. Project
    5.3. Mysql
    5.4. Web
    5.5. VO options
    5.6. Fields
    5.7. Photometry
    5.8. Search Opts.
    5.9. File Paths
    5.10. Scripts
    5.11. Registry
    5.12. Spectra
    5.13. Links
    5.14. References
6. Edit
7. Web Design
    7.1. style.css
    7.2. Colors
    7.3. header.php
    7.4. footer.php
8. Extra tips
Previous   Next

Configuration

[First][Project][Mysql][Web][VO options][Fields][Photometry][Search Opts.][File Paths][Scripts][Registry][Spectra][Links][References]

Spectra

Some astronomical catalogues offer spectra either as the main product (as in spectral libraries) or together with other object properties.

In our small example catalogue we have one spectrum for each object. Each spectrum is an ascii file with two columns:

  • 1st column: wavelength in Angstrom.
  • 2nd column: normalized flux

For each spectrum we have a PNG file with a plot of the spectrum.

The name of each file is $filename0.txt for the ascii spectrum and $filename0.png for the plot. All the files are in the spectra folder.

where $filename0 is the object name without blank spaces and we have kept these names in the "filename0" column of our database table.

First, we need to tell SVOCat what spectra we want to offer, how to get the original files and what formats we want to make available.

For each of these spectra, we should give information about some important properties (if we can).

and, what is even more important, describe the spectrum columns, units, etc.

Once we have all this, the right URL to access one spectrum would be, for object "2MASSI J0328426%2B230205":

  • VOTable: http://www.mylab.com/catalogues/excat2/ssap.php?ID=2MASSIJ0825196%2B211552&label=spec_vot
  • ASCII: http://www.mylab.com/catalogues/excat2/ssap.php?ID=2MASSIJ0825196%2B211552&label=spec_txt

and the SSA implementation in SVOCat will generate the right output in the specified format (VOTables will be generated from the original ascii files).

Previous   Next