Skip to content

Commit

Permalink
Merge pull request #154 from mjmroz/interactive_plots
Browse files Browse the repository at this point in the history
Interactive plots
  • Loading branch information
rpoleski authored Nov 29, 2024
2 parents 107278c + 8ee1b30 commit bbd71e9
Show file tree
Hide file tree
Showing 5 changed files with 361 additions and 13 deletions.
1 change: 1 addition & 0 deletions examples/example_16/ob03235_2_full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ plots:
best model:
# You can skip the line below - the light curve will be plotted on screen.
file: ob03235_2_model.png
interactive : ob03235_2_model.html
time range: 2452820 2452855
magnitude range: 19.3 16.9
rcParams:
Expand Down
9 changes: 9 additions & 0 deletions examples/example_16/ob08092-o4_minimal_interactive_plot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
photometry_files: data/OB08092/phot_ob08092_O4.dat
# Define model to be plotted:
model:
parameters: t_0 u_0 t_E
values: 2455379.5716130617 0.5236953977433282 17.926270401551196
# Now set the file where you want the light curve to be plotted:
plots:
best model:
interactive: ob08092-o4_minimal_plot.html
2 changes: 1 addition & 1 deletion examples/example_16/ob08092-o4_minimal_plot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ fitting_parameters:
# Now set the file where you want the light curve to be plotted:
plots:
best model:
file: ob08092-o4_minimal_plot.png
file: ob08092-o4_minimal_plot.png
1 change: 1 addition & 0 deletions examples/example_16/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
numpy
scipy>=0.18.0
matplotlib
plotly
yaml
emcee
corner
Expand Down
Loading

0 comments on commit bbd71e9

Please sign in to comment.