From c43b9e2e4a4448474624b558acf3e5247c632be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sun, 4 Feb 2024 12:49:41 -0800 Subject: [PATCH] Re-enable PW axis position keywords --- python/lvmcam/models/scraper.py | 40 ++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/python/lvmcam/models/scraper.py b/python/lvmcam/models/scraper.py index 0c5073d..5fd3627 100644 --- a/python/lvmcam/models/scraper.py +++ b/python/lvmcam/models/scraper.py @@ -60,26 +60,26 @@ def macro(self, exposure, context={}): round(1 / numpy.cos(numpy.radians(90 - alt_d)), 3), "Airmass at the time of observation", ), - # ( - # "PWA0POS", - # round(actor.scraper_data.get("axis0_position_d", -999.0), 6), - # "[deg] Axis0 pos angle from PW", - # ), - # ( - # "PWA0T", - # actor.scraper_data.get("axis0_position_timestamp_s", -999.0), - # "[] Axis0 pos angle time from PW", - # ), - # ( - # "PWA1POS", - # actor.scraper_data.get("axis1_position_d", -999.0), - # "[deg] Axis1 pos angle from PW", - # ), - # ( - # "PWA1T", - # actor.scraper_data.get("axis1_position_timestamp_s", -999.0), - # "[] Axis1 pos angle time from PW", - # ), + ( + "PWA0POS", + round(actor.scraper_data.get("axis0_position_d", -999.0), 6), + "[deg] Axis0 pos angle from PW", + ), + ( + "PWA0T", + actor.scraper_data.get("axis0_position_timestamp_s", -999.0), + "[] Axis0 pos angle time from PW", + ), + ( + "PWA1POS", + actor.scraper_data.get("axis1_position_d", -999.0), + "[deg] Axis1 pos angle from PW", + ), + ( + "PWA1T", + actor.scraper_data.get("axis1_position_timestamp_s", -999.0), + "[] Axis1 pos angle time from PW", + ), ( "KMIRDROT", round(actor.scraper_data.get("km_d", -999.0), 3),