def scale_Isos(Isos, Gcamp):
    """
    Takes inputs Isos, and Gcamp and returns scaled_Isos
    """
    import scipy.stats as stats
    slope, intercept, r_val, p_val, stderr = stats.linregress(Isos, Gcamp)
    scaled_Isos = Isos * slope + intercept
    return scaled_Isos
