'One dimensional Scale model function'

@staticmethod
def evaluate(x, factor):

    if isinstance(factor, u.Quantity):
        return_unit = factor.unit
        factor = factor.value
    if isinstance(x, u.Quantity):
        return ((x.value * factor) * return_unit)
    else:
        return (factor * x)
