'Initialize transformer with configured parameters.
:param source: dict containing source sample unit
:param target: dict containing target sample name, type,
unit and scaling factor (a missing value
connotes no change)'

def __init__(self, source=None, target=None, **kwargs):

    super(ScalingTransformer, self).__init__(source=source, target=target, **kwargs)
    self.scale = self.target.get('scale')
    self.max = self.target.get('max')
    LOG.debug('scaling    conversion    transformer    with    source:    %(source)s    target:    %(target)s:', {'source': self.source, 'target': self.target})
