From 7ef55adeb88dd1523ce98ea7a2d8e3bd23d39cae Mon Sep 17 00:00:00 2001 From: August Linnman Date: Tue, 14 Jan 2025 23:52:04 +0100 Subject: [PATCH] Small changes --- xtras/starfixdata_xtra_gotland.py | 6 ++---- xtras/starfixdata_xtra_home.py | 5 ++--- xtras/starfixdata_xtra_jamaica.py | 15 +++++---------- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/xtras/starfixdata_xtra_gotland.py b/xtras/starfixdata_xtra_gotland.py index 4dd8a2a..d7b5cd6 100644 --- a/xtras/starfixdata_xtra_gotland.py +++ b/xtras/starfixdata_xtra_gotland.py @@ -42,8 +42,7 @@ gha_time_1 = "14:6.6", decl_time_0 = "23:11.1", decl_time_1 = "23:10.8", - measured_alt = "49:18", - estimated_position = THE_POS + measured_alt = "49:18" ) c = Sight ( object_name = "Sun", @@ -52,8 +51,7 @@ gha_time_1 = "59:5.6", decl_time_0 = "23:10.5", decl_time_1 = "23:10.4", - measured_alt = "29:20", - estimated_position = THE_POS + measured_alt = "29:20" ) diff --git a/xtras/starfixdata_xtra_home.py b/xtras/starfixdata_xtra_home.py index caca7b5..416e106 100644 --- a/xtras/starfixdata_xtra_home.py +++ b/xtras/starfixdata_xtra_home.py @@ -68,8 +68,7 @@ artificial_horizon = True, index_error_minutes = 0, sextant = mySextant, - chronometer = myChronometer, - estimated_position = THE_POS + chronometer = myChronometer ) collection = SightCollection ([S1, S2]) @@ -79,7 +78,7 @@ try: intersections, fitness, diag_output =\ - collection.get_intersections (estimated_position = THE_POS, return_geodetic=True) + collection.get_intersections (return_geodetic=True) except IntersectError as ve: print ("Cannot perform a sight reduction. Bad sight data.") print ("Check the circles! " + collection.get_map_developers_string(geodetic=True)) diff --git a/xtras/starfixdata_xtra_jamaica.py b/xtras/starfixdata_xtra_jamaica.py index dbe71e9..a6414fe 100644 --- a/xtras/starfixdata_xtra_jamaica.py +++ b/xtras/starfixdata_xtra_jamaica.py @@ -61,8 +61,7 @@ index_error_minutes = -5.4, no_dip = True, temperature = TEMPERATURE, - pressure = 101.2, - estimated_position = THE_POS + pressure = 101.2 ) c = Sight ( object_name = "Rigel", @@ -75,8 +74,7 @@ observer_height = HEIGHT_IN_FEET * METER_PER_FEET, sextant = mySextant, temperature = TEMPERATURE, - pressure = 101.2, - estimated_position = THE_POS + pressure = 101.2 ) d = Sight ( object_name = "Achernar", @@ -89,8 +87,7 @@ observer_height = HEIGHT_IN_FEET * METER_PER_FEET, sextant = mySextant, temperature = TEMPERATURE, - pressure = 101.2, - estimated_position = THE_POS + pressure = 101.2 ) e = Sight ( object_name = "Saturn", @@ -103,8 +100,7 @@ observer_height = HEIGHT_IN_FEET * METER_PER_FEET, sextant = mySextant, temperature = TEMPERATURE, - pressure = 101.2, - estimated_position = THE_POS + pressure = 101.2 ) f = Sight ( object_name = "Polaris", @@ -119,8 +115,7 @@ index_error_minutes = -7.1, no_dip = True, temperature = TEMPERATURE, - pressure = 101.2, - estimated_position = THE_POS + pressure = 101.2 )