Esempio n. 1
0
 def getConfig(self):
     """Return a configuration matching that used for the HSC SSP"""
     config = RingsSkyMap.ConfigClass()
     config.numRings = 120
     config.projection = "TAN"
     config.tractOverlap = 1.0/60  # Overlap between tracts (degrees)
     config.pixelScale = 0.168
     return config
Esempio n. 2
0
 def setUp(self):
     # This matches the HSC SSP configuration, on which the problem was discovered
     config = RingsSkyMap.ConfigClass()
     config.numRings = 120
     config.projection = "TAN"
     config.tractOverlap = 1.0 / 60  # Overlap between tracts (degrees)
     config.pixelScale = 0.168
     self.skymap = RingsSkyMap(config)
Esempio n. 3
0
 def setUp(self):
     config = RingsSkyMap.ConfigClass()
     config.numRings = 3
     self._NumTracts = 26  # Number of tracts to expect
     self._NeighborAngularSeparation = None  # Expected tract separation
     self._SkyMapClass = RingsSkyMap  # Class of SkyMap to test
     self._SkyMapConfig = config  # Configuration to use
     self._SkyMapName = "rings"  # Name of SkyMap class to test
     self._numNeighbors = None  # Number of neighbours
Esempio n. 4
0
 def setUp(self):
     config = RingsSkyMap.ConfigClass()
     config.numRings = 3
     self.setAttributes(
         SkyMapClass=RingsSkyMap,
         name="rings",
         config=config,
         numTracts=26,
         neighborAngularSeparation=None,  # no uniform tract separation
         numNeighbors=None,    # ignored because neighborAngularSeparation=None
     )