Skip to content
173 changes: 155 additions & 18 deletions dev/notebooks/moffat_maxk_interp.ipynb

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions jax_galsim/moffat.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ def _shoot(self, photons, rng):
photons.flux = self.flux / photons.size()


# this fitting function and code to build it is defined in the
# dev notebook dev/notebooks/moffat_maxk_interp.ipynb
# !!! DO NOT CHANGE ANY OF THE VARIABLES BELOW !!!

# order of rational function in log(maxk_threshold), log(beta)
PADE_ORDERS = [9, 11]

Expand Down