NaturalUnits: A package for unit conversions with natural unit systems
Author
Eemeli Tomberg
Title
NaturalUnits: A package for unit conversions with natural unit systems
Description
Tutorial for a package that preforms unit conversions in terms of natural units, common in high energy physics, where a number of physical constants have been set to one.
Category
Academic Articles & Supplements
Keywords
unit conversion, natural units, physics
URL
http://www.notebookarchive.org/2022-04-3a04p2h/
DOI
https://notebookarchive.org/2022-04-3a04p2h
Date Added
2022-04-07
Date Last Modified
2022-04-07
File Size
145.58 kilobytes
Supplements
Rights
CC BY 4.0



This notebook showcases the custom package NaturalUnits, which performs unit conversions in terms of the natural units frequently used in high energy physics. It is supplementary material for Eemeli Tomberg, “Unit conversions and collected numbers in cosmology,” https://arxiv.org/abs/2110.12251.
Further information and examples can be found at http://www.eemelitomberg.net/NaturalUnits.
Further information and examples can be found at http://www.eemelitomberg.net/NaturalUnits.
NaturalUnits: A package for unit conversions with natural unit systems
NaturalUnits: A package for unit conversions with natural unit systems
Eemeli Tomberg
NaturalUnits is a package for working with the natural unit systems common in high energy physics, defined by setting a number of physical constants to one. This often simplifies the math and lets one compare quantities with different SI units in a ‘natural’ way. The package lets the user set up the preferred natural unit system and perform conversions between dimensionful quantities within that system. The package is designed to be highly customizable: it is easy to define new units and unit systems. Commonly used units, physical constants, and unit systems are built in.
Let’s start by loading the package. This can be done, for example, by placing NaturalUnits.m into the notebook’s directory and running the code below. By default, full SI units are in use instead of a natural unit system.
In[]:=
SetDirectory[NotebookDirectory[]];<<"NaturalUnits`"
NaturalUnits 2.0
Alternatively, it’s possible to load the package directly from the web:
In[]:=
Import["http://www.eemelitomberg.net/codes/NaturalUnits/v2/NaturalUnits.m"]
NaturalUnits 2.0
Unit conversions
Unit conversions
Setting up a natural unit system
Setting up a natural unit system
Miscellaneous
Miscellaneous
Physics-motivated examples
Physics-motivated examples


Cite this as: Eemeli Tomberg, "NaturalUnits: A package for unit conversions with natural unit systems" from the Notebook Archive (2022), https://notebookarchive.org/2022-04-3a04p2h

Download

