Skip to content

Commit

Permalink
Commented Variable (#123)
Browse files Browse the repository at this point in the history
Had to uncomment a variable that was accidentally commented out.
  • Loading branch information
kjkoeller authored Mar 16, 2023
1 parent 0252101 commit d03ae2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EclipsingBinaries/tesscut.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def main(search_file):
# gather light time travel effects
location = EarthLocation.of_site("greenwich")
time_inp = Time(bjd, format='jd', scale='tdb', location=location)
# ltt_bary, _ = getLightTravelTimes(ra[0], dec[0], time_inp)
# BJD_ltt = Time(time_inp.tdb - ltt_bary, format='jd', scale='tdb', location=location)
ltt_bary, _ = getLightTravelTimes(ra[0], dec[0], time_inp)
BJD_ltt = Time(time_inp.tdb - ltt_bary, format='jd', scale='tdb', location=location)

# convert to HJD from the BJD above
_, ltt_helio = getLightTravelTimes(ra[0], dec[0], BJD_ltt)
Expand Down Expand Up @@ -176,4 +176,4 @@ def getLightTravelTimes(ra, dec, time_to_correct):
return ltt_bary, ltt_helio


# main("tess-s0016-4-3_211.037012_50.344067_88x88_astrocut.fits")
main("tess-s0016-4-3_211.037012_50.344067_88x88_astrocut.fits")

0 comments on commit d03ae2a

Please sign in to comment.