opticspy / lightpipes

LightPipes for Python, "Pure Python version"
https://opticspy.github.io/lightpipes/
BSD 3-Clause "New" or "Revised" License
228 stars 53 forks source link

attenuating lp modes in a step-index fiber #29

Open nahman opened 4 years ago

nahman commented 4 years ago

I am trying to propagate lp modes down a cylindrical step-index fiber using this package. Strangely enough, I am finding that the lp modes are attenuating as they go along the fiber, which of course should not be the case. Even stranger, if I divide the free-space wavelength by two, lightpipes seems to recover the expected result of no attenuation. I've attached a python notebook illustrating this behavior.

lpmode_prop.zip

FredvanGoor commented 4 years ago

Did you try to increase the number of grid points?

nahman commented 4 years ago

Yes, it doesn't seem to change the result.

On Thu, Jan 16, 2020, 2:22 AM FredvanGoor notifications@github.com wrote:

Did you try to increase the number of grid points?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/opticspy/lightpipes/issues/29?email_source=notifications&email_token=ACNNFEJR2TCNYDZGHLHWBDTQ6AYM5A5CNFSM4KHODHK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJDRQFI#issuecomment-575084565, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNNFEM2IZ2IWHDQ6LUFNLTQ6AYM5ANCNFSM4KHODHKQ .