diff --git a/settings.py b/settings.py index 7273fd5ac3c502a2ff091d98c252343a3a3905b6..123ec2b0747c5c44b55232c7477ebec401fead93 100644 --- a/settings.py +++ b/settings.py @@ -14,11 +14,14 @@ DB_HOST = '10.241.215.1' DB_PORT = 8086 DB_DATASET = 'barium' +# Minimum pixel distance between ions +ION_DIST = 15 + # Relative intensity threshold to differentiate good/bad isotopes (w.r.t. to max intensity) -INT_THS = 0.6 +INT_THS = 0.65 # Number of iterations before restarting the position's memory -NUM_ITERATIONS = 5 +NUM_ITERATIONS = 3 # Relation factor between pixels and distances DIST_FACTOR = 70.4 @@ -30,7 +33,7 @@ SHAPE = (960, 1280, 3) TYPE = np.uint16 # Blob detection size -BLOB_SIZE = 9 +BLOB_SIZE = 8 # Region of interest of the image REGION = np.array([[8, 466], [1260, 638]])