1
0

Update display with readable data

This commit is contained in:
Thibault Barnouin
2021-11-12 17:08:07 +01:00
parent 966b6493ac
commit 27844f5cb8
21 changed files with 91 additions and 39 deletions

10
lib/units.py Normal file
View 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