astrocalc ∞
perform common astronomy-related calculations, conversions and measurements within python scripts or from the command-line.
Documentation for astrocalc is hosted by Read the Docs ( development version and master version). The code lives on github. Please report any issues you find here.
Features ∞
How to cite astrocalc ∞
If you use astrocalc
in your work, please cite using the following BibTeX entry:
@software{Young_astrocalc,
author = {Young, David R.},
doi = {10.5281/zenodo.8014736},
license = {GPL-3.0-only},
title = ,
url = {https://github.com/thespacedoctor/astrocalc}
}
API Reference ∞
Modules
common tools used throughout package |
|
Calculations and conversions based on sky-coordinates |
|
Tools to work with and manipulate astronomical distances |
|
Calculations and conversions based on astronomical times |
|
Get common file and folder paths for the host package |
Classes
The worker class for the separations module |
|
Translate a set of coordinates north and east by distances given in arcsecs |
|
The worker class for the unit_conversion module |
|
A converter to switch distance between various units of measurement |
|
The worker class for the conversions module |
|
Report the current time into various formats |
Functions
Get the root path for this python package |
|
Convert a single value RA, DEC or list of RA and DEC to numpy arrays |
|
Convert luminosity to a flux |