sdss_astrombad¶
-
pydl.pydlutils.sdss.
sdss_astrombad
(run, camcol, field, photolog_version='dr10')[source]¶ For a list of RUN, CAMCOL, FIELD, return whether each field has bad astrometry.
Parameters: Returns: - :class:`numpy.ndarray` of :class:`bool`
Array of bool.
True
indicates the field is bad.
Raises: - :exc:`ValueError`
If the sizes of the arrays don’t match or if the array values are out of bounds.
Notes
Reads data from
$PHOTOLOG_DIR/opfiles/opBadFields.par
.If there is a problem with one camcol, we assume a problem with all camcols.