pydl.pydlutils
Are the points in a (single) given cap?
ndarray
recarray
X value of the cap (3-vector).
X
CM value of the cap.
CM
If points is a 3-vector, or set of 3-vectors, then assume the point is a Cartesian unit vector. If point is a 2-vector or set of 2-vectors, assume the point is RA, Dec.
points
point
A boolean vector giving the result for each point.
is_in_cap()