Skip to content

Commit

Permalink
fix: update to jaxoplanet 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrcia committed Feb 3, 2025
1 parent 7a37c0d commit f39d0ad
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 260 deletions.
514 changes: 257 additions & 257 deletions docs/notebooks/rotation.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion spotter/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def render(y, inc=None, u=None, phase=0.0, obl=0.0):


def amplitude(N_or_y, inc=None, u=None, undersampling: int = 3) -> callable:

N, _ = _N_or_Y_to_N_n(N_or_y)
resolution = hp.nside2resol(N)
X = vec(N)
Expand Down
5 changes: 3 additions & 2 deletions tests/starry_comparison/test_flux.py → tests/test_flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
@pytest.mark.parametrize("u", ([], [0.1, 0.4]))
def test_starry(deg, u):
pytest.importorskip("jaxoplanet")
from jaxoplanet.experimental.starry import Surface, Ylm, rotation
from jaxoplanet.experimental.starry.light_curves import surface_light_curve
from jaxoplanet.starry import Surface, Ylm
from jaxoplanet.starry.core import rotation
from jaxoplanet.starry.light_curves import surface_light_curve

y = np.array([1, *(1e-2 * np.random.randn((deg + 1) ** 2 - 1))])

Expand Down

0 comments on commit f39d0ad

Please sign in to comment.