Classes | |
| class | ApdbSql |
Functions | |
| pandas.DataFrame | _coerce_uint64 (pandas.DataFrame df) |
| float | _make_midpointMjdTai_start (astropy.time.Time visit_time, int months) |
| None | _onSqlite3Connect (sqlite3.Connection dbapiConnection, sqlalchemy.pool._ConnectionRecord connectionRecord) |
Variables | |
| _LOG = logging.getLogger(__name__) | |
| _MON = MonAgent(__name__) | |
| VERSION = VersionTuple(1, 2, 1) | |
Module defining Apdb class and related methods.
|
protected |
Change the type of uint64 columns to int64, and return copy of data frame.
|
protected |
Calculate starting point for time-based source search.
Parameters
----------
visit_time : `astropy.time.Time`
Time of current visit.
months : `int`
Number of months in the sources history.
Returns
-------
time : `float`
A ``midpointMjdTai`` starting point, MJD time.