def smoothing_source_fcn(data, *args, **kwargs):
    """
    Smooths the residuals after telluric division as an estimate of the star spectrum
    """
    star = data
    star.y = FittingUtilities.Iterative_SV(star.y / star.cont, *args, **kwargs)
    return star
dataset/ETHPy150Open kgullikson88/Telluric-Fitter/src/TelluricFitter.py/smoothing_source_fcn/original