mag_g_all = [
            mag_g[x] for x in range(len(freq_gd)) if (mag_gd[x]-1) > 0]