Coverage for tests/testUtils/TestUtilities.py : 94%

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
hlr=None, mag_norm=None, pa=None): """ Create a text file containing objects that can be read in by a fileDBObject class.
@param [in] obs is an ObservationMetaData specifying the pointing on which the catalog will be centered
@param [in] file_name is the name of the file to be created. If a file already exists with that name, throw an error.
@param [in] raDisplacement is a numpy array listing the RA displacements of objects from the pointing's center in arcseconds
@param [in] decDisplacement is a numpy array listing the Dec displacements of objects from the pointings' center in arcseconds
@param [in] hlr is an optional list of half light radii in arcseconds
@param [in] mag_norm is an optional list of the objects' magnitude normalizations
@param [in] pa is an optional list of the objects' position angles in degrees """
os.unlink(file_name)
enumerate(zip(raDisplacementList, decDisplacementList, hlr, mag_norm, pa)):
|