Skip to content
Snippets Groups Projects
Commit f0b24f86 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

bugfix

parent 11e340cc
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ def max5px_med(cell_mask, trap_image):
return max5px / sorted_vals[len(sorted_vals) // 2]
def max5pc_med(cell_mask, trap_image):
def max2p5pc_med(cell_mask, trap_image):
npixels = cell_mask.sum()
top_pixels = int(np.ceil(npixels * 0.025))
......
......@@ -32,8 +32,8 @@ def exparams_from_meta(meta: Union[dict, PosixPath, str], extras=["ph"]):
"imBackground",
"max2p5pc",
"max2p5pc_med",
"max2p5px",
"max2p5px_med",
"max5px",
"max5px_med",
}
default_rm = {r: default_metrics for r in default_reductions}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment