Sterncat / opticspy

python optics module
MIT License
448 stars 126 forks source link

Added simple Jones Class #2

Closed HTuennermann closed 9 years ago

HTuennermann commented 9 years ago

I had some Jones Vector class lying around and integrated it in your lib. Style does not completely fit yours but maybe okay anyway.

Furthermore I have some other scripts (fft prop, fiber modes, tem modes for example but they would need some refactoring)

Sterncat commented 9 years ago

Hi, Henrik

The codes are cool! Thank you for your interests and contribution!

I just merged it in the lib. And I change "import numpy as np" to "import numpy as np"(as well as the "import pi" part), so the users won't see numpy as a function when they use some function auto-complete tools or they "tab" button.

Best regards,

Xing Fan

2015-05-24 22:41 GMT-04:00 Henrik Tünnermann notifications@github.com:

I had some Jones Vector class lying around and integrated it in your lib. Style does not completely fit yours but maybe okay anyway.

Furthermore I have some other scripts (fft prop, fiber modes, tem modes

for example but they would need some refactoring)

You can view, comment on, or merge this pull request online at:

https://github.com/Sterncat/opticspy/pull/2 Commit Summary

  • Added simple Jones Class

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/Sterncat/opticspy/pull/2.