s2c

erfa.s2c(theta, phi)[source]

Wrapper for ERFA function eraS2c.

Parameters

theta : double array

phi : double array

Returns

c : double array

Notes

The ERFA documentation is below.

- - - - - - -
 e r a S 2 c
- - - - - - -

Convert spherical coordinates to Cartesian.

Given:
   theta    double       longitude angle (radians)
   phi      double       latitude angle (radians)

Returned:
   c        double[3]    direction cosines

Copyright (C) 2013-2019, NumFOCUS Foundation.
Derived, with permission, from the SOFA library.  See notes at end of file.