minDist2nside: minDist2nside

Description Usage Arguments Details

Description

Get an nside such that all points belong to different pixels, when the minimum distance between the points is dist.

Usage

1

Arguments

dist

The minimum distance between any two points in a data.frame of points that lie on S^2

factor

Allows changing the shrinkage factor for the circlular pixels (radius = dist*factor).

Details

We treat pixels as circles. From the total surface area of a unit sphere and the radius of a circle with area 4*pi/(12*nside^2), we derive a sufficiently large nside to achieve the desired separation. We aim for (circular) pixels with (default) radius dist*3/4.


frycast/rcosmo documentation built on June 4, 2019, 5:13 p.m.