You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""This returns the name of the filter as a user of DREAM3DNX would see it
24
+
:return: The filter's human name
25
+
:rtype: string
26
+
"""
27
+
return'Sort Data Array (Numpy)'
28
+
29
+
defclass_name(self) ->str:
30
+
"""The returns the name of the class that implements the filter
31
+
:return: The name of the implementation class
32
+
:rtype: string
33
+
"""
34
+
return'NPSortArray'
35
+
36
+
defname(self) ->str:
37
+
"""The returns the name of filter
38
+
:return: The name of the filter
39
+
:rtype: string
40
+
"""
41
+
return'NPSortArray'
42
+
43
+
defdefault_tags(self) ->List[str]:
44
+
"""This returns the default tags for this filter
45
+
:return: The default tags for the filter
46
+
:rtype: list
47
+
"""
48
+
return ['python']
49
+
50
+
defclone(self):
51
+
"""Clones the filter
52
+
:return: A new instance of the filter
53
+
:rtype: NPSortArray
54
+
"""
55
+
returnNPSortArray()
56
+
57
+
defparameters(self) ->nx.Parameters:
58
+
"""This function defines the parameters that are needed by the filter. Parameters collect the values from the user
59
+
or through a pipeline file.
60
+
"""
61
+
params=nx.Parameters()
62
+
63
+
params.insert(nx.ArraySelectionParameter(NPSortArray.INPUT_ARRAY_KEY, 'Input Data Array', 'The input array to sort.', nx.DataPath(), nx.get_all_data_types()))
0 commit comments