|
lsst.dax.apdb ga786bb30fb+39661ad341
|
Public Member Functions | |
| ApdbConfig | make_config (self, **Any kwargs) |
| int | n_columns (self, ApdbTables table) |
| ApdbTables | getDiaObjects_table (self) |
| Region | make_region (self, Tuple[float, float, float] xyz=(1., 1., -1.)) |
| None | assert_catalog (self, Any catalog, int rows, ApdbTables table) |
| None | test_makeSchema (self) |
| None | test_empty_gets (self) |
| None | test_empty_gets_0months (self) |
| None | test_storeObjects (self) |
| None | test_objectHistory (self) |
| None | test_storeSources (self) |
| None | test_sourceHistory (self) |
| None | test_storeForcedSources (self) |
| None | test_forcedSourceHistory (self) |
| None | test_storeSSObjects (self) |
| None | test_reassignObjects (self) |
| None | test_midPointTai_src (self) |
| None | test_midPointTai_fsrc (self) |
Base class for Apdb tests that can be specialized for concrete implementation. This can only be used as a mixin class for a unittest.TestCase and it calls various assert methods.
| None lsst.dax.apdb.tests._apdb.ApdbTest.assert_catalog | ( | self, | |
| Any | catalog, | ||
| int | rows, | ||
| ApdbTables | table | ||
| ) |
Validate catalog type and size
Parameters
----------
catalog : `object`
Expected type of this is ``type``.
rows : int
Expected number of rows in a catalog.
table : `ApdbTables`
APDB table type.
| ApdbTables lsst.dax.apdb.tests._apdb.ApdbTest.getDiaObjects_table | ( | self | ) |
Return type of table returned from getDiaObjects method.
| ApdbConfig lsst.dax.apdb.tests._apdb.ApdbTest.make_config | ( | self, | |
| **Any | kwargs | ||
| ) |
Make config class instance used in all tests.
| Region lsst.dax.apdb.tests._apdb.ApdbTest.make_region | ( | self, | |
| Tuple[float, float, float] | xyz = (1., 1., -1.) |
||
| ) |
Make a region to use in tests
| int lsst.dax.apdb.tests._apdb.ApdbTest.n_columns | ( | self, | |
| ApdbTables | table | ||
| ) |
Return number of columns for a specified table.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_empty_gets | ( | self | ) |
Test for getting data from empty database. All get() methods should return empty results, only useful for checking that code is not broken.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_empty_gets_0months | ( | self | ) |
Test for getting data from empty database. All get() methods should return empty DataFrame or None.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_forcedSourceHistory | ( | self | ) |
Store and retrieve DiaForcedSource history.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_makeSchema | ( | self | ) |
Test for makeing APDB schema.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_midPointTai_fsrc | ( | self | ) |
Test for time filtering of DiaForcedSources.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_midPointTai_src | ( | self | ) |
Test for time filtering of DiaSources.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_objectHistory | ( | self | ) |
Store and retrieve DiaObject history.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_reassignObjects | ( | self | ) |
Reassign DiaObjects.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_sourceHistory | ( | self | ) |
Store and retrieve DiaSource history.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_storeForcedSources | ( | self | ) |
Store and retrieve DiaForcedSources.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_storeObjects | ( | self | ) |
Store and retrieve DiaObjects.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_storeSources | ( | self | ) |
Store and retrieve DiaSources.
| None lsst.dax.apdb.tests._apdb.ApdbTest.test_storeSSObjects | ( | self | ) |
Store and retrieve SSObjects.