Update bias area
This commit is contained in:
parent
b3edfb3aee
commit
b0c3e18b55
1 changed files with 3 additions and 2 deletions
5
ETA.py
5
ETA.py
|
@ -551,6 +551,7 @@ if calibration != None:
|
||||||
calibrations[ 'top' ][ 'x' ][ 'min' ] + list_same[0]
|
calibrations[ 'top' ][ 'x' ][ 'min' ] + list_same[0]
|
||||||
]
|
]
|
||||||
i += len( list_same )
|
i += len( list_same )
|
||||||
|
|
||||||
calibrations[ 'top' ][ 'x' ][ 'max' ] -= padding
|
calibrations[ 'top' ][ 'x' ][ 'max' ] -= padding
|
||||||
calibrations[ 'down' ][ 'x' ][ 'max' ] -= padding
|
calibrations[ 'down' ][ 'x' ][ 'max' ] -= padding
|
||||||
border[ 'x' ][ 'max' ] -= padding
|
border[ 'x' ][ 'max' ] -= padding
|
||||||
|
@ -596,8 +597,8 @@ bias = {
|
||||||
),
|
),
|
||||||
'down': np.mean(
|
'down': np.mean(
|
||||||
data[
|
data[
|
||||||
calibrations[ 'down' ][ 'y' ][ 'max' ] :
|
calibrations[ 'down' ][ 'y' ][ 'min' ] - 100:
|
||||||
calibrations[ 'down' ][ 'y' ][ 'max' ] + 100,
|
calibrations[ 'down' ][ 'y' ][ 'min' ] ,
|
||||||
calibrations[ 'down' ][ 'x' ][ 'min' ] :
|
calibrations[ 'down' ][ 'x' ][ 'min' ] :
|
||||||
calibrations[ 'down' ][ 'x' ][ 'max' ]
|
calibrations[ 'down' ][ 'x' ][ 'max' ]
|
||||||
] ,
|
] ,
|
||||||
|
|
Loading…
Reference in a new issue