def correct_iso_set(path, age, mu, Av): print(os.path.exists(path)) isoAtAge = interp_isochrone_age(iso, age) isoAMags = bc.apparent_mags( 10**isoAtAge[:, 10], isoAtAge[:, 12], isoAtAge[:, 7], mu = mu, Av = Av, filters = ("WFC3_UVIS_F275W", "WFC3_UVIS_F606W", "WFC3_UVIS_F814W") ) return isoAMags