Skip to content
Discussion options

You must be logged in to vote

Hi,

First thanks for using my code. I'm always happy to see that people can find it useful.

The functionality of pulse temporal centering is default to turn on. This means that the pulse is always centered to the time window based on its weighted temporal center: int(t,\abs{A}^2) is shifted to be zero.

This time-shifted information is stored in the output as prop_output.t_delay. The unit is ps, the same as time window.
You can restore the time delay of the pulse by restored_field(:,i) = circshift(prop_output.fields(:,1,i),floor(prop_output.t_delay/dt)).

You can turn this temporal centering off by having sim.pulse_centering = false; before running GMMNLSE_propagate().

Because of periodic n…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@sulfonic-acid
Comment options

@AaHaHaa
Comment options

@sulfonic-acid
Comment options

Answer selected by sulfonic-acid
Comment options

You must be logged in to vote
2 replies
@sulfonic-acid
Comment options

@AaHaHaa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants