Test Setup Failed
Push — master ( 614633...164ec0 )
by Nicola
03:53 queued 17s
created

PluginTemplate3Tools.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 PluginTemplate3Tools(PluginTools):
4
    """
5
    A plugin template that reduces the data dimensions, e.g. azimuthal
6
    integration.
7
    """
8
9
    def define_parameters(self):
10
        """
11
        num_bins:
12
            visibility: basic
13
            dtype: int
14
            description: Length of the new dimension
15
            default: 10
16
        """