Skip to content

Commit 4ad8820

Browse files
committed
updated documents
1 parent 4e5f7f9 commit 4ad8820

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pysp2/util/leo_fit.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ def beam_shape(my_binary, beam_position_from='split point', Globals=None):
88
"""
99
1010
Calculates the beam shape needed to determine the laser intensity profile
11-
used for leading-edge-only fits. The beam position is first determined
12-
from the position of the peak. The beam profile is then calculated by
13-
positioning all the peaks to that position. The beam shape is then the mean
14-
of all the normalized profiles arround that position.
11+
used for leading-edge-only fits. The beam position is by default determined
12+
from the position of the peak relative to the split point. The beam profile
13+
is then calculated by positioning all the peaks to that position. The beam
14+
shape is then the mean of all the normalized profiles arround that position.
1515
1616
Parameters
1717
----------
@@ -24,12 +24,12 @@ def beam_shape(my_binary, beam_position_from='split point', Globals=None):
2424
signal limits.
2525
2626
beam_position_from : str
27-
'peak maximum' = construct the beam profile arround the maximum peak
28-
poistion. The maximum peak position is determied from the peak-height
29-
weighted average peak position.
3027
'split point' = construct the beam profile around the split position.
3128
The split position is taken from the split detector. Use this if split
3229
detector is installed.
30+
'peak maximum' = construct the beam profile arround the maximum peak
31+
poistion. The maximum peak position is determied from the peak-height
32+
weighted average peak position.
3333
3434
Returns
3535
-------

0 commit comments

Comments
 (0)