Skip to content

Commit

Permalink
docs: add filter response function and separate multiband tuto
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrcia committed Nov 4, 2024
1 parent 1769d55 commit 66b8c66
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 101 deletions.
125 changes: 88 additions & 37 deletions docs/notebooks/multiband.ipynb

Large diffs are not rendered by default.

63 changes: 0 additions & 63 deletions docs/notebooks/spectral.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/starry_comparison/test_flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ def test_starry(deg, u):

phases = np.linspace(0, 2 * np.pi, 100)
expected = jax.vmap(lambda phi: surface_light_curve(surface, theta=phi))(phases)
calc = light_curve(star, phases)
calc = light_curve(star, phases)[0]

np.testing.assert_allclose(calc / calc.max(), expected / expected.max(), atol=1e-4)

0 comments on commit 66b8c66

Please sign in to comment.