-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Generalized core numerical algorithms originally intended for astrophysical purposes.
Installing is recommended through PyPI:
pip install astrocoreor (depending on setups), may be installed through something like:
python3 -m pip install -U astrocoreAlternatively, 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.gitor clone the repository using SSH:
git clone [email protected]:RandomKiddo/astrocore.gitImportant
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 astrocoreSubpackages can be imported using
from astrocore import linalgor
from astrocore.inversion import newton_raphsonThis page was last edited on 11.14.2025