Adds chromatic seeing to atmospheric code for use when using geometric photon shooting (I believe similar behavior is already emergent when drawing with Fourier techniques).
To implement, I added a wavelength argument to the various wavefront_gradient methods. In retrospect, I maybe should only have added the extra argument to the private version _wavefront_gradient, since as a purely geometric object, the real wavefront gradient isn't wavelength dependent. Adding wavelength dependence here is kind of a hack to ensure we get the lambda^-beta chromatic dependence (beta ~ 0.2-0.4) expected from the fully diffractive calculation. But I could lean either way on this one so curious for feedback.
Adds chromatic seeing to atmospheric code for use when using geometric photon shooting (I believe similar behavior is already emergent when drawing with Fourier techniques).
To implement, I added a
wavelength
argument to the variouswavefront_gradient
methods. In retrospect, I maybe should only have added the extra argument to the private version_wavefront_gradient
, since as a purely geometric object, the real wavefront gradient isn't wavelength dependent. Adding wavelength dependence here is kind of a hack to ensure we get the lambda^-beta chromatic dependence (beta ~ 0.2-0.4) expected from the fully diffractive calculation. But I could lean either way on this one so curious for feedback.