| subWindow | R Documentation | 
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)
| cmbdf | a  | 
| win | a  | 
| intersect | a boolean that determines
the behaviour when  | 
| in.pixels | a vector of pixels at resolution
 | 
| in.pixels.res | a resolution
(i.e., j such that nside =  | 
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 A be their union) and
exteriors of all windows whose winType does include "minus" are intersected,
(let B be their intersection). Then, provided that
intersect = TRUE (the default), the returned CMBDataFrame will
be the points of cmbdf in the the intersection of A and B.
Otherwise, if intersect = FALSE, the returned CMBDataFrame
consists of the points of cmbdf in the union of
A and B.
Note that if A (resp. B) is empty then the returned CMBDataFrame
will be the points of cmbdf in B (resp. A).
a CMBDataFrame, HPDataFrame, or just a data.frame,
which is restricted to the
region of the sky specified by win
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.