p2ibp: Return pixel index within its base pixel

Description Usage Arguments Examples

View source: R/Conversion.R

Description

Convert a pixel index p to its index within the base pixel to which p belongs

Usage

1
p2ibp(p, j)

Arguments

p

The pixel index at resolution j, in nested order.

j

The resolution parameter nside = 2^j

Examples

1
2
p2ibp(6, 0)
p2ibp(6, 1)

rcosmo documentation built on Feb. 14, 2020, 5:06 p.m.