pix.CMBDataFrame: HEALPix pixel indices from CMBDataFrame
Description
If new.pix is unspecified then this function returns the vector of
HEALPix pixel indices from a CMBDataFrame. If new.pix is specified then
this function returns a new CMBDataFrame with the same number of rows
as cmbdf, but with pix attribute new.pix. Thus,
new.pix must have length equal to nrow(cmbdf).
Usage
# S3 method for CMBDataFrame
pix(x, new.pix, ...)
Value
The vector of HEALPix pixel indices or, if new.pix is specified,
a new CMBDataFrame.
Arguments
x
A CMBDataFrame.
new.pix
Optional vector of pixel indices with
length equal to nrow(x).