Skip to main content

No project description provided

Project description

AstronomyCalc

This is a package for basic astronomical and cosmological calculations. More documentation can be found at its readthedocs page.

Package details

The package provides tools for calculating and solving the following quantities and equations.

  • Friedmann equation
  • Cosmological distances
    • Comoving distance
    • Proper distance
    • Light-travel distance
    • Luminosity distance
    • Angular diameter distance
  • Age of the universe

INSTALLATION

To install the package from source, one should clone this package running the following::

git clone https://github.com/sambit-giri/AstronomyCalc.git

To install the package in the standard location, run the following in the root directory::

python setup.py install

In order to install it in a separate directory::

python setup.py install --home=directory

One can also install the latest version using pip by running the following command::

pip install git+https://github.com/sambit-giri/AstronomyCalc.git

The dependencies should be installed automatically during the installation process. The list of required packages can be found in the requirements.txt file present in the root directory.

Tests

For testing, one can use pytest. To run all the test script, run the either of the following::

python -m pytest tests

CONTRIBUTING

If you find any bugs or unexpected behavior in the code, please feel free to open a Github issue. The issue page is also good if you seek help or have suggestions for us. For more details, please see here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

AstronomyCalc-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file AstronomyCalc-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for AstronomyCalc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 950ca7813453cad5e8d11b2f75d6d59b54fe95fc67fe07027f9728fcfbc9f1cc
MD5 7dcefd83985ac62c330842f0af5e4114
BLAKE2b-256 f6ed9b78aa2404decb53abca4b1e05d3e87763ae3896c8852be7ba9526a13a93

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page