# {py:mod}`elasticai.preprocessor.thresholding.thresholding` ```{py:module} elasticai.preprocessor.thresholding.thresholding ``` ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`SettingsThreshold ` - ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold :summary: ``` * - {py:obj}`Thresholding ` - ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.Thresholding :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`DefaultSettingsThreshold ` - ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.DefaultSettingsThreshold :summary: ``` ```` ### API `````{py:class} SettingsThreshold :canonical: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold ``` ````{py:attribute} method :canonical: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.method :type: str :value: > None ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.method ``` ```` ````{py:attribute} sampling_rate :canonical: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.sampling_rate :type: float :value: > None ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.sampling_rate ``` ```` ````{py:attribute} gain :canonical: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.gain :type: float :value: > None ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.gain ``` ```` ````{py:attribute} window_sec :canonical: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.window_sec :type: float :value: > None ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.window_sec ``` ```` ````{py:property} window_steps :canonical: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.window_steps :type: int ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.SettingsThreshold.window_steps ``` ```` ````` ````{py:data} DefaultSettingsThreshold :canonical: elasticai.preprocessor.thresholding.thresholding.DefaultSettingsThreshold :value: > 'SettingsThreshold(...)' ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.DefaultSettingsThreshold ``` ```` `````{py:class} Thresholding(settings: elasticai.preprocessor.thresholding.thresholding.SettingsThreshold) :canonical: elasticai.preprocessor.thresholding.thresholding.Thresholding ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.Thresholding ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.Thresholding.__init__ ``` ````{py:method} get_overview() -> list :canonical: elasticai.preprocessor.thresholding.thresholding.Thresholding.get_overview ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.Thresholding.get_overview ``` ```` ````{py:method} get_threshold(xin: numpy.ndarray, do_abs: bool = False, **kwargs) -> numpy.ndarray :canonical: elasticai.preprocessor.thresholding.thresholding.Thresholding.get_threshold ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.Thresholding.get_threshold ``` ```` ````{py:method} get_threshold_position(xin: numpy.ndarray, pre_time: float = 0.0, do_abs: bool = False, **kwargs) -> numpy.ndarray :canonical: elasticai.preprocessor.thresholding.thresholding.Thresholding.get_threshold_position ```{autodoc2-docstring} elasticai.preprocessor.thresholding.thresholding.Thresholding.get_threshold_position ``` ```` `````