From 4f4fdb5776abddc6fc2ab8a0d2562b6e2d269e60 Mon Sep 17 00:00:00 2001 From: Nestor Espinoza Date: Mon, 5 Aug 2024 10:47:16 -0400 Subject: [PATCH] now visibility tool goes from Cycle 3 to 6 --- exoctk/contam_visibility/new_vis_plot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exoctk/contam_visibility/new_vis_plot.py b/exoctk/contam_visibility/new_vis_plot.py index 4cddc59b..d21016a4 100644 --- a/exoctk/contam_visibility/new_vis_plot.py +++ b/exoctk/contam_visibility/new_vis_plot.py @@ -11,7 +11,8 @@ def get_exoplanet_positions(ra, dec, in_FOR=None): """Use the jwst_gtvt to obtain positions of exoplanet. """ - eph = Ephemeris() + # Set ephemeris to go from Cycle 3 to Cycle 6: + eph = Ephemeris(start_date=Time('2024-07-30'), end_date=Time('2028-07-30')) exoplanet_data = eph.get_fixed_target_positions(ra, dec) if in_FOR is None: @@ -68,4 +69,4 @@ def build_visibility_plot(target_name, instrument, ra, dec): p.add_tools(HoverTool(tooltips=TOOLTIPS, formatters={'@times': 'datetime'})) - return p \ No newline at end of file + return p