Coverage for python/lsst/sims/catUtils/utils/DBobjectTestUtils.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
GalaxyDiskObj, GalaxyBulgeObj
"testGalaxyBulgeDBObj", "testGalaxyDiskDBObj", "testGalaxyAgnDBObj", "testStarsDBObj"]
""" This is a mixin which is used below to force the galaxy CatalogDBObjects created for this unittest to use the methods defined in the CatalogDBObject class. This is because we are using classes which inherit from GalaxyTileObj but do not actually want to use the tiled query routines.
We also use this mixin for our stellar database object. This is because StarObj implements a query search based on htmid, which the test database for this unit test will not have. """
#The code below makes sure that we can store RA, Dec in degrees #in the database but use radians in our calculations. #We had to overwrite the original columns list because #GalaxyTileObject class assumes that RA and Dec are stored #in radians in the database. This is a side effect of the tiling #scheme used to cover the whole sky.
""" A class for storing galaxy bulges """
#The code below makes sure that we can store RA, Dec in degrees #in the database but use radians in our calculations. #We had to overwrite the original columns list because #GalaxyTileObject daughter classes assume that RA and Dec are stored #in radians in the database. This is a side effect of the tiling #scheme used to cover the whole sky.
#The code below makes sure that we can store RA, Dec in degrees #in the database but use radians in our calculations. #We had to overwrite the original columns list because #GalaxyTileObject daughter classes assume that RA and Dec are stored #in radians in the database. This is a side effect of the tiling #scheme used to cover the whole sky.
#The code below makes sure that we can store RA, Dec in degrees #in the database but use radians in our calculations. #We had to overwrite the original columns list because #GalaxyTileObject daughter classes assume that RA and Dec are stored #in radians in the database. This is a side effect of the tiling #scheme used to cover the whole sky.
#The code below removes the definitions of galacticAv and magNorm #from this database object. The definitions of those columns which #are implemented in StarObj rely on mathematical functions which #are not defined in sqlite.
|