Open hag174 opened 4 months ago
Plane wave illumination with theta = 0 and phi = 0 degrees angle incidence angle results in singular matrix error. The work arround is to enter for theta a very small angle.
I think this problem can be solved by using np.linalg.pinv() instead of np.linalg.inv().
Plane wave illumination with theta = 0 and phi = 0 degrees angle incidence angle results in singular matrix error. The work arround is to enter for theta a very small angle.