Test Failed
Pull Request — master (#830)
by Daniil
04:54
created

dezinger_sinogram_deprecated_tools   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A DezingerSinogramDeprecatedTools.define_parameters() 0 2 1
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
        """