Learn R Programming

rcosmo (version 1.1.6)

separatingNside: separatingNside

Description

separatingNside

Usage

separatingNside(df)

Value

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

Arguments

df

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

Examples

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

Run the code above in your browser using DataLab