ApdbReassignDiaSourceToDiaObjectRecord#

class lsst.dax.apdb.ApdbReassignDiaSourceToDiaObjectRecord(*, diaSourceId: int, ra: float, dec: float, midpointMjdTai: float, update_time_ns: int, update_order: int, diaObjectId: int)#

Bases: ApdbUpdateRecord, DiaSourceId

Update record representing re-assignment of DIASource to a different DIAObject.

Attributes Summary

apdb_table

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

dec

DIASource dec, in degrees.

diaObjectId

ID of a new associated DIAObject record.

diaSourceId

ID of DIASource record.

midpointMjdTai

DIASource midpointMjdTai, not required to be exact, but needs to be close to the value in database record.

ra

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

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

dec: float#

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

diaObjectId: int = <dataclasses._MISSING_TYPE object>#

ID of a new associated DIAObject record.

diaSourceId: int#

ID of DIASource record.

midpointMjdTai: float#

DIASource midpointMjdTai, not required to be exact, but needs to be close to the value in database record.

ra: float#

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

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