Skip to content

MaMMoS-project/units

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mammosunits

mammosunits is a units package built on top of the powerful Astropy units. It provides additional functionality for magnetic units.

Try it in the cloud

Try mammosunits without installing it locally by directly accessing it directly in the cloud via Binder. Simply click the badge to get started: Binder

Sessions are temporary and may time out after a period of inactivity, and any files created or modified during your session will not be saved. To avoid losing your work, please remember to download any files you create or edit before your session ends.

Clone and Install

1. Clone the repository

To get started clone the mammosunits repository via ssh:

git clone git@github.com:MaMMoS-project/units.git

or https if you don't have an ssh key:

git clone https://github.com/MaMMoS-project/units.git

The enter into the repository:

cd units

Install dependencies

Option 1: with pixi (recommended)

  • install pixi

  • run pixi shell to create and activate an environment in which units is installed (this will install python as well)

  • Alternatively, to fire up the example.ipynb notebook, use pixi run example.

Option 2: Create and activate conda environment

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 .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages