You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sh_8x8.yaml configuration, if using PHYSICAL in sci camera setting, the output detector PSF will be blank.
I found that that:
The returning variable of self.los.makePhase() method is efield, but the calcFocalPlane() function only use self.los.phase to calculate the intensity on the detector.
In sh_8x8.yaml configuration, if using PHYSICAL in sci camera setting, the output detector PSF will be blank.
I found that that:
The returning variable of self.los.makePhase() method is efield, but the calcFocalPlane() function only use self.los.phase to calculate the intensity on the detector.
Therefore I suggest this change in SCI.py:
Line 99
self.interp_efield = numpy.zeros((self.FOVPxlNo, self.FOVPxlNo), CDTYPE)
Line 136-140
numbalib.bilinear_interp(
self.los.EField, self.interp_coords, self.interp_coords, self.interp_efield,
self.thread_pool, bounds_check=False)
self.EField_fov = self.interp_efield * self.scaledMask
I use this change solve the problem (but with no comlete testing).
The text was updated successfully, but these errors were encountered: