diff --git a/beampy/__init__.py b/beampy/__init__.py
index db6a22d..15f2b5b 100644
--- a/beampy/__init__.py
+++ b/beampy/__init__.py
@@ -29,7 +29,7 @@
# module
from beampy import examples
-__version__ = "0.0.1.3.post1"
+__version__ = "0.0.1.4"
def help():
diff --git a/beampy/bpm.py b/beampy/bpm.py
index 8d73991..e98baea 100644
--- a/beampy/bpm.py
+++ b/beampy/bpm.py
@@ -571,7 +571,6 @@ def all_modes(self, lo, offset_light=0):
except ValueError:
break
- print("This guide can propagate up to the modes", i-1)
return [field, h, gamma, beta]
def check_modes(self, lo):
@@ -1184,7 +1183,8 @@ def main_compute(self, chi3=1e-19, kerr=False, kerr_loop=1,
# Display condition: if i+1 is a multiple of pas: i+1 % pas = 0
# = False, so must use if not to have True
- if not (self.i + 1) % self.pas:
+ # last condition to have last point if not a multiple of pas
+ if not (self.i + 1) % self.pas or self.i+1 == self.nbr_z-1:
index += 1
self.progress_pow[index, :] = np.array([self.current_power])
diff --git a/beampy/user_interface.py b/beampy/user_interface.py
index 0212539..964c3f7 100644
--- a/beampy/user_interface.py
+++ b/beampy/user_interface.py
@@ -56,7 +56,7 @@ def __init__(self):
self.mode = np.array([], dtype=int)
self.offset_light_peak = np.array([], dtype=int)
self.airy_check = []
- self.airy_zero = []
+ self.airy_zero = np.array([], dtype=int)
self.lobe_size = []
self.previous_beam = 0
@@ -304,7 +304,6 @@ def calculate_guide(self, topology='array'):
self.checkBox_check_power.setEnabled(True)
# Define new min/max for light and looses, based on selected guides
- self.doubleSpinBox_offset_light.setSingleStep(1.0)
self.doubleSpinBox_width_lost.setMaximum(self.length_x-self.dist_x)
self.doubleSpinBox_lobe_size.setMaximum(self.length_x-self.dist_x)
# If want to use min/max for offset: multiple beams will have issue if
@@ -338,6 +337,9 @@ def calculate_light(self):
nbr_light = self.comboBox_light.count() # Number of beams
field = np.zeros((nbr_light, self.nbr_x))
+ if sum(self.all_modes_check) > 0: # Display only once the max mode
+ self.check_modes_display()
+
for i in range(nbr_light):
# Check if offset relative to guide number or else in µm
@@ -377,7 +379,7 @@ def calculate_light(self):
self.mode[i], self.lo, offset_light=offset_light)[0]
except ValueError as ex: # Say that no mode exist
- print(ex)
+ print(ex, "for the beam", i)
continue # Go to the next field
elif self.airy_check[i]:
@@ -545,8 +547,12 @@ def addmpl(self, tab='guide', pow_index=0):
ax2.set_xlim(x_min, x_max)
- ax2.set_ylim(0,
- max(self.dn[0, :])*1.1 + 1E-20)
+ if max(self.dn[0, :]) > max(self.dn[-1, :]):
+ ax2.set_ylim(0,
+ max(self.dn[0, :])*1.1 + 1E-20)
+ else:
+ ax2.set_ylim(0,
+ max(self.dn[-1, :])*1.1 + 1E-20)
ax2.plot(self.x, self.dn[pow_index_guide], 'k')
diff --git a/docs/html/.buildinfo b/docs/html/.buildinfo
index 98f79e6..9a44290 100644
--- a/docs/html/.buildinfo
+++ b/docs/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 0d720dd1f008c44a89fa7d947d94833c
+config: 956ffc6ad44730b3bf032dd75d98bcab
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/html/.doctrees/beampy.doctree b/docs/html/.doctrees/beampy.doctree
index 2cd12aa..9647cfc 100644
Binary files a/docs/html/.doctrees/beampy.doctree and b/docs/html/.doctrees/beampy.doctree differ
diff --git a/docs/html/.doctrees/codes.doctree b/docs/html/.doctrees/codes.doctree
index 19cd39e..705483a 100644
Binary files a/docs/html/.doctrees/codes.doctree and b/docs/html/.doctrees/codes.doctree differ
diff --git a/docs/html/.doctrees/environment.pickle b/docs/html/.doctrees/environment.pickle
index f32dca8..8c42304 100644
Binary files a/docs/html/.doctrees/environment.pickle and b/docs/html/.doctrees/environment.pickle differ
diff --git a/docs/html/.doctrees/index.doctree b/docs/html/.doctrees/index.doctree
index 89775eb..173ba4a 100644
Binary files a/docs/html/.doctrees/index.doctree and b/docs/html/.doctrees/index.doctree differ
diff --git a/docs/html/LICENSE.html b/docs/html/LICENSE.html
index 7615240..992565e 100644
--- a/docs/html/LICENSE.html
+++ b/docs/html/LICENSE.html
@@ -8,7 +8,7 @@
-
Beampy modules
-
List of all the modules used in Beampy as of Jan 25, 2020 for the version 0.0.1.3
+
List of all the modules used in Beampy as of Jan 26, 2020 for the version 0.0.1.4
Source codes
beampy.bpm
diff --git a/docs/html/codes.html b/docs/html/codes.html
index eb5e8b0..eec948e 100644
--- a/docs/html/codes.html
+++ b/docs/html/codes.html
@@ -8,7 +8,7 @@
-
Source codes — beampy 0.0.1.3 documentation
+
Source codes — beampy 0.0.1.4 documentation
@@ -735,7 +735,6 @@
except ValueError:
break
-
print("This guide can propagate up to the modes", i-1)
return [field, h, gamma, beta]
def check_modes(self, lo):
@@ -1348,7 +1347,8 @@
# Display condition: if i+1 is a multiple of pas: i+1 % pas = 0
# = False, so must use if not to have True
-
if not (self.i + 1) % self.pas:
+
# last condition to have last point if not a multiple of pas
+
if not (self.i + 1) % self.pas or self.i+1 == self.nbr_z-1:
index += 1
self.progress_pow[index, :] = np.array([self.current_power])
@@ -2456,7 +2456,7 @@
self.mode = np.array([], dtype=int)
self.offset_light_peak = np.array([], dtype=int)
self.airy_check = []
-
self.airy_zero = []
+
self.airy_zero = np.array([], dtype=int)
self.lobe_size = []
self.previous_beam = 0
@@ -2526,8 +2526,20 @@
:meth:`.open_file_name`, :meth:`.save_quick`, :meth:`.save_file_name`,
:func:`.open_doc`.
"""
+
folder = __file__ # Module name
+
# Replaces characters only when called from outer files
+
folder = folder.replace("\\", "/")
+
folder = folder.split("/")
+
folder = folder[:-1] # Remove the file name
+
folder2 = str()
+
+
for line in folder:
+
folder2 = folder2+"/"+line
+
+
folder = folder2[1:]+"/"
+
icon = QIcon()
-
icon.addFile('icons/beampy-logo.png', QSize(256, 256))
+
icon.addFile(folder+'icons/beampy-logo.png', QSize(256, 256))
self.setWindowIcon(icon)
menubar = self.menuBar()
@@ -2538,28 +2550,28 @@
action.triggered.connect(self.open_file_name)
action.setShortcut('Ctrl+O')
icon = QIcon()
-
icon.addFile('icons/document-open.png', QSize(22, 22))
+
icon.addFile(folder+'icons/document-open.png', QSize(22, 22))
action.setIcon(icon)
action = file.addAction('Save')
action.triggered.connect(self.save_quick)
action.setShortcut('Ctrl+S')
icon = QIcon()
-
icon.addFile('icons/document-save.png', QSize(22, 22))
+
icon.addFile(folder+'icons/document-save.png', QSize(22, 22))
action.setIcon(icon)
action = file.addAction('Save as')
action.triggered.connect(self.save_file_name)
action.setShortcut('Ctrl+Shift+S')
icon = QIcon()
-
icon.addFile('icons/document-save-as.png', QSize(22, 22))
+
icon.addFile(folder+'icons/document-save-as.png', QSize(22, 22))
action.setIcon(icon)
action = file.addAction('Exit') # Clean exit for spyder
action.setShortcut('Ctrl+Q')
action.triggered.connect(QApplication.quit)
icon = QIcon()
-
icon.addFile('icons/application-exit.png', QSize(22, 22))
+
icon.addFile(folder+'icons/application-exit.png', QSize(22, 22))
action.setIcon(icon)
file = menubar.addMenu('Help')
@@ -2567,7 +2579,7 @@
action = file.addAction('Documentation')
action.triggered.connect(open_doc)
icon = QIcon()
-
icon.addFile('icons/help-about.png', QSize(22, 22))
+
icon.addFile(folder+'icons/help-about.png', QSize(22, 22))
action.setIcon(icon)
def calculate_guide(self, topology='array'):
@@ -2692,7 +2704,6 @@
self.checkBox_check_power.setEnabled(True)
# Define new min/max for light and looses, based on selected guides
-
self.doubleSpinBox_offset_light.setSingleStep(1.0)
self.doubleSpinBox_width_lost.setMaximum(self.length_x-self.dist_x)
self.doubleSpinBox_lobe_size.setMaximum(self.length_x-self.dist_x)
# If want to use min/max for offset: multiple beams will have issue if
@@ -2726,6 +2737,9 @@
nbr_light = self.comboBox_light.count() # Number of beams
field = np.zeros((nbr_light, self.nbr_x))
+
if sum(self.all_modes_check) > 0: # Display only once the max mode
+
self.check_modes_display()
+
for i in range(nbr_light):
# Check if offset relative to guide number or else in µm
@@ -2765,7 +2779,7 @@
self.mode[i], self.lo, offset_light=offset_light)[0]
except ValueError as ex: # Say that no mode exist
-
print(ex)
+
print(ex, "for the beam", i)
continue # Go to the next field
elif self.airy_check[i]:
@@ -2933,8 +2947,12 @@
ax2.set_xlim(x_min, x_max)
-
ax2.set_ylim(0,
-
max(self.dn[0, :])*1.1 + 1E-20)
+
if max(self.dn[0, :]) > max(self.dn[-1, :]):
+
ax2.set_ylim(0,
+
max(self.dn[0, :])*1.1 + 1E-20)
+
else:
+
ax2.set_ylim(0,
+
max(self.dn[-1, :])*1.1 + 1E-20)
ax2.plot(self.x, self.dn[pow_index_guide], 'k')
diff --git a/docs/html/contact.html b/docs/html/contact.html
index 80ea31d..2495d68 100644
--- a/docs/html/contact.html
+++ b/docs/html/contact.html
@@ -8,7 +8,7 @@
-
Contact — beampy 0.0.1.3 documentation
+
Contact — beampy 0.0.1.4 documentation
diff --git a/docs/html/examples.html b/docs/html/examples.html
index 917f24a..e55abd1 100644
--- a/docs/html/examples.html
+++ b/docs/html/examples.html
@@ -8,7 +8,7 @@
-
Examples — beampy 0.0.1.3 documentation
+
Examples — beampy 0.0.1.4 documentation
diff --git a/docs/html/genindex.html b/docs/html/genindex.html
index e2200e2..51f2fa6 100644
--- a/docs/html/genindex.html
+++ b/docs/html/genindex.html
@@ -9,7 +9,7 @@
-
Index — beampy 0.0.1.3 documentation
+
Index — beampy 0.0.1.4 documentation
diff --git a/docs/html/index.html b/docs/html/index.html
index 4573f0f..f7c8cd9 100644
--- a/docs/html/index.html
+++ b/docs/html/index.html
@@ -8,7 +8,7 @@
-
Welcome to Beampy’s documentation! — beampy 0.0.1.3 documentation
+
Welcome to Beampy’s documentation! — beampy 0.0.1.4 documentation
@@ -254,7 +254,7 @@
Indices and tables
Module Index
-
Last edit: Jan 25, 2020 for the version 0.0.1.3
+
Last edit: Jan 26, 2020 for the version 0.0.1.4
diff --git a/docs/html/interface.html b/docs/html/interface.html
index 6183aaf..0d90e56 100644
--- a/docs/html/interface.html
+++ b/docs/html/interface.html
@@ -8,7 +8,7 @@
-
Interface — beampy 0.0.1.3 documentation
+
Interface — beampy 0.0.1.4 documentation
diff --git a/docs/html/py-modindex.html b/docs/html/py-modindex.html
index a5c24e7..81e7e4f 100644
--- a/docs/html/py-modindex.html
+++ b/docs/html/py-modindex.html
@@ -8,7 +8,7 @@
-
Python Module Index — beampy 0.0.1.3 documentation
+
Python Module Index — beampy 0.0.1.4 documentation
diff --git a/docs/html/results.html b/docs/html/results.html
index a138184..b3f6b25 100644
--- a/docs/html/results.html
+++ b/docs/html/results.html
@@ -8,7 +8,7 @@
-
Results — beampy 0.0.1.3 documentation
+
Results — beampy 0.0.1.4 documentation
diff --git a/docs/html/search.html b/docs/html/search.html
index 9cf14fe..feeaa60 100644
--- a/docs/html/search.html
+++ b/docs/html/search.html
@@ -8,7 +8,7 @@
-
Search — beampy 0.0.1.3 documentation
+
Search — beampy 0.0.1.4 documentation
diff --git a/docs/html/searchindex.js b/docs/html/searchindex.js
index 3aebd85..d6acb70 100644
--- a/docs/html/searchindex.js
+++ b/docs/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["LICENSE","beampy","codes","contact","examples","index","interface","results"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["LICENSE.rst","beampy.rst","codes.rst","contact.rst","examples.rst","index.rst","interface.rst","results.rst"],objects:{"beampy.bpm":{Bpm:[1,1,1,""],example_bpm:[1,3,1,""]},"beampy.bpm.Bpm":{absorption:[1,2,1,""],airy_light:[1,2,1,""],all_modes:[1,2,1,""],bpm_compute:[1,2,1,""],check_modes:[1,2,1,""],create_curved_guides:[1,2,1,""],create_guides:[1,2,1,""],create_x_z:[1,2,1,""],gauss_guide:[1,2,1,""],gauss_light:[1,2,1,""],guide_position:[1,2,1,""],init_field:[1,2,1,""],kerr_effect:[1,2,1,""],losses_position:[1,2,1,""],main_compute:[1,2,1,""],mode_determ:[1,2,1,""],mode_light:[1,2,1,""],power_guide:[1,2,1,""],squared_guide:[1,2,1,""],squared_light:[1,2,1,""],variance:[1,2,1,""]},"beampy.examples":{example_free_propag:[4,3,1,""],example_gaussian_beam:[4,3,1,""],example_guides_x:[4,3,1,""],example_guides_z:[4,3,1,""],example_kerr:[4,3,1,""],example_stability:[4,3,1,""]},"beampy.interface":{Ui_MainWindow:[1,1,1,""]},"beampy.interface.Ui_MainWindow":{retranslateUi:[1,2,1,""],setupUi:[1,2,1,""]},"beampy.user_interface":{UserInterface:[1,1,1,""],open_app:[1,3,1,""],open_doc:[1,3,1,""]},"beampy.user_interface.UserInterface":{addmpl:[1,2,1,""],calculate_guide:[1,2,1,""],calculate_light:[1,2,1,""],calculate_propagation:[1,2,1,""],check_modes_display:[1,2,1,""],connect_buttons:[1,2,1,""],create_menu:[1,2,1,""],get_compute:[1,2,1,""],get_guide:[1,2,1,""],get_light:[1,2,1,""],on_click_array:[1,2,1,""],on_click_compute:[1,2,1,""],on_click_create_light:[1,2,1,""],on_click_curved:[1,2,1,""],on_click_delete_light:[1,2,1,""],on_click_light:[1,2,1,""],open_file:[1,2,1,""],open_file_name:[1,2,1,""],rmmpl:[1,2,1,""],save_compute:[1,2,1,""],save_file:[1,2,1,""],save_file_name:[1,2,1,""],save_guide:[1,2,1,""],save_light:[1,2,1,""],save_quick:[1,2,1,""],show_estimate_time:[1,2,1,""]},beampy:{"interface":[1,0,0,"-"],bpm:[1,0,0,"-"],examples:[4,0,0,"-"],user_interface:[1,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function"},terms:{"05e17":2,"14pt":2,"1e13":2,"1e3":2,"1e7":2,"1f77b4":2,"20000e13":2,"2nd":[1,2,5],"5e6":2,"5e7":2,"85e17":2,"\u03b4n":2,"\u03b8":2,"\u03bb":2,"\u03bcm":2,"break":2,"case":2,"class":[1,2],"comt\u00e9":[1,2,5],"default":[1,2],"final":[1,2],"float":[1,2],"function":[1,2,5,6],"import":[2,5],"int":[1,2],"new":[1,2],"r\u00e9gi":[1,2,5],"return":[1,2,4],"super":[1,2,4],"true":2,"try":[1,2],"universit\u00e9":[1,2,5],"while":2,AND:0,And:3,BUT:0,FOR:0,For:[3,5],NOT:0,Not:2,THE:0,The:[0,1,2,3,5],Then:[1,2],USE:0,Use:2,Used:[1,2],WITH:0,__file__:2,__init__:2,__main__:2,__name__:2,_delai:[1,2],_show_plot:2,_translat:2,about:[2,3],abov:0,abs:2,absorpt:[1,2],academ:[1,2,5],access:5,account:[1,2],aco:2,act:2,action:[0,2],activ:[1,2],adaptivedecimalsteptyp:2,add:[1,2],add_patch:2,add_subplot:2,addact:2,addfil:2,additem:2,addlayout:2,addmenu:2,addmpl:[1,2],addtab:2,addwidget:2,adiabat:[1,2,5],after:[1,2],again:2,ai_zero:2,air:2,airi:[1,2,7],airy_check:2,airy_light:[1,2],airy_zero:[1,2],ajust:[1,2],alert:[1,2],algorithm:[1,2],all:[0,1,2],all_mod:[1,2],all_modes_check:2,allow:[1,2,5],alpha:[1,2],alreadi:[1,2],also:[1,2],amplitud:[1,2],angl:[1,2],ani:[0,1,2,3],app:[1,2],append:2,applic:2,approxim:[1,2,4],area:[1,2],argument:[1,2],argv:2,aris:0,arrai:[1,2,4,6,7],articl:2,asin:2,ask:[1,2],assert:2,assign:2,associ:0,assum:2,astyp:2,author:0,avail:2,avoid:2,ax1:2,ax2:2,axes:2,axi:2,b_b:2,backend:2,backend_qt4agg:2,base:[1,2,5],beam1:2,beam2:2,beam3:2,beam:[1,2,4,5,6,7],beam_selec:[1,2],beampi:[3,4,7],becaus:2,befor:2,begin:2,being:[1,2],bellow:5,best:2,beta:[1,2],beta_m:[1,2],better:[1,2],between:[1,2,5],bewteen:[1,2],big:2,bigger:2,blog:2,bodi:2,bool:[1,2],bounderi:2,bourgogn:[],box:2,bpm:[4,5],bpm_comput:[1,2],broadband:[1,2,5],build:2,burlington:[1,2,5],button:[1,2],c_c:2,calcul:[1,2],calculate_guid:[1,2],calculate_guide_don:2,calculate_light:[1,2],calculate_propag:[1,2],calculatebutton_arrai:2,calculatebutton_comput:2,calculatebutton_curv:2,calculatebutton_light:2,call:[1,2],can:[1,2,5],cancel:2,canvas_5:2,canvas_compute_end:2,canvas_compute_propag:2,canvas_guide_in:2,canvas_guide_prop:2,canvas_light:2,care:2,ceil:2,center:[1,2],center_airi:2,central:[1,2],centralwidget:2,chang:[1,2],charact:2,charg:0,check:[1,2],check_mod:[1,2],check_modes_displai:[1,2],checkbox_check_pow:2,checkbox_kerr:2,checkbox_lost:2,checkbox_offset_light:2,checkbox_vari:2,chi3:[1,2],choic:[2,5],choos:2,choosen:[1,2],clad:[1,2],claim:0,clean:2,clear:2,click:2,close:2,closest:[1,2],cmap:2,code:[1,4,5],coeffici:[1,2],colormesh:2,com:[1,2,3,5],combobox_light:2,command:5,comparison:2,compil:[1,2,5],complex:2,comput:[1,2,5],condit:[0,2],condition_even_guid:2,confirm:[2,4],conjug:2,connect:[0,1,2],connect_button:[1,2],connectslotsbynam:2,constant:[1,2],contact:5,contain:[1,2,7],continu:[1,2],contract:0,control:[1,2,5],conventionn:[1,2],converg:[1,2],convert:[1,2],coordin:2,copi:0,copyright:0,core:[1,2],correct:[1,2,4],correcttonearestvalu:2,correspond:[1,2],cos:2,could:[1,2],count:2,cours:[1,2,5],crash:2,creat:[1,2],create_curved_guid:[1,2],create_guid:[1,2],create_menu:[1,2],create_x_z:[1,2],critic:2,cross:2,ctrl:2,cur_1:2,cur_2:2,cur_3:2,cur_pow:[1,2],cur_ref:2,current:[1,2],current_pow:[1,2],currentindex:2,curv:[1,2,4,6,7],curvatur:[1,2],cut:[1,2],damag:0,dan:[1,2,5],data:2,deal:0,debut:2,deconvolv:[1,2],def:2,defaultsteptyp:2,defin:[1,2],definit:[2,4],delai:2,delet:[1,2],delta_n:2,delta_no:[1,2],describ:[1,2,5],desgin:5,design:2,detail:[1,2,5],develop:[1,2,3,5],deviat:[1,2],dialog:[1,2],diamet:[1,2],dico:2,dictionari:2,differ:[1,2,4],direclti:5,direct:[1,2,5],directli:[1,2],displai:[1,2,4,5],dist_x:[1,2],dist_z:[1,2],distanc:[1,2],distance_factor:[1,2],distribut:0,divis:2,dn1:2,dn2:2,dn_1:2,dn_2:2,dn_3:2,dn_disp:2,dn_fix:2,dn_ref:2,dn_start:[1,2],dn_z:2,doc:[2,5],document:[0,1,2],doe:2,don:[1,2],done:[1,2,5],dontusenativedialog:2,doublespinbox_chi3:2,doublespinbox_curv:2,doublespinbox_dist_x:2,doublespinbox_dist_z:2,doublespinbox_distance_factor:2,doublespinbox_dn:2,doublespinbox_fwhm:2,doublespinbox_half_delai:2,doublespinbox_intensity_light:2,doublespinbox_length_x:2,doublespinbox_length_z:2,doublespinbox_lo:2,doublespinbox_lobe_s:2,doublespinbox_lost:2,doublespinbox_n:2,doublespinbox_offset_guid:2,doublespinbox_offset_light:2,doublespinbox_p:2,doublespinbox_theta_ext:2,doublespinbox_width:2,doublespinbox_width_lost:2,doubt:2,download:5,drasticli:2,dtype:2,due:[1,2],dure:[1,2,5],each:[1,2],edg:2,edgecolor:2,edit:[1,2,5],effect:[1,2,4],electr:[1,2],elif:2,elimin:[1,2,5],els:[1,2],empti:2,end:2,enough:2,enought:[1,2],enumer:2,environ:5,epnc:[1,2],equal:[1,2],equat:[1,2],error:2,estim:[1,2],estimate_time_displai:2,eta:2,even:[2,5],event:0,everi:2,exampl:5,example_bpm:[1,2],example_free_propag:[2,4],example_gaussian_beam:[2,4],example_guides_x:[1,2,4],example_guides_z:[2,4],example_kerr:[2,4],example_st:[2,4],exce:[1,2],except:[1,2],exec_:2,execpt:2,execut:2,exist:[1,2],exit:[1,2],exp:2,expand:2,experiment:[1,2],explain:[5,6],explan:5,express:0,ext:2,exterior:[1,2],extern:[1,2],extinct:[1,2],extrem:4,facecolor:2,factor:[1,2],fals:[1,2],fast:[1,2],featur:2,femto:[1,2,5],fft:2,fftshift:2,field:[1,2,4],field_1:2,field_2:2,field_3:2,field_i:2,field_ref:2,field_start:[1,2],field_x:[1,2],fieldrol:2,fig:2,figur:2,figurecanva:2,figurecanvasqtagg:2,file2:2,file:[0,1,2,5],filenam:[1,2],fill:2,fin:2,finish:2,finish_sum:2,first:[1,2,3],first_zero:2,fit:0,flat:[1,2,4],flux:2,folder:[2,5],follow:[0,1,2],font:2,form:2,formlayout:2,formlayout_10:2,formlayout_2:2,formlayout_5:2,formlayout_6:2,formlayout_8:2,formlayout_9:2,formlayout_estim:2,formlayout_lo_theta:2,found:[2,5],fourier:[1,2],frame_beam:2,frame_file_data:2,frame_guid:2,frame_kerr:2,frame_light:2,frame_lost:2,frame_window:2,franch:[1,2,5],free:[0,1,2,4],free_propag:[1,2],frequenc:2,fressengea:[1,2,5],from:[0,1,2,4,5,7],full:[1,2],func:2,fundament:[1,2,5],furnish:0,further:2,fwhm2:2,fwhm:[1,2,4],fwhm_final:2,gamma:[1,2],gamma_m:[1,2],gauss:[1,2],gauss_guid:[1,2],gauss_light:[1,2],gauss_pow:[1,2],gaussian:[1,2,4],gaussian_beam:2,gaussian_check:2,gaussian_funct:[1,2],gaussien:[1,2],gener:[1,2,5],get:[1,2],get_comput:[1,2],get_guid:[1,2],get_light:[1,2],get_yticklabel:2,getopenfilenam:2,getsavefilenam:2,github:[3,5],give:[1,2],given:[1,2],good:2,grai:2,grant:0,graph:2,graphic:2,grasser:[1,2,5],grid:2,gridlayout:2,gridlayout_creat_delete_beam:2,gui:2,guid:[1,2,4,5,6,7],guide_lost:[1,2],guide_posit:[1,2],guide_x:2,guide_z_arrai:2,guide_z_curv:2,h_m:[1,2],half:[1,2],half_delai:[1,2],happen:2,has:[1,2],have:[2,5],head:2,help:2,herebi:0,high:2,higher:[1,2],his:[1,2,5],holder:0,horizontallayout:2,horizontallayout_2:2,horizontallayout_4:2,how:2,html:[1,2],http:[1,2,3,5],i_min:2,icon:2,ident:2,ifft:2,illustr:[2,4],imag:[2,4],impact:2,imped:2,implement:[1,2,4],impli:0,inclinaison:[1,2],includ:[0,1,2],increas:[1,2],index:[1,2,4,5],indexerror:2,indexof:2,indic:[1,2],influenc:2,info:2,inform:[1,2,5],init_field:[1,2],initi:[1,2],initiali:[1,2,5],inject:2,input:[1,2],insid:[1,2],instead:2,institut:[1,2,5],intens:[1,2],interfac:[3,5],interm:2,interv:[1,2],irrad:[1,2],irradi:[1,2],ischeck:2,isfil:2,issu:2,item:2,jan:[1,5],jonathan:[0,1,2,3,5],jonathanp57:3,just:[1,2],kei:2,kerr:[1,2,4,5],kerr_check:2,kerr_effect:[1,2],kerr_loop:[1,2],keyerror:2,kind:0,label:2,label_chi3:2,label_correction_loop:2,label_curv:2,label_dist_x:2,label_dist_z:2,label_distance_factor:2,label_dn:2,label_fwhm:2,label_guide_lost:2,label_guides_inform:2,label_half_delai:2,label_intens:2,label_kerr_inform:2,label_length:2,label_length_x:2,label_light_inform:2,label_lo:2,label_lobe_s:2,label_lost:2,label_lost_inform:2,label_n:2,label_nb_p:2,label_nbr_z_disp:2,label_offset_guid:2,label_offset_light:2,label_p:2,label_theta_ext:2,label_width:2,label_width_lost:2,label_window_paramet:2,label_zero_cut:2,labelrol:2,laboratori:[1,2,5],lambda:[1,2],last:[1,2,5],last_zero:2,last_zero_po:2,later:[1,2,5],launch:5,left:[1,2],legend:2,len:2,leng_max:2,length:[1,2],length_x:[1,2],length_z:[1,2],lhs:2,liabil:0,liabl:0,licens:5,light:[1,2,5],like:[1,2],lim:2,limit:0,line:2,linear:[1,2],linemark:2,linestyl:2,link:2,linspac:2,list:[1,2,4],lmop:[1,2,5],lobe:[1,2],lobe_s:[1,2],loc:2,local:[1,2],locali:2,locat:2,log:[1,2],logo:2,longitudin:[1,2],loop:[1,2],loos:[1,2],lorrain:[1,2,5],loss:2,losses_posit:[1,2],lost:2,lost_beg:[1,2],lost_check:2,lost_end:[1,2],low:[1,2],lumer:2,made:[2,5],main:[1,2],main_comput:[1,2],mainli:[1,2,3,5],mainwindow:[1,2],make:[2,5],mani:[1,2],manual:[1,2],manuali:2,marcel:[0,1,2,3,5],marcelrsoub:3,massif:[1,2,5],master:[1,2,5],match:2,materi:2,math:2,mathematical_form:2,matlab:[1,2,5],matplotlib:[2,5],matrix:2,max:2,maximum:[1,2],menu:[1,2],menubar:2,merchant:0,merg:[0,1,2],meshgrid:2,messag:2,meth:[1,2],method:[1,2,5],methood:[1,2],middl:2,milieu:[1,2,5],min:[1,2],minim:[1,2],minimum:[1,2],miss:2,mit:5,mod:2,mode:[1,2],mode_check:2,mode_determ:[1,2],mode_light:[1,2],mode_max:2,mode_numb:2,modifi:[0,1,2,5],modul:[2,3,4,5],more:[1,2,4,5],mu_0:2,multipl:2,must:2,myapp:2,name:[1,2],navigationtoolbar2qt:2,navigationtoolbar:2,nbr:2,nbr_light:2,nbr_lost:[1,2],nbr_p:[1,2],nbr_p_max:2,nbr_point:2,nbr_step:2,nbr_x:[1,2],nbr_z:[1,2],nbr_z_disp:[1,2],necessari:2,need:[1,2],next:[1,2],nicola:[1,2,5],nl_control_amp:2,nl_mat:[1,2],nofram:2,non:[1,2,5],none:[1,2],noninfring:0,normal:2,note:[1,2],notic:0,nu_max:2,num:2,number:[1,2],numpi:[2,5],object:[1,2],obsolet:2,obtain:0,occur:[1,2],odd:2,offset:[1,2],offset_check:2,offset_guid:[1,2],offset_light:[1,2],offset_light_peak:2,okamoto:[1,2,5],on_click_arrai:[1,2],on_click_comput:[1,2],on_click_create_light:[1,2],on_click_curv:[1,2],on_click_delete_light:[1,2],on_click_light:[1,2],one:[1,2],onli:2,onlin:[1,2,5],onto:[1,2],open:[1,2,5],open_app:[1,2,5],open_doc:[1,2],open_fil:[1,2],open_file_nam:[1,2],optibpm:[1,2],optic:[1,2,5],optim:2,option:[1,2],optiwav:[1,2],order:2,order_gaussian_or_sup:[1,2],org:[1,2,5],other:[0,1,2],otherwis:[0,1,2],oukraou:[1,2,5],out:[0,2],outer:2,outlook:3,over:[1,2,4],overlaps:2,overwrit:2,p_max:2,p_min:[1,2],packag:5,page:[6,7],paip:[1,2,5],paramet:[1,2,5],paraxi:[1,2],part:[2,4],particular:0,pas:[1,2],patch:2,path:2,pcolormesh:2,peak:[1,2],peaks_i:2,peaks_max:2,peaks_z:2,peltier:[0,1,2,3,5],per:[1,2],perform:2,periodiqu:[1,2,5],permiss:0,permit:0,person:0,phase:[1,2],phase_mat:[1,2],phase_mat_demi:2,phd:[1,2,5],photon:[1,2,5],phy:[1,2,5],pip:5,pixel:2,pleas:3,plot:[1,2],plot_comput:2,plot_guid:2,plot_light:2,plt:2,png:2,point:[1,2],pointinghandcursor:2,poli:2,polygon:2,portion:0,pos_beg:2,pos_end:2,posi:2,posit:[1,2],positio:2,possibl:[1,2,4],pow:2,pow_index:[1,2],pow_index_guid:2,power:[1,2,4],power_check:2,power_guid:[1,2],precis:2,prepar:2,press:2,prev_pow:2,prevent:2,previou:2,previous:2,previous_beam:2,principl:[1,2],print:2,process_tim:2,profil:2,program:2,progress_pow:[1,2],project:[2,5],propag:[1,2,4,5],provid:0,publish:0,purpos:0,pushbutton_cancel_comput:2,pushbutton_cancel_guid:2,pushbutton_cancel_light:2,pushbutton_create_beam:2,pushbutton_delete_beam:2,pushbutton_estimate_tim:2,pushbutton_mode_numb:2,pushbutton_save_beam:2,pypi:5,pyplot:2,pyqt5:[1,2],pyqtslot:2,python:[2,3,5],pythonpath:5,pythonspot:[1,2],pyuic5:2,qabstractspinbox:2,qapplic:2,qcheckbox:2,qcombobox:2,qcoreappl:2,qcursor:2,qdoublespinbox:2,qfiledialog:2,qformlayout:2,qframe:2,qframe_beam_cr:2,qgridlayout:2,qhboxlayout:2,qicon:2,qlabel:2,qlcdnumber:2,qmainwindow:[1,2],qmetaobject:2,qpushbutton:2,qradiobutton:2,qsize:2,qsizepolici:2,qspaceritem:2,qspinbox:2,qstring:2,qt5:5,qtabwidget:2,qtcore:2,qtgui:2,qtwidget:[1,2],question:3,quick:[1,2],quit:2,qvboxlayout:2,qwidget:2,radian:2,radiant:2,radiobutton_airi:2,radiobutton_all_mod:2,radiobutton_gaussian:2,radiobutton_gaussian_light:2,radiobutton_mod:2,radiobutton_squar:2,radiobutton_squared_light:2,rais:[1,2],rang:2,rcnelson:2,reach:2,read:2,readthedoc:[2,5],real:[2,4],realist:[1,2],recent:2,rectangular:[1,2],reduc:2,reefract:[1,2],refer:2,refract:[1,2,4,5],regur:[1,2],rei:0,rel:[1,2],remain:2,remind:2,remov:[1,2],removewidget:2,replac:2,repositori:5,requir:5,reseaux:[1,2,5],resiz:2,resolut:[1,2],restoreoverridecursor:2,restrict:0,result:[1,2,5,6],retranslateui:[1,2],rev:[1,2,5],rhs:2,right:[0,1,2],rmmpl:[1,2],roll:2,round:2,run:2,runtimeerror:2,safeti:2,sai:2,same:2,sampl:2,save:[1,2],save_comput:[1,2],save_fil:[1,2],save_file_nam:[1,2],save_guid:[1,2],save_light:[1,2],save_quick:[1,2],scipi:[1,2],search:[1,2],see:[1,2,5],select:[1,2],self:[1,2],sell:0,set:[1,2,5,6],set_color:2,set_tight_layout:2,set_titl:2,set_xlabel:2,set_xlim:2,set_ylabel:2,set_ylim:2,setaccessibledescript:2,setautofillbackground:2,setbuddi:2,setcentralwidget:2,setcheck:2,setcorrectionmod:2,setcurrentindex:2,setcursor:2,setdecim:2,setdigitcount:2,setdis:2,setdisplayintegerbas:2,seten:2,setframeshadow:2,setframeshap:2,seticon:2,setitem:2,setmaximum:2,setmaximums:2,setminimum:2,setminimums:2,setmousetrack:2,setobjectnam:2,setopenexternallink:2,setoverridecursor:2,setprefix:2,setproperti:2,setsegmentstyl:2,setshortcut:2,setsinglestep:2,setstatustip:2,setsteptyp:2,setsuffix:2,settabord:2,settabtext:2,settext:2,settooltip:2,setupui:[1,2],setvalu:2,setwidget:2,setwindowicon:2,setwindowtitl:2,sever:[1,2],shall:0,shape:[1,2],shape_gauss_check:2,shape_squared_check:2,share:[1,2],shift:2,show:[2,4],show_estimate_tim:[1,2],simul:[1,2,3,5],sin:2,sin_theta_m:2,situat:2,size:[1,2],slow:2,small:[1,2],softwar:0,soliton:[1,2,5,6,7],solu:2,solv:[1,2],soubkovski:[1,2,3,5],sourc:[1,5],space:[1,2],spaceritem10:2,spaceritem11:2,spaceritem12:2,spaceritem13:2,spaceritem14:2,spaceritem1:2,spaceritem2:2,spaceritem3:2,spaceritem4:2,spaceritem5:2,spaceritem6:2,spaceritem7:2,spaceritem8:2,spaceritem9:2,spaceritem:2,spacial:2,span:2,spanningrol:2,spatiaux:[1,2,5],special:[1,2],speed:2,spinbox_airy_zero:2,spinbox_gauss_pow:2,spinbox_guide_lost:2,spinbox_kerr_loop:2,spinbox_mod:2,spinbox_nb_p:2,spinbox_nbr_z_disp:2,spinbox_offset_light_peak:2,split:2,spot_siz:2,spyder:2,sqrt:[1,2],squar:[1,2],square_check:2,squared_guid:[1,2],squared_light:[1,2],stai:2,standard:[1,2],start:2,step:[1,2],stirap:[1,2,6],str:[1,2],style:2,subject:0,sublicens:0,subplot:2,substanti:0,sum:[1,2],support:2,suppos:2,sure:[2,5],suscept:[1,2],sys:2,system:[2,4],t_compute_end:2,t_compute_start:2,t_guide_end:2,t_guide_start:2,t_light_end:2,t_light_start:2,t_power_end:2,t_power_start:2,tab:[1,2],tab_arrai:2,tab_curv:2,tab_index:2,tabwidget_comput:2,tabwidget_guid:2,tabwidget_light:2,tabwidget_main:2,tabwidget_morphology_guid:2,take:[1,2],tan:[1,2],temp:2,tensor:[1,2],term:[1,2],test:[1,2,4],test_1:2,test_2:2,test_3:2,test_4:2,test_5:2,test_6:2,test_7:2,text:2,than:[1,2,4],thank:2,thei:[1,2],them:[1,2],theori:2,thesi:[1,2,5],theta:2,theta_c:2,theta_ext:[1,2],theta_m:2,thi:[0,1,2,5,6,7],third:[1,2],those:2,three:5,through:2,time:[1,2],titl:2,too:2,toolbar_2:2,toolbar_3:2,toolbar_4:2,toolbar_5:2,toolbar_guide_in:2,toolbar_guide_prop:2,top:[1,2,4],topolog:[1,2],tort:0,touch:[1,2],transcendent:[1,2],translat:2,transport:[1,2,5],transvers:[1,2],trapz:2,trigger:2,tutorialspoint:2,twinx:2,two:[1,2,4],txt:[2,5],type:1,ui_mainwindow:[1,2],under:[1,2,5],understand:2,unit:[1,2],univers:[1,2,5],unknown:2,upper:2,use:[0,2],used:[1,2,5],useful:2,useless:2,user:[1,2,5],user_interfac:5,userinterfac:[1,2],uses:[1,2],using:[1,2,5],usual:2,utf:2,vaccum:[1,2],val:2,valu:[1,2,4],valueerror:[1,2],vari:5,variabl:[1,2],variable_nam:2,varianc:[1,2],variance_check:[1,2],variat:[1,2,4],vector:[1,2],version:[1,2,5],vert:2,verticallayout:2,verticallayout_comput:2,verticallayout_compute_plot:2,verticallayout_guid:2,verticallayout_light:2,w0_final:2,w_0:2,waist:[1,2,4],waitcursor:2,want:2,warn:2,warranti:0,wave:2,waveguid:[1,2,5],wavelengh:2,wavelenght:[1,2],wavelength:[1,2],webbrows:2,weight:2,were:[1,2],what:2,when:[1,2],where:[1,2],whether:0,which:2,whole:5,whom:0,width:[1,2,4],width_lost:[1,2],wiki:[1,2],wikipedia:[1,2],window:[1,2],witdh:2,within:[1,2],without:[0,1,2],won:2,word:[1,2],would:[1,2],write:2,www:2,x_0:[1,2],x_airi:2,x_beg:[1,2],x_end:[1,2],x_max:2,x_min:2,xlim:2,yes:2,ylim:2,you:2,z_disp:2,zero:[1,2],zero_po:2,zip:2},titles:["MIT License","Beampy modules","Source codes","Contact","Examples","Welcome to Beampy\u2019s documentation!","Interface","Results"],titleterms:{beampi:[1,2,5],bpm:[1,2],code:2,contact:3,document:5,exampl:[2,4],indic:5,instal:5,interfac:[1,2,6],licens:0,link:5,mit:0,modul:1,overview:5,refer:5,result:7,softwar:5,sourc:2,start:5,tabl:5,user_interfac:[1,2],welcom:5}})
\ No newline at end of file
+Search.setIndex({docnames:["LICENSE","beampy","codes","contact","examples","index","interface","results"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["LICENSE.rst","beampy.rst","codes.rst","contact.rst","examples.rst","index.rst","interface.rst","results.rst"],objects:{"beampy.bpm":{Bpm:[1,1,1,""],example_bpm:[1,3,1,""]},"beampy.bpm.Bpm":{absorption:[1,2,1,""],airy_light:[1,2,1,""],all_modes:[1,2,1,""],bpm_compute:[1,2,1,""],check_modes:[1,2,1,""],create_curved_guides:[1,2,1,""],create_guides:[1,2,1,""],create_x_z:[1,2,1,""],gauss_guide:[1,2,1,""],gauss_light:[1,2,1,""],guide_position:[1,2,1,""],init_field:[1,2,1,""],kerr_effect:[1,2,1,""],losses_position:[1,2,1,""],main_compute:[1,2,1,""],mode_determ:[1,2,1,""],mode_light:[1,2,1,""],power_guide:[1,2,1,""],squared_guide:[1,2,1,""],squared_light:[1,2,1,""],variance:[1,2,1,""]},"beampy.examples":{example_free_propag:[4,3,1,""],example_gaussian_beam:[4,3,1,""],example_guides_x:[4,3,1,""],example_guides_z:[4,3,1,""],example_kerr:[4,3,1,""],example_stability:[4,3,1,""]},"beampy.interface":{Ui_MainWindow:[1,1,1,""]},"beampy.interface.Ui_MainWindow":{retranslateUi:[1,2,1,""],setupUi:[1,2,1,""]},"beampy.user_interface":{UserInterface:[1,1,1,""],open_app:[1,3,1,""],open_doc:[1,3,1,""]},"beampy.user_interface.UserInterface":{addmpl:[1,2,1,""],calculate_guide:[1,2,1,""],calculate_light:[1,2,1,""],calculate_propagation:[1,2,1,""],check_modes_display:[1,2,1,""],connect_buttons:[1,2,1,""],create_menu:[1,2,1,""],get_compute:[1,2,1,""],get_guide:[1,2,1,""],get_light:[1,2,1,""],on_click_array:[1,2,1,""],on_click_compute:[1,2,1,""],on_click_create_light:[1,2,1,""],on_click_curved:[1,2,1,""],on_click_delete_light:[1,2,1,""],on_click_light:[1,2,1,""],open_file:[1,2,1,""],open_file_name:[1,2,1,""],rmmpl:[1,2,1,""],save_compute:[1,2,1,""],save_file:[1,2,1,""],save_file_name:[1,2,1,""],save_guide:[1,2,1,""],save_light:[1,2,1,""],save_quick:[1,2,1,""],show_estimate_time:[1,2,1,""]},beampy:{"interface":[1,0,0,"-"],bpm:[1,0,0,"-"],examples:[4,0,0,"-"],user_interface:[1,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function"},terms:{"05e17":2,"14pt":2,"1e13":2,"1e3":2,"1e7":2,"1f77b4":2,"20000e13":2,"2nd":[1,2,5],"5e6":2,"5e7":2,"85e17":2,"\u03b4n":2,"\u03b8":2,"\u03bb":2,"\u03bcm":2,"break":2,"case":2,"class":[1,2],"comt\u00e9":[1,2,5],"default":[1,2],"final":[1,2],"float":[1,2],"function":[1,2,5,6],"import":[2,5],"int":[1,2],"new":[1,2],"r\u00e9gi":[1,2,5],"return":[1,2,4],"super":[1,2,4],"true":2,"try":[1,2],"universit\u00e9":[1,2,5],"while":2,AND:0,And:3,BUT:0,FOR:0,For:[3,5],NOT:0,Not:2,THE:0,The:[0,1,2,3,5],Then:[1,2],USE:0,Use:2,Used:[1,2],WITH:0,__file__:2,__init__:2,__main__:2,__name__:2,_delai:[1,2],_show_plot:2,_translat:2,about:[2,3],abov:0,abs:2,absorpt:[1,2],academ:[1,2,5],access:5,account:[1,2],aco:2,act:2,action:[0,2],activ:[1,2],adaptivedecimalsteptyp:2,add:[1,2],add_patch:2,add_subplot:2,addact:2,addfil:2,additem:2,addlayout:2,addmenu:2,addmpl:[1,2],addtab:2,addwidget:2,adiabat:[1,2,5],after:[1,2],again:2,ai_zero:2,air:2,airi:[1,2,7],airy_check:2,airy_light:[1,2],airy_zero:[1,2],ajust:[1,2],alert:[1,2],algorithm:[1,2],all:[0,1,2],all_mod:[1,2],all_modes_check:2,allow:[1,2,5],alpha:[1,2],alreadi:[1,2],also:[1,2],amplitud:[1,2],angl:[1,2],ani:[0,1,2,3],app:[1,2],append:2,applic:2,approxim:[1,2,4],area:[1,2],argument:[1,2],argv:2,aris:0,arrai:[1,2,4,6,7],articl:2,asin:2,ask:[1,2],assert:2,assign:2,associ:0,assum:2,astyp:2,author:0,avail:2,avoid:2,ax1:2,ax2:2,axes:2,axi:2,b_b:2,backend:2,backend_qt4agg:2,base:[1,2,5],beam1:2,beam2:2,beam3:2,beam:[1,2,4,5,6,7],beam_selec:[1,2],beampi:[3,4,7],becaus:2,befor:2,begin:2,being:[1,2],bellow:5,best:2,beta:[1,2],beta_m:[1,2],better:[1,2],between:[1,2,5],bewteen:[1,2],big:2,bigger:2,blog:2,bodi:2,bool:[1,2],bounderi:2,bourgogn:[],box:2,bpm:[4,5],bpm_comput:[1,2],broadband:[1,2,5],build:2,burlington:[1,2,5],button:[1,2],c_c:2,calcul:[1,2],calculate_guid:[1,2],calculate_guide_don:2,calculate_light:[1,2],calculate_propag:[1,2],calculatebutton_arrai:2,calculatebutton_comput:2,calculatebutton_curv:2,calculatebutton_light:2,call:[1,2],can:[1,2,5],cancel:2,canvas_5:2,canvas_compute_end:2,canvas_compute_propag:2,canvas_guide_in:2,canvas_guide_prop:2,canvas_light:2,care:2,ceil:2,center:[1,2],center_airi:2,central:[1,2],centralwidget:2,chang:[1,2],charact:2,charg:0,check:[1,2],check_mod:[1,2],check_modes_displai:[1,2],checkbox_check_pow:2,checkbox_kerr:2,checkbox_lost:2,checkbox_offset_light:2,checkbox_vari:2,chi3:[1,2],choic:[2,5],choos:2,choosen:[1,2],clad:[1,2],claim:0,clean:2,clear:2,click:2,close:2,closest:[1,2],cmap:2,code:[1,4,5],coeffici:[1,2],colormesh:2,com:[1,2,3,5],combobox_light:2,command:5,comparison:2,compil:[1,2,5],complex:2,comput:[1,2,5],condit:[0,2],condition_even_guid:2,confirm:[2,4],conjug:2,connect:[0,1,2],connect_button:[1,2],connectslotsbynam:2,constant:[1,2],contact:5,contain:[1,2,7],continu:[1,2],contract:0,control:[1,2,5],conventionn:[1,2],converg:[1,2],convert:[1,2],coordin:2,copi:0,copyright:0,core:[1,2],correct:[1,2,4],correcttonearestvalu:2,correspond:[1,2],cos:2,could:[1,2],count:2,cours:[1,2,5],crash:2,creat:[1,2],create_curved_guid:[1,2],create_guid:[1,2],create_menu:[1,2],create_x_z:[1,2],critic:2,cross:2,ctrl:2,cur_1:2,cur_2:2,cur_3:2,cur_pow:[1,2],cur_ref:2,current:[1,2],current_pow:[1,2],currentindex:2,curv:[1,2,4,6,7],curvatur:[1,2],cut:[1,2],damag:0,dan:[1,2,5],data:2,deal:0,debut:2,deconvolv:[1,2],def:2,defaultsteptyp:2,defin:[1,2],definit:[2,4],delai:2,delet:[1,2],delta_n:2,delta_no:[1,2],describ:[1,2,5],desgin:5,design:2,detail:[1,2,5],develop:[1,2,3,5],deviat:[1,2],dialog:[1,2],diamet:[1,2],dico:2,dictionari:2,differ:[1,2,4],direclti:5,direct:[1,2,5],directli:[1,2],displai:[1,2,4,5],dist_x:[1,2],dist_z:[1,2],distanc:[1,2],distance_factor:[1,2],distribut:0,divis:2,dn1:2,dn2:2,dn_1:2,dn_2:2,dn_3:2,dn_disp:2,dn_fix:2,dn_ref:2,dn_start:[1,2],dn_z:2,doc:[2,5],document:[0,1,2],doe:2,don:[1,2],done:[1,2,5],dontusenativedialog:2,doublespinbox_chi3:2,doublespinbox_curv:2,doublespinbox_dist_x:2,doublespinbox_dist_z:2,doublespinbox_distance_factor:2,doublespinbox_dn:2,doublespinbox_fwhm:2,doublespinbox_half_delai:2,doublespinbox_intensity_light:2,doublespinbox_length_x:2,doublespinbox_length_z:2,doublespinbox_lo:2,doublespinbox_lobe_s:2,doublespinbox_lost:2,doublespinbox_n:2,doublespinbox_offset_guid:2,doublespinbox_offset_light:2,doublespinbox_p:2,doublespinbox_theta_ext:2,doublespinbox_width:2,doublespinbox_width_lost:2,doubt:2,download:5,drasticli:2,dtype:2,due:[1,2],dure:[1,2,5],each:[1,2],edg:2,edgecolor:2,edit:[1,2,5],effect:[1,2,4],electr:[1,2],elif:2,elimin:[1,2,5],els:[1,2],empti:2,end:2,enough:2,enought:[1,2],enumer:2,environ:5,epnc:[1,2],equal:[1,2],equat:[1,2],error:2,estim:[1,2],estimate_time_displai:2,eta:2,even:[2,5],event:0,everi:2,exampl:5,example_bpm:[1,2],example_free_propag:[2,4],example_gaussian_beam:[2,4],example_guides_x:[1,2,4],example_guides_z:[2,4],example_kerr:[2,4],example_st:[2,4],exce:[1,2],except:[1,2],exec_:2,execpt:2,execut:2,exist:[1,2],exit:[1,2],exp:2,expand:2,experiment:[1,2],explain:[5,6],explan:5,express:0,ext:2,exterior:[1,2],extern:[1,2],extinct:[1,2],extrem:4,facecolor:2,factor:[1,2],fals:[1,2],fast:[1,2],featur:2,femto:[1,2,5],fft:2,fftshift:2,field:[1,2,4],field_1:2,field_2:2,field_3:2,field_i:2,field_ref:2,field_start:[1,2],field_x:[1,2],fieldrol:2,fig:2,figur:2,figurecanva:2,figurecanvasqtagg:2,file2:2,file:[0,1,2,5],filenam:[1,2],fill:2,fin:2,finish:2,finish_sum:2,first:[1,2,3],first_zero:2,fit:0,flat:[1,2,4],flux:2,folder2:2,folder:[2,5],follow:[0,1,2],font:2,form:2,formlayout:2,formlayout_10:2,formlayout_2:2,formlayout_5:2,formlayout_6:2,formlayout_8:2,formlayout_9:2,formlayout_estim:2,formlayout_lo_theta:2,found:[2,5],fourier:[1,2],frame_beam:2,frame_file_data:2,frame_guid:2,frame_kerr:2,frame_light:2,frame_lost:2,frame_window:2,franch:[1,2,5],free:[0,1,2,4],free_propag:[1,2],frequenc:2,fressengea:[1,2,5],from:[0,1,2,4,5,7],full:[1,2],func:2,fundament:[1,2,5],furnish:0,further:2,fwhm2:2,fwhm:[1,2,4],fwhm_final:2,gamma:[1,2],gamma_m:[1,2],gauss:[1,2],gauss_guid:[1,2],gauss_light:[1,2],gauss_pow:[1,2],gaussian:[1,2,4],gaussian_beam:2,gaussian_check:2,gaussian_funct:[1,2],gaussien:[1,2],gener:[1,2,5],get:[1,2],get_comput:[1,2],get_guid:[1,2],get_light:[1,2],get_yticklabel:2,getopenfilenam:2,getsavefilenam:2,github:[3,5],give:[1,2],given:[1,2],good:2,grai:2,grant:0,graph:2,graphic:2,grasser:[1,2,5],grid:2,gridlayout:2,gridlayout_creat_delete_beam:2,gui:2,guid:[1,2,4,5,6,7],guide_lost:[1,2],guide_posit:[1,2],guide_x:2,guide_z_arrai:2,guide_z_curv:2,h_m:[1,2],half:[1,2],half_delai:[1,2],happen:2,has:[1,2],have:[2,5],head:2,help:2,herebi:0,high:2,higher:[1,2],his:[1,2,5],holder:0,horizontallayout:2,horizontallayout_2:2,horizontallayout_4:2,how:2,html:[1,2],http:[1,2,3,5],i_min:2,icon:2,ident:2,ifft:2,illustr:[2,4],imag:[2,4],impact:2,imped:2,implement:[1,2,4],impli:0,inclinaison:[1,2],includ:[0,1,2],increas:[1,2],index:[1,2,4,5],indexerror:2,indexof:2,indic:[1,2],influenc:2,info:2,inform:[1,2,5],init_field:[1,2],initi:[1,2],initiali:[1,2,5],inject:2,input:[1,2],insid:[1,2],instead:2,institut:[1,2,5],intens:[1,2],interfac:[3,5],interm:2,interv:[1,2],irrad:[1,2],irradi:[1,2],ischeck:2,isfil:2,issu:2,item:2,jan:[1,5],jonathan:[0,1,2,3,5],jonathanp57:3,just:[1,2],kei:2,kerr:[1,2,4,5],kerr_check:2,kerr_effect:[1,2],kerr_loop:[1,2],keyerror:2,kind:0,label:2,label_chi3:2,label_correction_loop:2,label_curv:2,label_dist_x:2,label_dist_z:2,label_distance_factor:2,label_dn:2,label_fwhm:2,label_guide_lost:2,label_guides_inform:2,label_half_delai:2,label_intens:2,label_kerr_inform:2,label_length:2,label_length_x:2,label_light_inform:2,label_lo:2,label_lobe_s:2,label_lost:2,label_lost_inform:2,label_n:2,label_nb_p:2,label_nbr_z_disp:2,label_offset_guid:2,label_offset_light:2,label_p:2,label_theta_ext:2,label_width:2,label_width_lost:2,label_window_paramet:2,label_zero_cut:2,labelrol:2,laboratori:[1,2,5],lambda:[1,2],last:[1,2,5],last_zero:2,last_zero_po:2,later:[1,2,5],launch:5,left:[1,2],legend:2,len:2,leng_max:2,length:[1,2],length_x:[1,2],length_z:[1,2],lhs:2,liabil:0,liabl:0,licens:5,light:[1,2,5],like:[1,2],lim:2,limit:0,line:2,linear:[1,2],linemark:2,linestyl:2,link:2,linspac:2,list:[1,2,4],lmop:[1,2,5],lobe:[1,2],lobe_s:[1,2],loc:2,local:[1,2],locali:2,locat:2,log:[1,2],logo:2,longitudin:[1,2],loop:[1,2],loos:[1,2],lorrain:[1,2,5],loss:2,losses_posit:[1,2],lost:2,lost_beg:[1,2],lost_check:2,lost_end:[1,2],low:[1,2],lumer:2,made:[2,5],main:[1,2],main_comput:[1,2],mainli:[1,2,3,5],mainwindow:[1,2],make:[2,5],mani:[1,2],manual:[1,2],manuali:2,marcel:[0,1,2,3,5],marcelrsoub:3,massif:[1,2,5],master:[1,2,5],match:2,materi:2,math:2,mathematical_form:2,matlab:[1,2,5],matplotlib:[2,5],matrix:2,max:2,maximum:[1,2],menu:[1,2],menubar:2,merchant:0,merg:[0,1,2],meshgrid:2,messag:2,meth:[1,2],method:[1,2,5],methood:[1,2],middl:2,milieu:[1,2,5],min:[1,2],minim:[1,2],minimum:[1,2],miss:2,mit:5,mod:2,mode:[1,2],mode_check:2,mode_determ:[1,2],mode_light:[1,2],mode_max:2,mode_numb:2,modifi:[0,1,2,5],modul:[2,3,4,5],more:[1,2,4,5],mu_0:2,multipl:2,must:2,myapp:2,name:[1,2],navigationtoolbar2qt:2,navigationtoolbar:2,nbr:2,nbr_light:2,nbr_lost:[1,2],nbr_p:[1,2],nbr_p_max:2,nbr_point:2,nbr_step:2,nbr_x:[1,2],nbr_z:[1,2],nbr_z_disp:[1,2],necessari:2,need:[1,2],next:[1,2],nicola:[1,2,5],nl_control_amp:2,nl_mat:[1,2],nofram:2,non:[1,2,5],none:[1,2],noninfring:0,normal:2,note:[1,2],notic:0,nu_max:2,num:2,number:[1,2],numpi:[2,5],object:[1,2],obsolet:2,obtain:0,occur:[1,2],odd:2,offset:[1,2],offset_check:2,offset_guid:[1,2],offset_light:[1,2],offset_light_peak:2,okamoto:[1,2,5],on_click_arrai:[1,2],on_click_comput:[1,2],on_click_create_light:[1,2],on_click_curv:[1,2],on_click_delete_light:[1,2],on_click_light:[1,2],onc:2,one:[1,2],onli:2,onlin:[1,2,5],onto:[1,2],open:[1,2,5],open_app:[1,2,5],open_doc:[1,2],open_fil:[1,2],open_file_nam:[1,2],optibpm:[1,2],optic:[1,2,5],optim:2,option:[1,2],optiwav:[1,2],order:2,order_gaussian_or_sup:[1,2],org:[1,2,5],other:[0,1,2],otherwis:[0,1,2],oukraou:[1,2,5],out:[0,2],outer:2,outlook:3,over:[1,2,4],overlaps:2,overwrit:2,p_max:2,p_min:[1,2],packag:5,page:[6,7],paip:[1,2,5],paramet:[1,2,5],paraxi:[1,2],part:[2,4],particular:0,pas:[1,2],patch:2,path:2,pcolormesh:2,peak:[1,2],peaks_i:2,peaks_max:2,peaks_z:2,peltier:[0,1,2,3,5],per:[1,2],perform:2,periodiqu:[1,2,5],permiss:0,permit:0,person:0,phase:[1,2],phase_mat:[1,2],phase_mat_demi:2,phd:[1,2,5],photon:[1,2,5],phy:[1,2,5],pip:5,pixel:2,pleas:3,plot:[1,2],plot_comput:2,plot_guid:2,plot_light:2,plt:2,png:2,point:[1,2],pointinghandcursor:2,poli:2,polygon:2,portion:0,pos_beg:2,pos_end:2,posi:2,posit:[1,2],positio:2,possibl:[1,2,4],pow:2,pow_index:[1,2],pow_index_guid:2,power:[1,2,4],power_check:2,power_guid:[1,2],precis:2,prepar:2,press:2,prev_pow:2,prevent:2,previou:2,previous:2,previous_beam:2,principl:[1,2],print:2,process_tim:2,profil:2,program:2,progress_pow:[1,2],project:[2,5],propag:[1,2,4,5],provid:0,publish:0,purpos:0,pushbutton_cancel_comput:2,pushbutton_cancel_guid:2,pushbutton_cancel_light:2,pushbutton_create_beam:2,pushbutton_delete_beam:2,pushbutton_estimate_tim:2,pushbutton_mode_numb:2,pushbutton_save_beam:2,pypi:5,pyplot:2,pyqt5:[1,2],pyqtslot:2,python:[2,3,5],pythonpath:5,pythonspot:[1,2],pyuic5:2,qabstractspinbox:2,qapplic:2,qcheckbox:2,qcombobox:2,qcoreappl:2,qcursor:2,qdoublespinbox:2,qfiledialog:2,qformlayout:2,qframe:2,qframe_beam_cr:2,qgridlayout:2,qhboxlayout:2,qicon:2,qlabel:2,qlcdnumber:2,qmainwindow:[1,2],qmetaobject:2,qpushbutton:2,qradiobutton:2,qsize:2,qsizepolici:2,qspaceritem:2,qspinbox:2,qstring:2,qt5:5,qtabwidget:2,qtcore:2,qtgui:2,qtwidget:[1,2],question:3,quick:[1,2],quit:2,qvboxlayout:2,qwidget:2,radian:2,radiant:2,radiobutton_airi:2,radiobutton_all_mod:2,radiobutton_gaussian:2,radiobutton_gaussian_light:2,radiobutton_mod:2,radiobutton_squar:2,radiobutton_squared_light:2,rais:[1,2],rang:2,rcnelson:2,reach:2,read:2,readthedoc:[2,5],real:[2,4],realist:[1,2],recent:2,rectangular:[1,2],reduc:2,reefract:[1,2],refer:2,refract:[1,2,4,5],regur:[1,2],rei:0,rel:[1,2],remain:2,remind:2,remov:[1,2],removewidget:2,replac:2,repositori:5,requir:5,reseaux:[1,2,5],resiz:2,resolut:[1,2],restoreoverridecursor:2,restrict:0,result:[1,2,5,6],retranslateui:[1,2],rev:[1,2,5],rhs:2,right:[0,1,2],rmmpl:[1,2],roll:2,round:2,run:2,runtimeerror:2,safeti:2,sai:2,same:2,sampl:2,save:[1,2],save_comput:[1,2],save_fil:[1,2],save_file_nam:[1,2],save_guid:[1,2],save_light:[1,2],save_quick:[1,2],scipi:[1,2],search:[1,2],see:[1,2,5],select:[1,2],self:[1,2],sell:0,set:[1,2,5,6],set_color:2,set_tight_layout:2,set_titl:2,set_xlabel:2,set_xlim:2,set_ylabel:2,set_ylim:2,setaccessibledescript:2,setautofillbackground:2,setbuddi:2,setcentralwidget:2,setcheck:2,setcorrectionmod:2,setcurrentindex:2,setcursor:2,setdecim:2,setdigitcount:2,setdis:2,setdisplayintegerbas:2,seten:2,setframeshadow:2,setframeshap:2,seticon:2,setitem:2,setmaximum:2,setmaximums:2,setminimum:2,setminimums:2,setmousetrack:2,setobjectnam:2,setopenexternallink:2,setoverridecursor:2,setprefix:2,setproperti:2,setsegmentstyl:2,setshortcut:2,setsinglestep:2,setstatustip:2,setsteptyp:2,setsuffix:2,settabord:2,settabtext:2,settext:2,settooltip:2,setupui:[1,2],setvalu:2,setwidget:2,setwindowicon:2,setwindowtitl:2,sever:[1,2],shall:0,shape:[1,2],shape_gauss_check:2,shape_squared_check:2,share:[1,2],shift:2,show:[2,4],show_estimate_tim:[1,2],simul:[1,2,3,5],sin:2,sin_theta_m:2,situat:2,size:[1,2],slow:2,small:[1,2],softwar:0,soliton:[1,2,5,6,7],solu:2,solv:[1,2],soubkovski:[1,2,3,5],sourc:[1,5],space:[1,2],spaceritem10:2,spaceritem11:2,spaceritem12:2,spaceritem13:2,spaceritem14:2,spaceritem1:2,spaceritem2:2,spaceritem3:2,spaceritem4:2,spaceritem5:2,spaceritem6:2,spaceritem7:2,spaceritem8:2,spaceritem9:2,spaceritem:2,spacial:2,span:2,spanningrol:2,spatiaux:[1,2,5],special:[1,2],speed:2,spinbox_airy_zero:2,spinbox_gauss_pow:2,spinbox_guide_lost:2,spinbox_kerr_loop:2,spinbox_mod:2,spinbox_nb_p:2,spinbox_nbr_z_disp:2,spinbox_offset_light_peak:2,split:2,spot_siz:2,spyder:2,sqrt:[1,2],squar:[1,2],square_check:2,squared_guid:[1,2],squared_light:[1,2],stai:2,standard:[1,2],start:2,step:[1,2],stirap:[1,2,6],str:[1,2],style:2,subject:0,sublicens:0,subplot:2,substanti:0,sum:[1,2],support:2,suppos:2,sure:[2,5],suscept:[1,2],sys:2,system:[2,4],t_compute_end:2,t_compute_start:2,t_guide_end:2,t_guide_start:2,t_light_end:2,t_light_start:2,t_power_end:2,t_power_start:2,tab:[1,2],tab_arrai:2,tab_curv:2,tab_index:2,tabwidget_comput:2,tabwidget_guid:2,tabwidget_light:2,tabwidget_main:2,tabwidget_morphology_guid:2,take:[1,2],tan:[1,2],temp:2,tensor:[1,2],term:[1,2],test:[1,2,4],test_1:2,test_2:2,test_3:2,test_4:2,test_5:2,test_6:2,test_7:2,text:2,than:[1,2,4],thank:2,thei:[1,2],them:[1,2],theori:2,thesi:[1,2,5],theta:2,theta_c:2,theta_ext:[1,2],theta_m:2,thi:[0,1,2,5,6,7],third:[1,2],those:2,three:5,through:2,time:[1,2],titl:2,too:2,toolbar_2:2,toolbar_3:2,toolbar_4:2,toolbar_5:2,toolbar_guide_in:2,toolbar_guide_prop:2,top:[1,2,4],topolog:[1,2],tort:0,touch:[1,2],transcendent:[1,2],translat:2,transport:[1,2,5],transvers:[1,2],trapz:2,trigger:2,tutorialspoint:2,twinx:2,two:[1,2,4],txt:[2,5],type:1,ui_mainwindow:[1,2],under:[1,2,5],understand:2,unit:[1,2],univers:[1,2,5],unknown:2,upper:2,use:[0,2],used:[1,2,5],useful:2,useless:2,user:[1,2,5],user_interfac:5,userinterfac:[1,2],uses:[1,2],using:[1,2,5],usual:2,utf:2,vaccum:[1,2],val:2,valu:[1,2,4],valueerror:[1,2],vari:5,variabl:[1,2],variable_nam:2,varianc:[1,2],variance_check:[1,2],variat:[1,2,4],vector:[1,2],version:[1,2,5],vert:2,verticallayout:2,verticallayout_comput:2,verticallayout_compute_plot:2,verticallayout_guid:2,verticallayout_light:2,w0_final:2,w_0:2,waist:[1,2,4],waitcursor:2,want:2,warn:2,warranti:0,wave:2,waveguid:[1,2,5],wavelengh:2,wavelenght:[1,2],wavelength:[1,2],webbrows:2,weight:2,were:[1,2],what:2,when:[1,2],where:[1,2],whether:0,which:2,whole:5,whom:0,width:[1,2,4],width_lost:[1,2],wiki:[1,2],wikipedia:[1,2],window:[1,2],witdh:2,within:[1,2],without:[0,1,2],won:2,word:[1,2],would:[1,2],write:2,www:2,x_0:[1,2],x_airi:2,x_beg:[1,2],x_end:[1,2],x_max:2,x_min:2,xlim:2,yes:2,ylim:2,you:2,z_disp:2,zero:[1,2],zero_po:2,zip:2},titles:["MIT License","Beampy modules","Source codes","Contact","Examples","Welcome to Beampy\u2019s documentation!","Interface","Results"],titleterms:{beampi:[1,2,5],bpm:[1,2],code:2,contact:3,document:5,exampl:[2,4],indic:5,instal:5,interfac:[1,2,6],licens:0,link:5,mit:0,modul:1,overview:5,refer:5,result:7,softwar:5,sourc:2,start:5,tabl:5,user_interfac:[1,2],welcom:5}})
\ No newline at end of file
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 4965e51..a8d9c4b 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,5 +1,4 @@
numpy>=1.16
PyQt5>=5.13
matplotlib>=3.1
-sphinx>=2
-pip>=20
\ No newline at end of file
+sphinx>=2
\ No newline at end of file