p2bp: Return base pixel to which pixel belongs

Description Usage Arguments Examples

View source: R/Conversion.R

Description

The base pixel to which pixel p belongs at resolution j

Usage

1
p2bp(p, j)

Arguments

p

The pixel index at resolution j, in nested order.

j

The resolution parameter nside = 2^j

Examples

1
2
p2bp(5, 0)
p2bp(5, 1)

rcosmo documentation built on Dec. 11, 2021, 9:29 a.m.