Skip to content

Commit

Permalink
plot correct band limit in lc
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrigno committed Sep 27, 2023
1 parent f54c121 commit 2398edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oda_api/plot_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def build_fig(self, in_source_name='', systematic_fraction=0, ng_sig_limit=0, f
plot_title = source_name
_ = plt.title(plot_title)
if find_excesses:
ind = numpy.abs(y - band_width)/dy > ng_sig_limit
ind = numpy.abs(y - meany) / std_dev > ng_sig_limit
if numpy.sum(ind) > 0:
_ = plt.plot(x[ind], y[ind], marker='x', color='red', linestyle='', markersize=10)
self.logger.info('We found positive excesses on the lightcurve at times')
Expand Down

0 comments on commit 2398edd

Please sign in to comment.