Closed kelle closed 1 year ago
Also seems like if we're gonna keep UCDs, they should be in the Photometry Filters table and not in the Photometry table.
I agree with these two changes. I think at some point we did consider PhotometryFilters to not have instrument/telescope but there were some arguments at the time against it. This change would greatly simplify the tables and the foreign key validation that the database tries to do.
Ok, so, the official filter names from the SVO usually include the specific instrument name so there's not a lot of duplicate use of filter names. This tells me that using the UCD (e.g., em.opt.J) is useful so that you can run a query to get all the J-band data without needing to know all the various names for J band filters. (e.g, 2MASS.J, WFCAM.J, VISTA.J, UKIDSS.J).
Having instrument and telescope on both the Photometry and PhotometryFilters table is still redundant. But I'm not sure which table to keep it on.
We're leaning towards removing Telescope and Instrument from PhotometryFilters.
But we want to keep UCD (e.g., em.J) in the PhotometryFilters table so that we can generate J-K plots, for example, which include lots of different J filters (MKO.J and 2MASS.J).
Also want to keep effective_wavelength
, but it doesn't need to be perfectly accurate.
The website uses effective wavelength to construct colours to ensure all are blue - red
if photfilters.at['effective_wavelength', bandtrue] >= \
photfilters.at['effective_wavelength', nextbandtrue]: # if not blue-red
continue
Can connect an approximate central wavelength in the PhotometryFilters table to allow this grouping of bands
instrument
from Photometry tableinstrument
and telescope
from PhotometryFiltersucd
from Photometryucd
to PhotometryFilters
Right now, we require Telescope and Instrument in the PhotometryFilters Table but I think that's redudant since those fields should be associated with a particular observation. For example, lots of different instrument/telescope combos use the SDSS filter set. I think we should remove those columns from the PhotometryFilters table and only require
band
.