Closed ojdf closed 2 years ago
Hi @ojdf - Was it a flip in the end? When we tried it out last time we found that it didnt' solve the issue. Or did we just flip at the wrong place? Either way - quick check before I merge - the LGS example now runs properly?
@andrewpaulreeves yeah it was a flip, but in a different place. You had the flip on the LGS PSF before the convolution, which was correct but the subaps were still flipped so the slopes were backwards. What I've done is get rid of the flip before the convolution then apply it to the subaps after convolution with the LGS PSF. The LGS-uplink example now runs properly and I've changed the config file to use the non-legacy Shack Hartmann.
Fix for LGS uplink with using
ShackHartmann
wfs class. This fixes the backwards slopes issue whenuplink=True
, so the non-legacy version can be used. Also changed the example config file to useShackHartmann
instead ofShackHartmannLegacy
.I note that one of the changes (not flipping LGS psf) was also implemented in #98