Skip to content

Commit

Permalink
Merge pull request #9 from rhoxu/master
Browse files Browse the repository at this point in the history
add in Cam/CCD information to spactime_lookup
  • Loading branch information
CheerfulUser committed Mar 25, 2024
2 parents b317a24 + 2ae70aa commit baefe2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tessreduce/tessreduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,10 @@ def spacetime_lookup(ra,dec,time=None,buffer=0,print_table=True):
dif = ds
covers += [cover]
differences += [dif]
tab += [[secs.Sector.values[i], cover, dif]]
tr_list += [[ra, dec, secs.Sector.values[i], cover]]
tab += [[secs.Sector.values[i], outCam[i], outCcd[i], cover, dif]]
tr_list += [[ra, dec, secs.Sector.values[i],outCam[i], outCcd[i], cover]]
if print_table:
print(tabulate(tab, headers=['Sector', 'Covers','Time difference \n(days)'], tablefmt='orgtbl'))
print(tabulate(tab, headers=['Sector', 'Camera', 'CCD', 'Covers','Time difference \n(days)'], tablefmt='orgtbl'))
return tr_list
else:
print('No TESS coverage')
Expand Down

0 comments on commit baefe2f

Please sign in to comment.