def av_point(wl):
    'call this, get grid. multiply grid by Av to get redenning at that wavelength.'
    AK_AV = (1 / 7.75)
    Alambda_func = interp1d(awl, (AK_AV * A2), kind='linear')
    return Alambda_func(wl)
call this, get grid. multiply grid by Av to get redenning at that wavelength.
def av_point(wl):
    
    AK_AV = (1 / 7.75)
    Alambda_func = interp1d(awl, (AK_AV * A2), kind='linear')
    return Alambda_func(wl)