UW LSST Database

Contents

Introduction

We created a database to hold image metadata and object data. The intent of the database is to allow us to compare photometry and clustering algorithms, measuring accuracy and performance, and to help us choose, adapt or design photometry code for LSST.

The database is named "lsst". It is implemented in MySQL and runs on ostrogoth.astro.washington.edu.

Here is an overview of the primary tables in the database.

Image Table

Metadata about images. Presently we have some SDSS data ingested (two runs from stripe 82). We intend to eventually ingest some other LSST Precursor Data. WCS information is kept in a separate set of tables (one per image source).

Object Table

Information about astronomical "objects", including detections from photometry calculations and clusters of those detections. A cluster is simply a combination of one or more entries from the Object table; this many to many relation is maintained by the TieClusterToObject Table.

AlgRun Table

Information about a particular run of a component, including the parameters used for that run and (in some cases) a measure of CPU and memory usage. (Accurately measuring CPU and memory usage of code tends to slow down that code. Thus we anticipate that most of our runs will be made without such monitoring.)

Tables

AlgRun

AlgRunIDBIGINTID of this run of this algorithm
PipelineRunIDBIGINTPipelineRunID for the pipeline that executed this run of this algorithm. Null if the algorithm is run independently of a pipeline.
AlgIndexSMALLINTIndex of algorithm within the run of the pipeline, starting from 0
AlgNameVARCHAR(50)Name of algorithm, one of Photo, DAOPhot, etc. To find the corresponding algorithm parameter table, append "Alg" to the name.
AlgVersionVARCHAR(50)Version of algorithm.
StartDateDATETIMEStarting UTC date and time.
CommentsVARCHAR(255)Comments about the algorithm run
CmdLineVARCHAR(255)Command line used to execute algorithm.
Params1TEXTParameters used to execute algorithm (i.e. a copy of the params file).
Params2TEXTA second set of parameters used to execute algorithm, if any
Params3TEXTA third set of parameters used to execute algorithm, if any
ParamTable1VARCHAR(50)Name of parameter table, if any.
ParamTable2VARCHAR(50)Name of second parameter table, if any.
ParamTable3VARCHAR(50)Name of third parameter table, if any.
ComputerVARCHAR(255)Name of computer(s) on which the algorithm was run. If more than one, comma-separated.
ProcessorVARCHAR(255)CPU info about the computer(s).
OSVARCHAR(255)Operating systems(s) on the computer(s).
NImagesBIGINTNumber of images processed by this algorithm. If images are both input and output, use input.
ImSizeFLOAT(0)Size of image processed by this algorithm (Mb). If images are both input and output, use input. If more than one size of image is processed, specify the average.
NObjectsBIGINTNumber of objects (detections) input or output. If objects are input and output, then specify the number input.
ElapsedSecFLOAT(0)Elapsed clock time (seconds) to execute the algorithm.
IngestSecFLOAT(0)Time required to ingest the data (sec).
CPUCyclesFLOAT(0)Number of cpu cycles used to execute the algorithm.
CPUCyclesErrFLOAT(0)Estimated std. dev. of CPUCycles
MemoryFLOAT(0)Total memory used to process the data (Mb)
MemoryErrFLOAT(0)Uncertainty in measure of memory (Mb)
InListMEDIUMTEXTList of files input to the algorithm.
OutListMEDIUMTEXTList of files successfully processed by the algorithm (possibly with errors; see ErrList for that info).
ErrListMEDIUMTEXTList of files for which non-fatal errors occured, and the associated errors.
NoSuccessMEDIUMTEXTList of files for which fatal errors occurred. These files do not appear in OutList.
LogMEDIUMTEXTLog from photpipe''s running of this algorithm.
ProcListMEDIUMTEXTList of files processed with start date and elapsed time.

APO2_5mWCS

