onekiloparsec / thorsky

Python time-and-the-sky programs built mostly on astropy; packaged for installation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thorsky

Python time-and-the-sky programs built mostly on astropy. Includes some routines that are lighter-weight and faster than their astropy counterparts while retaining precision adequate for most purposes.

Installation

pip install thorsky

Usage

Contains modules thorskyutil and thorskyclasses3, which are callable from python2 or python3.

Also contains a Tkinter GUI script, pyskcalc3.py, which is generally similar to the java program JSkyCalc.
This has been adapted to run on both Linux and MacOS.

Source codes are posted here for casual browsers. If you want the package, get the tar.gz file, which has the correct file structure to install properly.

HTML documentation is included in doc/_build/html. This was generated by Sphinx from docstrings in the code.

The distribution also includes a jupyter notebook, in two different versions that use python2 or python3-style print statements.

Development

If you want to help develop the package, follow these instructions:

  • Make sure virtualenv is installed.
  • If necessary, create a local virtualenv: virtualenv venv
  • Activate the virtualenv: source venv/bin/activate
  • Install depencies: pip install -e .

About

Python time-and-the-sky programs built mostly on astropy; packaged for installation.

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%