Test Failed
Push — master ( 84eb2f...edd0a2 )
by Daniil
01:28 queued 17s
created

DezingerSinogramDeprecatedTools.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 DezingerSinogramDeprecatedTools(PluginTools):
4
    """Method to remove scratches in the reconstructed image caused by
5
zingers. Remove zingers (caused by scattered X-rays hitting the CCD chip
6
directly) Threshold for detecting zingers, greater is less sensitive.
7
    """
8
    def define_parameters(self):
9
        """
10
        tolerance:
11
              visibility: basic
12
              dtype: float
13
              description: Threshold for detecting zingers, greater is less
14
                sensitive.
15
              default: 0.08
16
17
        """