Skip to contents

Convert spherical sky coordinates (degrees) to unit Cartesian vectors.

Usage

to_cartesian(x)

Arguments

x

A `<sky_coord>` vector.

Value

A numeric matrix with columns `x`, `y`, `z`.