p2ibp: Return pixel index within its base pixel

View source: R/Conversion.R

p2ibpR Documentation

Return pixel index within its base pixel

Description

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

Usage

p2ibp(p, j)

Arguments

p

The pixel index at resolution j, in nested order.

j

The resolution parameter nside = 2^j

Examples


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


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