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

DezingerDeprecatedTools.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 DezingerDeprecatedTools(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: 10.0
15
        kernel_size:
16
              visibility: basic
17
              dtype: int
18
              description: Number of frames included in average.
19
              default: 5
20
        mode:
21
              visibility: intermediate
22
              dtype: int
23
              description: 'output mode, 0=normal 5=zinger strength 6=zinger
24
                yes/no.'
25
              default: 0
26
27
        """
28