-
Hello, I need to clarify a doubt. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, Yes, this is confusing, but you're correct to note that:
The least confusing way to deal with units is to set For evaluateRforces(MWPotential2014,1.,0.,ro=8.,vo=220.,use_physical=True) or evaluateRforces(MWPotential2014,1.,0.,ro=8.,vo=220.,use_physical=True,quantity=True) to force Quantity output. |
Beta Was this translation helpful? Give feedback.
-
I am using Irrgang13I potential as 'asi', so if I understood, the output is already in another system of units, that is different from the normalized units. I understood the examples that you gave me in this answer with the MWPotential2014. But what should I do when I use Irrgang13I? |
Beta Was this translation helpful? Give feedback.
Hi,
Yes, this is confusing, but you're correct to note that:
MWPotential2014
), then values returned are in internal unitsThe least confusing way to deal with units is to set
astropy-units = False
in the configuration file; that way all physical return values areastropy
Quantities with clear units and if you get a float, it's in internal units.For
MWPotential2014
, you can also get physical output doing, e.g.or
t…