Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0 degree incidence angle results in singular matrix error #69

Open
hag174 opened this issue May 21, 2024 · 1 comment
Open

0 degree incidence angle results in singular matrix error #69

hag174 opened this issue May 21, 2024 · 1 comment

Comments

@hag174
Copy link

hag174 commented May 21, 2024

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.

@hag174
Copy link
Author

hag174 commented May 24, 2024

I think this problem can be solved by using np.linalg.pinv() instead of np.linalg.inv().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant