Release notes#
0.7#
New features#
Add documentation
Add unit tests
Add
saveandloadmethods toModeclasseAdd
plot,saveandloadmethods toIndexProfileclasseAdd
beta_minoption for radial solver to return non-propagating or missing modes
Changes#
propagationModeSolver.solvenow take solver specific options as aoptionsdictionnary. Warning: this breaks code retrocompability.
0.6#
Bug correction#
solve issue with optimized (scipy bisect) radial solver (see PR #8)
Changes#
switch radial solvers:
radialcorresponds now to the corrected optimized radial solver using scipy for bisect search,radial_legacyis the old oneStore radial and azimuthal functions of the modes in the
radialsolver inmodes0.data[<ind_mode>]['radial_func']andmodes0.data[<ind_mode>]['azimuthal_func'], can be used to apply to your mesh, e.g.:
modes = solver.solve(mode='radial_test', ...)
X, Y = np.meshgrid(...)
TH = np.arctan2(Y, X)
R = np.sqrt(X**2 + Y**2)
ind_mode = 0
psi_r = modes.data[ind_mode]['radial_func'](R)
psi_theta = modes.data[ind_mode]['azimuthal_func'](TH)
plt.figure()
plt.imshow(np.real(R*TH))
in the radial solver, argument
min_radius_bcis now in units of wavelength, defaults to 4.
0.5#
Changes#
Radial solver performance improvements (Pavel Gostev)
Semi-analytical solver performance improvements (Pavel Gostev)
Improved documentation
Add Jupyter notebook examples
0.1#
First public version