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

How to retrieve the ABSOLUTE spectral and temporal phase of an light.PulseBase.Pulse type object? #59

Closed aprasselsperger closed 2 years ago

aprasselsperger commented 2 years ago

Hi everyone,

I'm quite new to pyNLO and try to model the effect of the propagation through a specific fiber on an ultrashort laser pulse. Now I'm not sure how to retrieve the absolute (not relative) spectral and temporal phase of my signal from the output pulse.

Thanks everyone for help.

aprasselsperger commented 2 years ago

F_phase_abs = np.unwrap(np.angle(AW)) T_phase_abs = np.unwrap(np.angle(AT))