Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Neil Ghugare edited this page Nov 14, 2025 · 7 revisions

Astrocore

Generalized core numerical algorithms originally intended for astrophysical purposes.

GitHub License


Installing

Installing is recommended through PyPI:

pip install astrocore

or (depending on setups), may be installed through something like:

python3 -m pip install -U astrocore

Alternatively, one can clone the repository to get access to the direct source code.

Clone the repository using HTTPS:

git clone https://github.com/RandomKiddo/astrocore.git

or clone the repository using SSH:

git clone [email protected]:RandomKiddo/astrocore.git

Important

If installing through cloning, it is likely you will need to add the location of the .py files, that are part of the package into your path using the sys module. Alternatively, you may need to navigate or copy the code into your current working directory. This can get convoluted, so using a package manager, like Venv or PyPI is recommended.

Then, importing can be done simply by

import astrocore

Subpackages can be imported using

from astrocore import linalg

or

from astrocore.inversion import newton_raphson

Additions

  1. Inversion
  2. Linear Algebra
  3. Monte Carlo

Back to Top

This page was last edited on 11.14.2025

Clone this wiki locally