ApdbWithdrawDiaForcedSourceRecord#

class lsst.dax.apdb.ApdbWithdrawDiaForcedSourceRecord(*, diaObjectId: int, visit: int, detector: int, ra: float, dec: float, midpointMjdTai: float, update_time_ns: int, update_order: int, timeWithdrawnMjdTai: float)#

Bases: ApdbUpdateRecord, DiaForcedSourceId

Update record representing withdrawal of DIAForcedSource.

Attributes Summary

apdb_table

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

dec

DIAForcedSource dec, in degrees.

detector

Detector ID.

diaObjectId

ID of parent DIAObject record.

midpointMjdTai

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

ra

DIAForcedSource ra, in degrees.

timeWithdrawnMjdTai

Time when this record was marked invalid.

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.

visit

Visit ID.

Attributes Documentation

apdb_table: ClassVar[ApdbTables] = 'DiaForcedSource'#

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

dec: float#

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

detector: int#

Detector ID.

diaObjectId: int#

ID of parent DIAObject record.

midpointMjdTai: float#

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

ra: float#

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

timeWithdrawnMjdTai: float = <dataclasses._MISSING_TYPE object>#

Time when this record was marked invalid.

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

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

visit: int#

Visit ID.