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

plugin_examples.plugin_templates.general.plugin_template3_tools   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

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