Photometric data from SDSS fits files

  • Thread starter Thread starter kris2010
  • Start date Start date
  • Tags Tags
    Data files
AI Thread Summary
Photometric data from the Sloan Digital Sky Survey (SDSS) is stored in the "PhotoObj" files, while spectroscopic data can be found in "SpecObjAll." To create photometric plots, users should match the best object IDs from their spectroscopic data with the photometric object IDs. A new query can be run to retrieve ugriz photometry by linking these IDs. It is recommended to choose model magnitudes for galaxies, and a sample SQL query is provided for retrieving relevant data.
kris2010
Messages
1
Reaction score
0
I have fits files from the Sloan Digital Sky Survey (SDSS) and I have been able to make plots of the spectral data in the spSpec files. I would like to make similar plots for comparison using the photometric(ugriz) data but I'm not sure where to find it. I believe it should be somewhere in the folder I downloaded from SDSS which contains a series of spSpec & spAtlas files along with a file for main_gals, spObj and spPlate. So which one of these fits files has what I need to make plots of photometric data?
 
Astronomy news on Phys.org
Hi, I don't know if this is too late for you, but here's the outline of what you need to do:

1. The photometric data is stored as "PhotoObj" in the SDSS, spectroscopic data is stored in SpecObjAll (check the schema)
2. If you have spectroscopic data, for each (galaxy?) (star?) you should have an object ID - this should be called bestObjID - ie the best spectra taken for that object. This is matched to the Photometric objID. If you don't have object id's, it's probably easier to re-submit the query to get them.
3. Run a new query (CAS) that retrieves ugriz photometry for the data you already have, by adding a "WHERE xx.bestObjID = yy.objID"

So... you should first of all ask yourself what type of photometry you want: Petrosian, Model, Kron, aperture? If you don't know, or are not sure, and your targets are galaxies, IMHO go for Model magnitudes, though Petrosian is possibly better for more local (galactic) targets.

Here's an example snippet that gets ugriz model mags, their errors and their extinction (Schlegel 1998?), as well as their spectroscopic redshift:

Code:
SELECT        TOP 10 p.objID, p.ra,p.dec, s.z as specz, s.zerr as specz_error,
              p.modelMag_u,p.modelMag_g, p.modelMag_r, p.modelMag_i, p.modelMag_z,
              p.modelMagErr_u, p.modelMagErr_g, p.modelMagErr_r, p.modelMagErr_i, p.modelMagErr_z,
              p.extinction_u as extinction_u, p.extinction_g as extinction_g, p.extinction_r as extinction_r, 
              p.extinction_i as extinction_i, p.extinction_z as extinction_z
FROM PhotoObjAll as p, SpecObjAll as s

WHERE (p.objID = s.bestObjID)
 
TL;DR Summary: In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect alien signals, it will further expand the radius of the so-called silence (or rather, radio silence) of the Universe. Is there any sense in this or is blissful ignorance better? In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect...
Thread 'Could gamma-ray bursts have an intragalactic origin?'
This is indirectly evidenced by a map of the distribution of gamma-ray bursts in the night sky, made in the form of an elongated globe. And also the weakening of gamma radiation by the disk and the center of the Milky Way, which leads to anisotropy in the possibilities of observing gamma-ray bursts. My line of reasoning is as follows: 1. Gamma radiation should be absorbed to some extent by dust and other components of the interstellar medium. As a result, with an extragalactic origin, fewer...
This hypothesis of scientists about the origin of the mysterious signal WOW seems plausible only on a superficial examination. In fact, such a strong coherent radiation requires a powerful initiating factor, and the hydrogen atoms in the cloud themselves must be in an overexcited state in order to respond instantly. If the density of the initiating radiation is insufficient, then the atoms of the cloud will not receive it at once, some will receive it earlier, and some later. But then there...
Back
Top