pyNLO / PyNLO

Python package for nonlinear optics
https://pynlo.readthedocs.io/en/latest/
GNU General Public License v3.0
96 stars 52 forks source link

More betas for the calculation #54

Closed WeiWenKevinChen closed 4 years ago

WeiWenKevinChen commented 4 years ago

I am trying to simulate supercontinuum output from different PCFs. However, I found that there are only beta_2 ~ beta_4 allowed to be entered. Is there anyway that I can put additional beta_5 and beta_6 for the calculation?

Thanks!

ycasg commented 4 years ago

You can go as high as you want with betas, there is no limit or hard coding on the length of the expansion, see fiber.generate_fiber. You can also use the fiber.load_from_file helper function to read in a tabulation of the fiber dispersion.

On Thu, Apr 30, 2020, 10:50 AM WeiWenKevinChen notifications@github.com wrote:

I am trying to simulate supercontinuum output from different PCFs. However, I found that there are only beta_2 ~ beta_4 allowed to be entered. Is there anyway that I can put additional beta_5 and beta_6 for the calculation?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pyNLO/PyNLO/issues/54, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACB3EKCYZEOWZ6JAMJME4X3RPGT3RANCNFSM4MVYFUTA .

WeiWenKevinChen commented 4 years ago

Thank you so much for your response. That helps me a lot! I appreciate it.