rcosmo (version 1.1.2)

ibp2p: Computes pixel's index using its subindex within base resolution

Description

Find the pixel index \(p\) of a given pixel with index ibp in base pixel bp.

Usage

ibp2p(ibp, bp, j)

Arguments

ibp

The pixel index within base pixel bp, at resolution j, in nested order.

bp

The base pixel index

j

The resolution parameter nside = 2^j

Examples

Run this code
# NOT RUN {
ibp2p(1, 1, 2)
ibp2p(1, 2, 2)

# }

Run the code above in your browser using DataLab