diff --git a/ETA.py b/ETA.py index 885a91e..84f5618 100755 --- a/ETA.py +++ b/ETA.py @@ -551,6 +551,7 @@ if calibration != None: calibrations[ 'top' ][ 'x' ][ 'min' ] + list_same[0] ] i += len( list_same ) + calibrations[ 'top' ][ 'x' ][ 'max' ] -= padding calibrations[ 'down' ][ 'x' ][ 'max' ] -= padding border[ 'x' ][ 'max' ] -= padding @@ -596,8 +597,8 @@ bias = { ), 'down': np.mean( data[ - calibrations[ 'down' ][ 'y' ][ 'max' ] : - calibrations[ 'down' ][ 'y' ][ 'max' ] + 100, + calibrations[ 'down' ][ 'y' ][ 'min' ] - 100: + calibrations[ 'down' ][ 'y' ][ 'min' ] , calibrations[ 'down' ][ 'x' ][ 'min' ] : calibrations[ 'down' ][ 'x' ][ 'max' ] ] ,