Test Failed
Pull Request — master (#830)
by Daniil
03:56
created

DezingerSimpleDeprecatedTools.define_parameters()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
from savu.plugins.plugin_tools import PluginTools
2
3
class DezingerSimpleDeprecatedTools(PluginTools):
4
    """A plugin for cleaning x-ray strikes based on statistical evaluation of
5
the near neighbourhood
6
    """
7
    def define_parameters(self):
8
        """
9
        outlier_mu:
10
              visibility: basic
11
              dtype: float
12
              description: Threshold for defecting outliers, greater is less
13
                sensitive.
14
              default: 1000.0
15
        kernel_size:
16
              visibility: basic
17
              dtype: int
18
              description: 'Number of frames included in average. If the number
19
                is not odd, use kernel_size + 1'
20
              default: 5
21
22
23
        """