Coverage for python/lsst/sims/maf/stackers/sdssStackers.py : 52%

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
"""convert the p1,p2,p3... columns to radians and wrap them """
""" The p1,p2 columns represent the corners of chips. Could generalize this a bit."""
if cols_present: # Assume this is unusual enough to run that you really mean it. pass for pcol, newcol in zip(self.colsReq, self.colsAdded): if newcol[0:2] == 'RA': simData[newcol] = wrapRA(np.radians(simData[pcol])) else: simData[newcol] = np.radians(simData[pcol]) return simData |