Define and create the minimal schema required for a DIASource.
Returns
-------
schema : `lsst.afw.table.Schema`
Minimal schema for DIASources.
Definition at line 84 of file apdbSchema.py.
85 """ Define and create the minimal schema required for a DIASource.
89 schema : `lsst.afw.table.Schema`
90 Minimal schema for DIASources.
92 schema = afwTable.SourceTable.makeMinimalSchema()
93 schema.addField(
"diaObjectId", type=
'L',
94 doc=
'Unique identifier of the DIAObject this source is '
96 schema.addField(
"ccdVisitId", type=
'L',
97 doc=
'Id of the exposure and ccd this object was detected '
99 schema.addField(
"psFlux", type=
'D',
100 doc=
'Calibrated PSF flux of this source.')
101 schema.addField(
"psFluxErr", type=
'D',
102 doc=
'Calibrated PSF flux err of this source.')
103 schema.addField(
"flags", type=
'L',
104 doc=
'Quality flags for this DIASource.')
105 schema.addField(
"pixelId", type=
'L',
106 doc=
'Unique spherical pixelization identifier.')
110 @compiles(CreateTable,
"oracle")