ApdbUpdateNDiaSourcesRecord#

class lsst.dax.apdb.ApdbUpdateNDiaSourcesRecord(*, diaObjectId: int, ra: float, dec: float, update_time_ns: int, update_order: int, nDiaSources: int)#

Bases: ApdbUpdateRecord, DiaObjectId

Record representing change in the number of associated sources of DIAObject.

Attributes Summary

apdb_table

Class variable defining APDB table that this update applies to, must be defined in all concrete subclasses.

dec

DIAObject dec, in degrees.

diaObjectId

ID of DIAObject record.

nDiaSources

New value for nDiaSources column for updated record.

ra

DIAObject ra, in degrees.

update_order

Record order in the update.

update_time_ns

Time in nanoseconds since epoch when update happened.

update_type

Class variable defining type of the update, must be defined in all concrete subclasses and be unique.

Attributes Documentation

apdb_table: ClassVar[ApdbTables] = 'DiaObject'#

Class variable defining APDB table that this update applies to, must be defined in all concrete subclasses.

dec: float#

DIAObject dec, in degrees. Not required to be exact, but needs to be close to the value in database record.

diaObjectId: int#

ID of DIAObject record.

nDiaSources: int = <dataclasses._MISSING_TYPE object>#

New value for nDiaSources column for updated record.

ra: float#

DIAObject ra, in degrees. Not required to be exact, but needs to be close to the value in database record.

update_order: int = <dataclasses._MISSING_TYPE object>#

Record order in the update.

update_time_ns: int = <dataclasses._MISSING_TYPE object>#

Time in nanoseconds since epoch when update happened.

update_type: ClassVar[str] = 'update_n_dia_sources'#

Class variable defining type of the update, must be defined in all concrete subclasses and be unique.