nestSearch_step: nestSearch_step

View source: R/NestSearch.R

nestSearch_stepR Documentation

nestSearch_step

Description

This function is intended for use only with nestSearch.

Usage

nestSearch_step(target, j2, pix.j1)

Arguments

target

is the target point on S^2 in spherical coordinates.

j2

is the target resolution.

pix.j1

is the initial pix index, i.e., the j1-level pixel to search in.

Value

A vector containing the HEALPix pixel index, pix, of the closest HEALPix pixel center to the target point, target, at resolution j2, and its neighbours.


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