Forced float for psf_pixel_scale in ParametricOpticalSystem
#279
Labels
question
Further information is requested
ParametricOpticalSystem
#279
Hi louis,
So currently the
ParametricOpticalSystem
hardcodes thepsf_pixel_scale
to be a float, such that even if you pass it in as a jax array it will convert at init time. I was wondering if there was a reason this happens.I'm trying to fit for the psf_pixel_scale for Toliman and running into our favourite cause of NaNs (parameter isn't a jax array). I tried just removing the hardcoding as float from
ParametricOpticalSystem
on a branch and this fixes my issue.don't read this until you get back from CA <3 <3
Max
The text was updated successfully, but these errors were encountered: