From 7d063209fa622caaffec7f38fb41f7b947eb58ff Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 19 Apr 2024 03:38:13 +0200 Subject: [PATCH] add some natural constants --- doc/scripts/generate_starchart.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/scripts/generate_starchart.py b/doc/scripts/generate_starchart.py index 1f2c8c4..55f0fc5 100755 --- a/doc/scripts/generate_starchart.py +++ b/doc/scripts/generate_starchart.py @@ -31,6 +31,11 @@ PATH = "extra/hygdata_v41.csv" # Meissa (orion's head, 8th brightest star in orion) = 3.33 MAX_APPARENT_MAGNITUDE = 7.0 +SOL_ABSMAG = 4.83 +SOL_RADIUS = 696.3e6 +SOL_LUMINOSITY = 3.828e26 +STEFAN_BOLZMANN_CONSTANT = 5.670374419e-8 + print("// This file was autogenerated by \"genrate_starchart.py\" using data from the") print("// HYG database: https://github.com/astronexus/HYG-Database/tree/main/hyg") print("// License: CC BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/")