Commit a684d56b authored by Clement Remi's avatar Clement Remi
Browse files

correct ABMN probléme when you have only one quadripole

Showing with 3 additions and 0 deletions
+3 -0
...@@ -194,6 +194,9 @@ Main loop ...@@ -194,6 +194,9 @@ Main loop
""" """
N=read_quad("ABMN.txt",pardict.get("nb_electrodes")) # load quadripole file N=read_quad("ABMN.txt",pardict.get("nb_electrodes")) # load quadripole file
if N.ndim == 1:
N = N.reshape(1, 4)
for g in range(0,pardict.get("nbr_meas")): # for time-lapse monitoring for g in range(0,pardict.get("nbr_meas")): # for time-lapse monitoring
for i in range(0,N.shape[0]): # loop over quadripoles for i in range(0,N.shape[0]): # loop over quadripoles
......
Supports Markdown
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