separatingNside: separatingNside

View source: R/HPDataFrame.R

separatingNsideR Documentation

separatingNside

Description

separatingNside

Usage

separatingNside(df)

Arguments

df

A data.frame. Must have columns x,y,z for Cartesian coordinates that must represent points on the unit sphere.

Value

An nside (power of 2) such that all points in df will belong to unique pixels.

Examples

sky <- CMBDataFrame(nside = 16, coords = "cartesian", ordering = "nested")
separatingNside(sky)


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