Skip to content

Commit

Permalink
Splitting functions into shorter ones, moved plotly import, enabled o…
Browse files Browse the repository at this point in the history
…nly interactive plots.
  • Loading branch information
mjmroz committed Nov 17, 2024
1 parent 4829d12 commit 4f3cab1
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 152 deletions.
21 changes: 21 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,21 @@
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
# Three sections below will be ignored by the plotting script:
starting_parameters:
t_0: gauss 2455380. 0.1
u_0: uniform 0.001 1.
t_E: gauss 20. 5.
min_values:
u_0: 0.
t_E: 0.
fitting_parameters:
n_walkers: 10
n_steps: 1000
n_burn: 500
# Now set the file where you want the light curve to be plotted:
plots:
best model:
interactive: ob08092-o4_minimal_plot.html
5 changes: 2 additions & 3 deletions examples/example_16/ob08092-o4_minimal_plot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ fitting_parameters:
n_burn: 500
# Now set the file where you want the light curve to be plotted:
plots:
best model:
file: ob08092-o4_minimal_plot.png
interactive: ob08092-o4_minimal_plot.html
best model:
file: ob08092-o4_minimal_plot.png
Loading

0 comments on commit 4f3cab1

Please sign in to comment.