No project description provided
Project description
AstronomyCalc
This package introduces students to basic astronomical and cosmological calculations. More detailed documentation is available on the ReadTheDocs page. Additional Jupyter notebooks, designed to help learners explore concepts by adjusting parameters and observing their effects, will be regularly added to the notebooks folder.
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
- Cosmological parameter inference
- Galaxy rotation curves
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 Distribution
Built Distribution
File details
Details for the file AstronomyCalc-0.1.3.tar.gz
.
File metadata
- Download URL: AstronomyCalc-0.1.3.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3ecf5f33a4989a436da4fb160c7abccc7a2496b102fec18e81c6dc062752d5 |
|
MD5 | 8f0fbbaefcfb9fd354752cb8a8fb6522 |
|
BLAKE2b-256 | bb614f4a2ad5319bafa5ba3985c7370bc4f522d22ec5725a47060327580e2a20 |
File details
Details for the file AstronomyCalc-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: AstronomyCalc-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67b6dfe279edaa5d55a17aafb17c7ab57f56827b5e07dc61c73cd1a41389cf52 |
|
MD5 | 398ef682df3dad1b9c3148abcd93964a |
|
BLAKE2b-256 | 23e1d65398b045d2784a013265a11bab6b205d09c7eb554b3833a4fbb79dd4e9 |