Skip to content

Commit

Permalink
now visibility tool goes from Cycle 3 to 6
Browse files Browse the repository at this point in the history
  • Loading branch information
nespinoza committed Aug 5, 2024
1 parent fe7747e commit 4f4fdb5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exoctk/contam_visibility/new_vis_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -68,4 +69,4 @@ def build_visibility_plot(target_name, instrument, ra, dec):

p.add_tools(HoverTool(tooltips=TOOLTIPS, formatters={'@times': 'datetime'}))

return p
return p

0 comments on commit 4f4fdb5

Please sign in to comment.