@staticmethod
def _linear_transformation(data, multiplier, offset):
    """
        Given data, a multiplier and the offset, return the
        data transformed with those values by:

        data' = data * multiplier + offset

        Parameter:
        
            data (array-like):
               Array of numerical values, either int or float
            multiplier (float, int or None):
               Number to multiply the data with. None is taken
               as an implicit 1.0
            offset (float, int or None):
               Number of offset the values with. None is taken
               as an implicit 0.0

        Returns:
         
            scaled_data (array-like):
               Result scaled.
        """
    if multiplier is None:
        multiplier = 1
    if offset is None:
        offset = 0
    return data * multiplier + offset
