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

View source: R/Conversion.R

ibp2pR Documentation

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


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


frycast/rcosmo documentation built on Oct. 11, 2022, 5:21 p.m.