ApdbUpdateNDiaSourcesRecord#

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

Bases: ApdbUpdateRecord

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, not required to be exact, but needs to be close to the database record.

diaObjectId

ID of DIAObject.

nDiaSources

New value for nDiaSources column for updated record.

ra

DIAObject ra, not required to be exact, but needs to be close to the database record.

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 = <dataclasses._MISSING_TYPE object>#

DIAObject dec, not required to be exact, but needs to be close to the database record.

diaObjectId: int = <dataclasses._MISSING_TYPE object>#

ID of DIAObject.

nDiaSources: int = <dataclasses._MISSING_TYPE object>#

New value for nDiaSources column for updated record.

ra: float = <dataclasses._MISSING_TYPE object>#

DIAObject ra, not required to be exact, but needs to be close to the 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.