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 git@github.com:MaMMoS-project/units.gitThe enter into the repository:
cd units-
install pixi
-
run
pixi shellto create and activate an environment in whichunitsis installed (this will install python as well) -
Alternatively, to fire up the
example.ipynbnotebook, usepixi run example.
If required install conda. Suggestion: use miniforge.
conda create -n mammosunits python=3.12 pip
conda activate mammosunitsInstall a local editable version of the code
pip install -e .