def residuals(fit, obs):
    """Calculate residuals for fit compared to observed data

    :fit: list of discrete fit data points
    :obs: list of observed data points
    :returns: fit minus observed data points

    """
    return fit-obs