clip¶
Module: missions.nodes.preprocessing.clip
¶
Clip all values to a certain range of values
Inheritance diagram for pySPACE.missions.nodes.preprocessing.clip
:
ClipNode
¶
-
class
pySPACE.missions.nodes.preprocessing.clip.
ClipNode
(min_threshold=None, max_threshold=None, **kwargs)[source]¶ Bases:
pySPACE.missions.nodes.base_node.BaseNode
Clip all values to a certain range of values
Clip all values to a certain range of values. The values above and below that range are set to the maximum/minimum value.
Parameters
min_threshold: All values below this threshold are set to min_threshold.
(optional, default: -numpy.inf)
max_threshold: All values above this threshold are set to max_threshold.
(optional, default: numpy.inf)
Exemplary Call
- node : Clip parameters : min_threshold : -250 max_threshold : 250
Authors: Hendrik Woehrle (hendrik.woehrle@dfki.de)
Created: 2013/03/08
POSSIBLE NODE NAMES: - ClipNode
- Clip
POSSIBLE INPUT TYPES: - TimeSeries
Class Components Summary
_execute
(data)Apply the scaling to the given data x and return a new time series. input_types
-
input_types
= ['TimeSeries']¶