ordering.CMBDataFrame: HEALPix ordering scheme from a CMBDataFrame

Description Usage Arguments Details Value Examples

View source: R/CMBDataFrameGenerics.R

Description

This function returns the HEALPix ordering scheme from a CMBDataFrame. The ordering scheme is either "ring" or "nested".

Usage

1
2
## S3 method for class 'CMBDataFrame'
ordering(x, new.ordering, ...)

Arguments

x

A CMBDataFrame.

new.ordering

Specifies the new ordering ("ring" or "nest") if a change of ordering scheme is desired.

...

Unused arguments.

Details

If a new ordering is specified, using e.g. new.ordering = "ring", the ordering scheme of the CMBDataFrame will be converted.

Value

The name of the HEALPix ordering scheme that is used in the CMBDataFrame x.

Examples

1
2
3
4
df <- CMBDataFrame(nside = 1, ordering = "nested")
ordering(df)
df1 <- ordering(df, new.ordering = "ring")
ordering(df1)

rcosmo documentation built on Dec. 11, 2021, 9:29 a.m.