[yt-svn] commit/yt: markushaider: Increased precision for mpc_per_cm and pc_per_cm and also changed m_per_fpc in utilities/physical_constants.py
Bitbucket
commits-noreply at bitbucket.org
Fri Dec 14 17:35:04 PST 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/2ab3aa1758c3/
changeset: 2ab3aa1758c3
branch: yt
user: markushaider
date: 2012-12-15 00:53:30
summary: Increased precision for mpc_per_cm and pc_per_cm and also changed m_per_fpc in utilities/physical_constants.py
affected #: 1 file
diff -r 46b6eca8c7027ba262b8dbf4dc5f71d89e9b7976 -r 2ab3aa1758c34a0aa0c52a8d3fcc4556ef7b8e0f yt/utilities/physical_constants.py
--- a/yt/utilities/physical_constants.py
+++ b/yt/utilities/physical_constants.py
@@ -35,13 +35,13 @@
mpc_per_au = 4.847e-12
mpc_per_rsun = 2.253e-14
mpc_per_miles = 5.216e-20
-mpc_per_cm = 3.24e-25
+mpc_per_cm = 3.24077929e-25
km_per_pc = 1.3806504e13
km_per_m = 1e-3
km_per_cm = 1e-5
-pc_per_cm = 3.24e-19
+pc_per_cm = 3.24077929e-19
-m_per_fpc = 0.0324077649
+m_per_fpc = 0.0324077929
kpc_per_mpc = 1.0 / mpc_per_kpc
pc_per_mpc = 1.0 / mpc_per_pc
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list