Learn R Programming

rcosmo (version 1.1.6)

nestSearch_step: nestSearch_step

Description

This function is intended for use only with nestSearch.

Usage

nestSearch_step(target, j2, pix.j1)

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.

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.