Restricts a CMBDataFrame
, CMBDat
object,
or data.frame
to a CMBWindow
region.
A single CMBWindow or a list of CMBWindows can be passed to the win
argument.
subWindow(cmbdf, win, intersect = TRUE, in.pixels, in.pixels.res = 0)
a CMBDataFrame
, a data.frame
,
a HPDataFrame
or CMBDat
object. If this is a data.frame then it must have
columns labelled x,y,z specifying cartesian coordinates, or
columns labelled theta, phi specifying colatitude and longitude
respectively.
a CMBWindow
or a list of CMBWindows
a boolean that determines
the behaviour when win
is a list containing BOTH
regular type and "minus" type windows together (see details).
a vector of pixels at resolution
in.pixels.res
whose union contains the
window(s) win
entirely. This will only be used
if cmbdf
is a CMBDataFrame
a resolution
(i.e., 2^j
) at
which the in.pixels
parameter is specified
a CMBDataFrame, HPDataFrame, or just a data.frame,
which is restricted to the
region of the sky specified by win
Windows that are tagged with set.minus
(see CMBWindow
)
are treated differently from other windows.
If the argument is a list of CMBWindows, then interiors of all windows whose
winType does not include "minus" are united (let intersect = TRUE
(the default), the returned CMBDataFrame will
be the points of cmbdf
in the the intersection of intersect = FALSE
, the returned CMBDataFrame
consists of the points of cmbdf
in the union of
Note that if cmbdf
in