ImageIDBIGINTEach Image has a WCS in this table which can be tracked using the ImageID.
FilterCHAR(1)One of u g r i z
InclDOUBLEInclination of scan
MJDDOUBLETAI (in MJD seconds) of readout of row 0. Note that is a different time than TAI in the Image table.
AirmassDOUBLEAirmass at center of frame.

DaophotPSFModel

PSFDataMEDIUMTEXTContents of psf file generated by DAOPhot

DophotPSFModel

sigma_xFLOAT(0)PSF shape parameter.
sigma_yFLOAT(0)PSF shape parameter.
sigma_xyFLOAT(0)PSF shape parameter.

Image

ImageIDBIGINTUnique identification number of the information from each Image header.
ImageNameVARCHAR(255)The LSST formatted file name, as an absolute path.
FilterVARCHAR(50)Filter designation for the FitsImage.
AmpTINYINTThe amplifier number for the SuperMACHO FitsImages.
CCDTINYINTThe CCD number for the SuperMACHO FitsImages.
FieldVARCHAR(50)Name of the field. The meaning depends on the data source. For SDSS this is the Frame. For SuperMACHO this is the Field.
RunMEDIUMINTRun number from SDSS images.
ReRunMEDIUMINTThe rerun number for SDSS images.
CamColTINYINTThe camcol number for the SDSS FitsImages.
AirmassFLOAT(0)The airmass of the observation. If possible, this should be at the center of the field and at the middle of the exposure time, but this is not guaranteed.
TAIDOUBLETAI (MJD) date of the observation (time at center of integration). For drift-scan data, this is the time for row 0. The TAI of row r is given by TAI + RowTime * r * days/sec. This works for all images because; RowTime is 0 for non-drift-scanned images.
UT1DOUBLEUT1 (MJD) date of observation (time at center of integration). For drift-scan data, this is the time for row 0. Null if unknown.
MJDMEDIUMINTMJD day (TAI or UTC) of the beginning of the night
ExpTimeDOUBLEExposure time of the observation (in TAI seconds).
RowTimeDOUBLEThe time between each row for drift-scanned data (in TAI seconds). 0 for non-drift-scanned data.
DataSourceVARCHAR(50)The DataSource lists the survey name from which the test Images were obtained (SM: SuperMACHO, SDSS: Sloan Digital Sky Survey, W: Essence, etc.). This is related to the WCS tables for each survey.
RawImageNameVARCHAR(255)Name of raw (uncalibrated) sky image.
MaskImageNameVARCHAR(255)The name of the Mask Image.
VarianceImageNameVARCHAR(255)Name of the Variance Image.
BiasImageNameVARCHAR(255)Name of the final Bias Image used to correct the science Image.
DarkImageNameVARCHAR(255)Name of the Dark Image used to correct the science Image.
FlatFieldNameVARCHAR(255)Name of the final flat field Image used to correct the science Image.
IllumImageNameVARCHAR(255)Name of the Illumination Correction Image used to correct the science Image.
FringeImageNameVARCHAR(255)Name of the Fringe Image used to correct the science Image.
UnremappedImageNameVARCHAR(255)Name of image from which this image was remapped
RemapTypeTINYINTType of remap performed, one of: 0: none, 1: Swarp, 2: WCSRemap
WCSTableVARCHAR(50)Name of table containing WCS information for this image
HTMIDLLBIGINTHTM ID corresponding to the LL corner of the data portion of the original science image area. The HTM keeps track of the RA,DEC positions of these four corners to define the science Image area.
HTMIDLRBIGINTHTM ID corresponding to the LR corner of the data portion of the original science image area. The HTM keeps track of the RA,DEC positions of these four corners to define the science Image area.
HTMIDULBIGINTHTM ID corresponding to the UL corner of the data portion of the original science image area. The HTM keeps track of the RA,DEC positions of these four corners to define the science Image area.
HTMIDURBIGINTHTM ID corresponding to the UR corner of the data portion of the original science image area. The HTM keeps track of the RA,DEC positions of these four corners to define the science Image area.
BinXMEDIUMINTBin factor along x
BinYMEDIUMINTBin factor along y
SizeXMEDIUMINTSize of the image in the x-direction (along rows) (binned pixels). Ignores overscan but includes regions that may be considered outside of the data portion of the image.
SizeYMEDIUMINTSize of the image in the y-direction (along colums) (binned pixels). Ignores overscan but includes regions that may be considered outside of the data portion of the image.
BiasFLOAT(0)Bias of the calibrated image (in ADUs).
ReadNoiseFLOAT(0)Read noise of the CCD (in e-).
GainFLOAT(0)Inverse gain of the CCD (in e-/ADU).
AzDOUBLEAzimuth of observation (deg), preferably at center of exposure at center of image and including refraction correction, but none of this is guaranteed.
AltDOUBLEAltitude of observation (deg), preferably at center of exposure at center of image and including refraction correction, but none of this is guaranteed.

