test_coord_utils#

Module Contents#

Classes#

TestCoordUtils

A suite of tests verifying the raytracing utility methods

class test_coord_utils.TestCoordUtils(methodName='runTest')[source]#

Bases: unittest.TestCase

A suite of tests verifying the raytracing utility methods

classmethod setUpClass()[source]#

Set global defaults for tests

test_get_padded_nside()[source]#

Test get_padded_nside for correctness

test_get_corners()[source]#

Test get_corners for correctness

test_is_inside()[source]#

Test is_inside for correctness

test_get_target_nside()[source]#

Test if the correct target NSIDE is returned

test_get_skycoord()[source]#

Test if a SkyCoord instance is returned

test_sample_in_aperture()[source]#

Test uniform distribution of samples

test_get_healpix_centers()[source]#

Test if correct sky locations are returned in the cosmoDC2 convention

test_upgrade_healpix()[source]#

Test correctness of healpix upgrading

test_match()[source]#

Test correctness of matching

classmethod tearDownClass()[source]#

Hook method for deconstructing the class fixture after running all tests in the class.