Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

rcosmo (version 1.1.3)

p2bp: 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

Run this code
# NOT RUN {
p2bp(5, 0)
p2bp(5, 1)

# }

Run the code above in your browser using DataLab