nilmtk.preprocessing package

Subpackages

Submodules

nilmtk.preprocessing.apply module

class nilmtk.preprocessing.apply.Apply(upstream=None, generator=None, func=None)[source]

Bases: nilmtk.node.Node

Apply an arbitrary function to each pd.Series chunk.

process()[source]

nilmtk.preprocessing.clip module

class nilmtk.preprocessing.clip.Clip(upstream=None, generator=None)[source]

Bases: nilmtk.node.Node

Ensures that no value is below a lower limit or above an upper limit. If self.lower and self.upper are None then will use clip settings from ‘device’: {‘measurements’: {‘upper_limit’ and ‘lower_limit’}}.

postconditions = {'preprocessing_applied': {'clip': {}}}
process()[source]
requirements = {'device': {'measurements': 'ANY VALUE'}}
reset()[source]

Module contents