Update display with readable data
This commit is contained in:
10
lib/units.py
Normal file
10
lib/units.py
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
Units used in the project.
|
||||
"""
|
||||
|
||||
globals()['G'] = 6.67e-11 #Gravitational constant in SI units
|
||||
globals()['Ms'] = 2e30 #Solar mass in kg
|
||||
globals()['au'] = 1.5e11 #Astronomical unit in m
|
||||
globals()['yr'] = 3.15576e7 #year in seconds
|
||||
Reference in New Issue
Block a user