Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive plots #154

Merged
merged 28 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c746d46
added interactive best model plot
mjmroz Nov 13, 2024
463dc6e
minor update
mjmroz Nov 13, 2024
1572393
minor update
mjmroz Nov 13, 2024
4829d12
ex16: turning on errorbars in interactive mode
rpoleski Nov 16, 2024
4f3cab1
Splitting functions into shorter ones, moved plotly import, enabled o…
mjmroz Nov 17, 2024
6e436d3
small correction
mjmroz Nov 17, 2024
54a4c06
ex16 - shortening example yaml and reverting to 4 spaces
rpoleski Nov 17, 2024
8b3a717
ex16: correcting imports, flake8
rpoleski Nov 17, 2024
21357f0
ex16 minor
rpoleski Nov 17, 2024
7d465f3
ex16 - only changing order of functions
rpoleski Nov 17, 2024
24ebe95
ex16 highlighting off
rpoleski Nov 17, 2024
a1ac345
ex16 - shortening _make_interactive_plot()
rpoleski Nov 17, 2024
e0cd286
ex16 - shortening code
rpoleski Nov 17, 2024
3277ed2
repaired _make_interactive_scatter_lc_satellite()
mjmroz Nov 17, 2024
f37097b
ex16 - simplifying code
rpoleski Nov 17, 2024
bc3f3ca
ex16 graph_objects -> go
rpoleski Nov 18, 2024
ffee7bf
ex16 warning -> error
rpoleski Nov 18, 2024
ba75bcd
ex16 - simplifying and shortening code
rpoleski Nov 18, 2024
4af57e4
ex16 - MM conventions, shorter code
rpoleski Nov 21, 2024
a92acf6
Merge branch 'rpoleski:master' into interactive_plots
mjmroz Nov 27, 2024
5f6615b
Shortened, removed not used 'sizes' entry
mjmroz Nov 27, 2024
bba0625
added ploly to requirements
mjmroz Nov 27, 2024
2a1878e
ex16: flake8 compliance
rpoleski Nov 28, 2024
97e9b66
ex16 reducing to 5000 epochs in model LC
rpoleski Nov 28, 2024
bd32327
Merge branch 'rpoleski:master' into interactive_plots
mjmroz Nov 28, 2024
920554f
version and check_import update
mjmroz Nov 28, 2024
b151093
version update
mjmroz Nov 28, 2024
8ee1b30
ex16 - version update before merge
rpoleski Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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