nestSearch_step: nestSearch_step

Description Usage Arguments Value

View source: R/NestSearch.R

Description

This function is intended for use only with nestSearch.

Usage

1
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.


rcosmo documentation built on Dec. 11, 2021, 9:29 a.m.