Metadata-Version: 2.1
Name: qpoint
Version: 1.12.1
Summary: A lightweight quaternion-based library for efficient telescope pointing.
Author: Alexandra Rahlin
Description-Content-Type: text/markdown
License-File: LICENSE

# qpoint

A lightweight quaternion-based library for telescope pointing.  This library is forked from the `libactpol` pointing library, originally written by M. Nolta.

Written and maintained by Alexandra Rahlin.

Other Contributors:

* Steve Benton
* Anne Gambrel
* Carlo Contaldi
* Ivan Padilla
* Matthew Hasselfield

### Requirements

* GNU, Intel or LLVM C compiler
* Python 2.7, Python 3+
* `numpy` library, version 1.10.0 or newer (for python bindings)
* `astropy` library, version 1.2 or newer (optional, for baking in IERS-A data)
* [ERFA C library](https://github.com/liberfa/erfa) (version 2.0.0, based on SOFA issue 2021-05-12 bundled with this package)
* [HEALPix C library](http://healpix.sourceforge.net/) (v. 3.31 bundled with this package)

### Installation

For most users, it should be sufficient to run the following to install the python library:

```
pip install qpoint
```

This will install the python bindings and library code compiled with OpenMP support, if found.

To just build and install the `C` library without OpenMP support:

```
make
make install
```

To enable OpenMP support in the `C` library:

```
make ENABLE_OMP=y
```

To install to a user directory (by default this is `$HOME/.local`):

```
make install-user
```

To install to a specific prefix (the directory that will contain the `lib/`
and `include/` subfolders):

```
make PREFIX=/your/install/prefix install
```

### Usage

See example c and python code in `examples/`
