Jacob Hummel edited 2-Units.tex  about 8 years ago

Commit id: 38a351cadcc44d4e4fe50aab5a70a9542fa3991f

deletions | additions      

       

\subsection{Units and physical constants} \subsection{Units}  \label{sec:units}  Physical constants are imported from astropy, where necessary. Unit conversions are dealt with in \code{Gadfly} implements  a similar manner; unfortunately pandas DataFrames do not play nice with astropy quantities, minimal units-handling for converting between the native code units in which \textsc{gadget} stores data  andso  the unit system included here is rudimentary physical units of interest to astronomers.   However, \textscs{gadget}'s code units may be modified to suit the problem  at best. hand, an thus must be specified at \code{gadfly} initialization if they differ from the defaults listed in Table \ref{code_unit_defaults} below.