Skip to content

A lightweight quaternion-based library for telescope pointing

License

Notifications You must be signed in to change notification settings

class-telescope/qpoint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 A. Rahlin.

Other Contributors:

  • Steve Benton
  • Anne Gambrel
  • Carlo Contaldi

Requirements

  • GNU, Intel or LLVM C compiler
  • Python 2.7 (bindings should be compatible with, but have not been tested in, 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 (version 1.6.0, based on SOFA issue 2019-07-22 bundled with this package)
  • HEALPix C library (v. 3.31 bundled with this package)

Installation

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

python setup.py install

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/

About

A lightweight quaternion-based library for telescope pointing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.5%
  • Python 8.1%
  • Makefile 0.4%