Skip to content

Commit

Permalink
Fix t0par plot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ebachelet committed Oct 31, 2024
1 parent fd53d24 commit 0b8771a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyLIMA/outputs/pyLIMA_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def plot_geometry(microlensing_model, model_parameters, bokeh_plot=None):
telescope = faketelescopes[0]
try:
origin_t0par_index = np.argmin(
np.abs(telescope.lightcurve_magnitude['time'].value -
np.abs(telescope.lightcurve_flux['time'].value -
microlensing_model.parallax_model[1]))
except AttributeError:
origin_t0par_index = np.argmin(
Expand Down

0 comments on commit 0b8771a

Please sign in to comment.