Clean up
This commit is contained in:
parent
15325e0e8f
commit
44d0769b27
1 changed files with 0 additions and 17 deletions
17
ETA.py
17
ETA.py
|
@ -314,23 +314,6 @@ fall = np.array( [
|
|||
) for consecutive in fall
|
||||
] ).astype( int )
|
||||
|
||||
"""
|
||||
plt.imshow( results , aspect = 'auto' )
|
||||
plt.hlines( fall , 0 , size )
|
||||
plt.show()
|
||||
"""
|
||||
|
||||
temp = np.convolve( results[ : , 10000 ] , np.ones( 50 ) , 'same' )
|
||||
for i in range( len( fall ) - 1 ):
|
||||
temp[ fall[ i ] : fall[ i + 1 ] ] = np.mean( temp[ fall[ i ] : fall[ i + 1 ] ] )
|
||||
|
||||
plt.plot( temp )
|
||||
plt.plot(
|
||||
np.convolve(
|
||||
results[ : , 10000 ],
|
||||
np.ones( 50 ) ,
|
||||
'same' ,
|
||||
),
|
||||
)
|
||||
plt.vlines( fall , 0 , 50 , colors = 'red' )
|
||||
plt.show()
|
||||
|
|
Loading…
Reference in a new issue