ApdbCloseDiaObjectValidityRecord#

class lsst.dax.apdb.ApdbCloseDiaObjectValidityRecord(*, diaObjectId: int, ra: float, dec: float, update_time_ns: int, update_order: int, validityEndMjdTai: float, nDiaSources: int | None)#

Bases: ApdbUpdateRecord, DiaObjectId

Record representing closing of the validity interval 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, or None if nDiaSources does not change.

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.

validityEndMjdTai

Time to set validityEnd to.

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

New value for nDiaSources column for updated record, or None if nDiaSources does not change.

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] = 'close_diaobject_validity'#

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

validityEndMjdTai: float = <dataclasses._MISSING_TYPE object>#

Time to set validityEnd to.