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:
- run, camcol, field
intor array ofint Run, camcol and field. If arrays are passed, all must have the same length.
- photolog_version
str, optional Use this version of photolog to obtain the obBadfields.par file, if
PHOTOLOG_DIRis not set.
- run, camcol, field
- Returns:
numpy.ndarrayofboolArray of bool.
Trueindicates the field is bad.
- Raises:
ValueErrorIf 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.