Skip to content

Commit 88fd07e

Browse files
committed
correct and edit help messages
1 parent 8e0b94b commit 88fd07e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

micarray/modal/angular.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ def cht_matrix(N, pol, weights=None):
9999
100100
.. math::
101101
\Psi = \left[ \begin{array}{ccccccc}
102-
1 & \cdots & e^{i\varphi[0]} & e^{iN\varphi[0]} & e^{-iN\varphi[0]} & \cdots & e^{-i\varphi[0]} \\
103-
1 & \cdots & e^{i\varphi[1]} & e^{iN\varphi[1]} & e^{-iN\varphi[1]} & \cdots & e^{-i\varphi[1]} \\
102+
1 & e^{i\varphi[0]} & \cdots & e^{iN\varphi[0]} & e^{-iN\varphi[0]} & \cdots & e^{-i\varphi[0]} \\
103+
1 & e^{i\varphi[1]} & \cdots & e^{iN\varphi[1]} & e^{-iN\varphi[1]} & \cdots & e^{-i\varphi[1]} \\
104104
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
105-
1 & \cdots & e^{i\varphi[Q-1]} & e^{iN\varphi[Q-1]} & e^{-iN\varphi[Q-1]} & \cdots & e^{-i\varphi[Q-1]}
105+
1 & e^{i\varphi[Q-1]} & \cdots & e^{iN\varphi[Q-1]} & e^{-iN\varphi[Q-1]} & \cdots & e^{-i\varphi[Q-1]}
106106
\end{array} \right]
107107
108108
Parameters

micarray/modal/radial.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,11 @@ def circ_diagonal_mode_mat(bk):
376376
def mirror_vec(v):
377377
"""Mirror elements in a vector.
378378
379-
Returns a vector with symmetric elements which are the elements of *v*.
380-
The first len(v)-1 elements are the flip of *v[1:]* while the last len(v)
381-
elements are the same as *v*. The function can be used to order the
382-
coefficients in the vector according to the order of circular harmonics.
383-
If *v* is a matrix, it is treated as a stack of vectors residing in the
384-
last index and broadcast accordingly.
379+
Returns a vector of length *2*len(v)-1* with symmetric elements.
380+
The first *len(v)* elements are the same as *v* and the last *len(v)-1*
381+
elements are *v[:0:-1]*. The function can be used to order the circular
382+
harmonic coefficients. If *v* is a matrix, it is treated as a stack of
383+
vectors residing in the last index and broadcast accordingly.
385384
386385
Parameters
387386
----------

0 commit comments

Comments
 (0)