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

Description Usage Arguments Examples

View source: R/Conversion.R

Description

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

Usage

1
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

1
2
ibp2p(1, 1, 2)
ibp2p(1, 2, 2)

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