Skip to content

Commit

Permalink
bug fixing binning function
Browse files Browse the repository at this point in the history
  • Loading branch information
hposborn committed Nov 21, 2024
1 parent 5455d45 commit 9665e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MonoTools/lightcurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def bin(self,timeseries=['flux'],binsize=1/48,split_gap_size=0.8,use_masked=True
self.sort_timeseries()

if np.any(['_flat' in its and its not in self.timeseries for its in timeseries]):
print("Flattening "+its+" to bin")
#print("Flattening "+its+" to bin")
self.flatten(timeseries=list(np.unique([t.replace('_flat','') for t in timeseries])))

#setattr(self, 'bin_cadence',binlc['flux'][:,0])
Expand Down

0 comments on commit 9665e05

Please sign in to comment.