get_distance: get_distance

Description Usage Arguments Value Examples

View source: R/FeaturesEstimationFunctions.R

Description

This function returns the distance from ngal galaxies to a galaxy.

Usage

1
get_distance(x, x0, y, y0, ngal)

Arguments

x

Vector with the Right ascensions in radians.

x0

Right ascension of the central galaxy.

y

Vector with the Declinations in radians.

y0

Declination of the central galaxy.

ngal

Number of galaxies to be returned

Value

Vector with the distances to the central galaxy.

Examples

1
get_distance(x, x0, y, y0, ngal)

Martindelosrios/MeSsI documentation built on May 14, 2021, 3:43 p.m.