From 44d0769b278780528a044c44d846dbbd62428317 Mon Sep 17 00:00:00 2001 From: linarphy Date: Mon, 15 May 2023 17:01:19 +0200 Subject: [PATCH] Clean up --- ETA.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ETA.py b/ETA.py index b17b9e7..1528701 100644 --- a/ETA.py +++ b/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()