Commit fb0d9add authored by hm-striegle's avatar hm-striegle

Update of Example 1

parent 23382b20
......@@ -159,10 +159,7 @@ class pypho_fiber(object):
next_leff = (1-np.exp(-self.alpha*next_l)) / self.alpha
doCoordRot = True
# linear & nonlinear calculation
#next_l = 100
#next_leff = next_l
#self.E[zsep]['E'][0], self.E[zsep]['E'][1] = self.timestep(self.E[zsep]['E'][0], self.E[zsep]['E'][1], power_x, power_y, next_leff)
self.E[zsep]['E'][0], self.E[zsep]['E'][1] = (self.E[zsep]['E'][0] * np.exp(-1j*next_leff*self.gamma_intern*(power_x + 0.6666666666666666 * power_y)),
self.E[zsep]['E'][1] * np.exp(-1j*next_leff*self.gamma_intern*(power_y + 0.6666666666666666 * power_x)))
......
No preview for this file type
......@@ -17,11 +17,11 @@ import scipy.fftpack
#import pyfftw
import urllib2
import json
import os
import pycurl
#import os
#import pycurl
from StringIO import StringIO
from pypho_constants import pypho_constants
import zlib
#import zlib
import zipfile
cv = pypho_constants();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment