From b0c3e18b55e23504822b67185437fb751e268fa1 Mon Sep 17 00:00:00 2001 From: linarphy Date: Thu, 29 Jun 2023 11:28:39 +0200 Subject: [PATCH] Update bias area --- ETA.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' ] ] ,