Skip to content
Snippets Groups Projects
Commit 5ca40821 authored by pswain's avatar pswain
Browse files

change(retained): default cutoff is 0

parent b79b6cb5
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,7 @@ class Signal(BridgeH5): ...@@ -101,9 +101,7 @@ class Signal(BridgeH5):
) )
return 300 return 300
def retained( def retained(self, signal, cutoff=0):
self, signal, cutoff=global_parameters.signal_retained_cutoff
):
"""Get retained cells for a Signal or list of Signals.""" """Get retained cells for a Signal or list of Signals."""
if isinstance(signal, str): if isinstance(signal, str):
# get data frame # get data frame
......
...@@ -36,6 +36,3 @@ fluorescence_functions = [ ...@@ -36,6 +36,3 @@ fluorescence_functions = [
"imBackground", "imBackground",
"max5px_median", "max5px_median",
] ]
# default fraction of time a cell must be in the experiment to be kept by Signal
signal_retained_cutoff = 0.8
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