GalSim-developers / JAX-GalSim

JAX port of GalSim, for parallelized, GPU accelerated, and differentiable galaxy image simulations.
Other
25 stars 3 forks source link

figure out how to enable non-default Sensors that carry state #85

Open beckermr opened 9 months ago

beckermr commented 9 months ago

Right now when photons are added to sensors, it is done inside of a JITed function. Thus any internal state in the Sensor is not automatically propagated back out. We should figure out a way to do this if we ever add stateful sensors (e.g., a sensor that does brighter fatter).