MSO50inWCS

ImageIDBIGINTEach Image has a WCS in this table which can be tracked using the ImageID.
RADESYSVARCHAR(5)RA/Dec coordinate system - either FK5 or ICRS.
EquinoxFLOAT(0)Date of equinox of coordinate system (if not ICRS)
CTYPE1VARCHAR(50)WCS projection type for this axis.
CUNITVARCHAR(5)Axis unit.
CRVAL1DOUBLEWorld coordinate on this axis.
CRPIX1DOUBLEReference pixel on this axis.
CDELT1DOUBLEPixel step along this axis.
CD1_1DOUBLELinear projection matrix.
CD1_2DOUBLELinear projection matrix.
CTYPE2VARCHAR(50)WCS projection type for this axis.
CUNIT2VARCHAR(50)Axis unit.
CRVAL2DOUBLEWorld coordinate on this axis.
CRPIX2DOUBLEReference pixel on this axis.
CDELT2DOUBLEPixel step along this axis.
CD2_1DOUBLELinear projection matrix.
CD2_2DOUBLELinear projection matrix.

NOAO4mWCS

ImageIDBIGINTEach Image has a WCS in this table which can be tracked using the ImageID.
RADESYSVARCHAR(5)RA/Dec coordinate system - either FK5 or ICRS.
EquinoxFLOAT(0)Date of equinox of coordinate system (if not ICRS)
CTYPE1VARCHAR(50)WCS projection type for this axis.
CUNITVARCHAR(5)Axis unit.
CRVAL1DOUBLEWorld coordinate on this axis.
CRPIX1DOUBLEReference pixel on this axis.
CDELT1DOUBLEPixel step along this axis.
CD1_1DOUBLELinear projection matrix.
CD1_2DOUBLELinear projection matrix.
CTYPE2VARCHAR(255)WCS projection type for this axis.
CUNIT2VARCHAR(255)Axis unit.
CRVAL2DOUBLEWorld coordinate on this axis.
CRPIX2DOUBLEReference pixel on this axis.
CDELT2DOUBLEPixel step along this axis.
CD2_1DOUBLELinear projection matrix.
CD2_2DOUBLELinear projection matrix.
WAT0_001VARCHAR(255)Coordinate system

Object

ObjectIDBIGINTID number of Object.
AlgRunIDBIGINTID of algorithm run that generated this Detection. Null if not a Detection.
ImageIDBIGINTID of Image on which this Detection was found or this Missing Detection was not found. Null if not a Detection or a Missing Detection.
ObjNameVARCHAR(50)Source-specific identifier for this object. If from a reference catalog, then the object name in that catalog. If from a file of photometry results, then any idenitifier that algorithm outputs, else the number of the object in the file (e.g. 1 through # of objects in file).
CategoryTINYINTThe category of object. One of: -1: Missing source; 0: Reference object; 1: Source from an individual image; 2: Cluster of one or more child Objects.
ClassTINYINTClassification: star or other unresolved object=0, galaxy or other resolved object=1, unknown=Null
OrigClassVARCHAR(50)Classification as output by the photometry algorithm. The meaning depends on the photometry algorithm.
HTMIDBIGINTHierarchical Triangular Mesh ID.
RADOUBLEJ2000 right ascension (deg)
DeclDOUBLEJ2000 declination (deg). Note: named Decl because DEC is a reserved word in SQL.
UnitVecXDOUBLEX component of unit vector representation of RA, Dec
UnitVecYDOUBLEY component of unit vector representation of RA, Dec
UnitVecZDOUBLEZ component of unit vector representation of RA, Dec
CtrXFLOAT(0)Centroid in pixels in x (colc).
CtrXErrFLOAT(0)Uncertainty in Centroid X value.
CtrYFLOAT(0)Centroid, in pixels in y (rowc).
CtrYErrFLOAT(0)Unvertainty in centroid Y value.
PSFMagFLOAT(0)PSF flux.
PSFMagErrFLOAT(0)PSF flux error.
PetroMagFLOAT(0)Petrosian flux.
PetroMagErrFLOAT(0)Petrosian flux error.
ApDiaFLOAT(0)Diameter of aperture for ApMag, in pixels.
ApMagFLOAT(0)Aperture magnitude.
ApMagErrFLOAT(0)Uncertainty in aperature magnitude.
ModelMagFLOAT(0)Model Flux.
ModelMagErrFLOAT(0)Model Flux Uncertainty.
SkyFLOAT(0)Sky flux.
SkyErrFLOAT(0)Uncertainty in Sky Flux.
IxxFLOAT(0)Adaptive Second Moment 1.
IxxErrFLOAT(0)Uncertainty in adaptive second moment Ixx.
IyyFLOAT(0)Adaptive Second Moment 2.
IyyErrFLOAT(0)Uncertainty in adaptive second moment Iyy.
IxyFLOAT(0)Adaptive Second Moment 3.
IxyErrFLOAT(0)Uncertainty in adaptive second moment Ixy.
Flags1BIGINTError flags.
Flags2BIGINTMore error flags, if relevant.
PSFChiSqFLOAT(0)Likelyhood object is a star (0-1). SDSS calls this ''star_L''.
NumChildrenINTEGERNumber of children this Object has. Only relevant for a cluster (in which case it must not be null).
ReferenceCatalogVARCHAR(50)Name of the Reference Catalog from which this Object came. Null if not a Reference Object.

PhotoPSFModel

PSP_FIELD_UNKNOWNINTEGERthis should never happen
PSP_FIELD_OKINTEGEReverything OK
PSP_FIELD_PSF22INTEGERforced to take linear PSF across field
PSP_FIELD_PSF11INTEGERforced to take constant PSF across field
PSP_FIELD_NOPSFINTEGERforced to take default PSF
PSP_FIELD_ABORTEDINTEGERaborted processing
PSP_FIELD_MISSINGINTEGERmissing (dummy) field
PSP_FIELD_OE_TRANSIENTINTEGERfield with odd/even bias level transient
PSP_FIELD_STATUS_MASKINTEGERask defining which bits are used for status values; higher bits are available to be set with extra information
PSP_FIELD_EXTENDED_KLVARCHAR(50)Window for KL stars was extended (HEX value).
PSP_FIELD_SPARSEVARCHAR(50)field is sparsely populated with KL stars (HEX value)
PSP_FIELD_MAXVARCHAR(50)Maximum possible bit value in a +ve int (HEX value).
fieldINTEGERField sequence number within the run.
psp_statusINTEGERhe maximum value of "status" over all 5 filters. FILTER
skyFLOAT(0)The average sky value in the frame.
skySigFLOAT(0)Sigma of distribution of sky values.
skyErrFLOAT(0)The average sky value in the frame. (error)
skySlopeFLOAT(0)The slope in the sky value along the columns.
lbiasFLOAT(0)Left-hand bias level.
rbiasFLOAT(0)Right-hand bias level.
psf_nstarINTEGERNumber of stars used in psf measurement.
psf_ap_correctionErrFLOAT(0)Photometric error due to imperfect PSF model
psf_sigma1FLOAT(0)Inner gaussian sigma for the composite fit
psf_sigma2FLOAT(0)Outer gaussian sigma for the composite fit
psf_bFLOAT(0)Ratio of the inner PSF to the outer PSF at the
psf_p0FLOAT(0)The value of the power law at the origin.
psf_betaFLOAT(0)Slope of power law.
psf_sigmapFLOAT(0)Width parameter for power law.
psf_widthFLOAT(0)Effective PSF width, based on 2-Gaussian fit
psf_psfCountsFLOAT(0)Flux via fit to the PSF.
psf_b_2GFLOAT(0)Ratio of gaussian 2 to gaussian 1 at origin
prof_nprofINTEGERNumber of profile bins.
gainFLOAT(0)Gain averaged over all amplifiers.
dark_varianceVARCHAR(0)Dark variance? (is this a number or character (y,n?))???

PipelineRun

PipelineRunIDBIGINTUnique identification number associated with the pipeline configuration for the Run that produced the values for this Detection/Object/Object_Cluster.
PipelineNameVARCHAR(50)Name of the pipeline used for this Run. This will likely be either PHOTPIPE (SM/W pipeline) or PHOTO (SDSS pipeline).
PipelineVersionVARCHAR(50)Version of the pipeline used in this Run.
StartDateDATETIMEStart UTC date and time.
CommentsVARCHAR(255)Notes, if any, about the pipeline run.
CmdLineVARCHAR(255)Command line that initiated the pipeline run.

TangentWCS

ImageIDBIGINTEach Image has a WCS in this table which can be tracked using the ImageID.
RADESYSVARCHAR(5)RA/Dec coordinate system - either FK5 or ICRS.
EquinoxFLOAT(0)Date of equinox of coordinate system (if not ICRS)
CTYPE1VARCHAR(50)WCS projection type for this axis.
CUNITVARCHAR(5)Axis unit.
CRVAL1DOUBLEWorld coordinate on this axis.
CRPIX1DOUBLEReference pixel on this axis.
CDELT1DOUBLEPixel step along this axis.
CD1_1DOUBLELinear projection matrix.
CD1_2DOUBLELinear projection matrix.
CTYPE2VARCHAR(255)WCS projection type for this axis.
CUNIT2VARCHAR(255)Axis unit.
CRVAL2DOUBLEWorld coordinate on this axis.
CRPIX2DOUBLEReference pixel on this axis.
CDELT2DOUBLEPixel step along this axis.
CD2_1DOUBLELinear projection matrix.
CD2_2DOUBLELinear projection matrix.

TieClusterToObject

ChildIDBIGINTObjectID of child Object.
ClusterIDBIGINTObjectID of Cluster

TieImageToAlgRun

ImageIDBIGINTUnique identification number of the information from each Image header.
AlgRunIDBIGINTID of pipeline Run.
WasInputBOOLWas this an input image? (true-input, false=output)
NumDetectionsFoundBIGINTNumber of Detections found on this image. This is duplicate info, but allows us to throw away Detections and still retain the info.
NumArtifactsRejectedBIGINTThe number of artifacts rejected on this run. Null if this info is not available from the Object Detection Algorithm.
ElapsedSecFLOAT(0)Elapsed clock time (seconds) to execute the algorithm on this image.
PSFModelTableVARCHAR(50)Name of table that contains the PSF model for this particular photometry run of this particular image. Null if irrelevant (e.g. not a photometry run or an algorithm that has no psf model).

Files

The following files are available for viewing or download: