Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 727 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 727 Bytes

Experiments with wrapping ERFA

This explores different ways of provinding a vectorized Python interface to ERFA. We experiment with the eraD2dtf and eraAtco13 functions. Currently we will try the following, but feel free to add other methods:

  • cython - a pure Cython-based wrapper
  • c_numpy - a pure C (with Numpy API) wrapper
  • c_auto - a hand-written vectorized C wrapper with an auto-generated Python wrapper from the vectorized C wrappers
  • ``cython_numpy``` - a hand-written vectorized mixed Cython/Numpy wrapper.

Installation

Use the standard python setup.py install to install these experiments.

Usage

import erfa.cython_numpy as erfa