Skip to content
Snippets Groups Projects
Commit 9c4728cb authored by Alexis Nicolas Gomel's avatar Alexis Nicolas Gomel
Browse files

Fixed RTW_low which was doing the same as RTW_high

parent f9ff1387
Branches main
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ def RTW_low(x,k=0.2,ax=None):
x2=np.sort(x,axis=ax)
x2=x2-np.take(x2,indices = [0],axis=ax)#make it possitive
'''here i turn it around'''
x2=-x2
x2=np.flip(x2,axis=ax)
x2=x2-np.take(x2,indices = [0],axis=ax)#make it possitive
if ax==None :
# print('none axis')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment