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

Option to disable raman #21

Closed DanHickstein closed 8 years ago

DanHickstein commented 8 years ago

As discussed in https://github.com/pyNLO/PyNLO/issues/20, I changed the "disable raman" to work by setting the raman gain to zero instead of using separate code. This allows the Raman contribution to be disabled while still keeping the self-steepening. Previously, this was not possible.

I commented out some code that is no longer needed, but if we are confident about this change, then it should simply be deleted.

ycasg commented 8 years ago

Looks good. I'll leave the commented code in for the time being and remove it the next time I clean up the code.