p2bp: Return base pixel to which pixel belongs

View source: R/Conversion.R

p2bpR Documentation

Return base pixel to which pixel belongs

Description

The base pixel to which pixel p belongs at resolution j

Usage

p2bp(p, j)

Arguments

p

The pixel index at resolution j, in nested order.

j

The resolution parameter nside = 2^j

Examples


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


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