jaxoplanet.starry.surface_is_physical#
Functions#
|
|
|
Fully JAX, end-to-end differentiable approximate global min: |
Module Contents#
- jaxoplanet.starry.surface_is_physical.surface_min_intensity(surface: jaxoplanet.starry.surface.Surface, oversample: int, lmax: int, newton_iters: int = 12, damping: float = 0.001, step: float = 1.0)[source]#
- Fully JAX, end-to-end differentiable approximate global min:
seed from tiny equal-area grid
run fixed M Newton steps from each seed in parallel
take global min across seeds
- Parameters:
surface – jaxoplanet Surface object with .intensity(lat, lon)
oversample – define N = oversample * lmax^2 seeds
lmax – define N = oversample * lmax^2 seeds
newton_iters – fixed Newton iterations per seed (no line search)
damping – Levenberg-Marquardt diagonal added to Hessian
step – Newton step scaling (e.g., 1.0 or 0.5)
- Returns:
(lat_min, lon_min), min_val