mammosunits
is a units package built on top of the powerful Astropy units.
It provides additional functionality for magnetic units.
To get started clone the mammosunits
repository via ssh
:
git clone [email protected]:MaMMoS-project/units.git
The enter into the repository:
cd units
-
install pixi
-
run
pixi shell
to create and activate an environment in whichunits
is installed (this will install python as well) -
Alternatively, to fire up the
example.ipynb
notebook, usepixi run example
.
If required install conda
. Suggestion: use miniforge.
conda create -n mammosunits python=3.12 pip
conda activate mammosunits
Install a local editable version of the code
pip install -e .