b.line_plot("sinc_sq", freq, G_f, label="sinc_sq")

        G=1.0e9
        R=1/(1+(2*(freq-f0)/G)**2)
        b.line_plot("Rsq", freq, 0.5*Np*K2*f0*R, label="R_sq")

        b.vline_plot("listen", 4.475e9, alpha=0.3, color="black")
        b.vline_plot("listent", 4.55e9, alpha=0.3, color="black")
        b.vline_plot("listenb", 4.4e9, alpha=0.3, color="black")
    if 1:
        Np=9
        K2=0.048
        f0=5.45e9
        freq=4.48e9
        G_f=0.5*Np*K2*f0*(sin(Np*pi*(freq-f0)/f0)/(Np*sin(pi*(freq-f0)/f0)))**2
        b.scatter_plot("blah", 180e6/2.0, 2*G_f)

        Np=9
        K2=0.048
        f0=2*5.45e9
        freq=4.48e9
        G_f=0.5*Np*K2*f0*(sin(Np*pi*(freq-f0)/f0)/(Np*sin(pi*(freq-f0)/f0)))**2
        b.scatter_plot("blah2", 90e6/2.0, 2*G_f)

        Np=3
        K2=0.048
        f0=2*5.45e9
        freq=4.48e9
        G_f=0.5*Np*K2*f0*(sin(Np*pi*(freq-f0)/f0)/(Np*sin(pi*(freq-f0)/f0)))**2
        b.scatter_plot("blah3", 170e6/2.0, 2.0*G_f, color="green")
        G = 1.0e9
        R = 1 / (1 + (2 * (freq - f0) / G)**2)
        b.line_plot("Rsq", freq, 0.5 * Np * K2 * f0 * R, label="R_sq")

        b.vline_plot("listen", 4.475e9, alpha=0.3, color="black")
        b.vline_plot("listent", 4.55e9, alpha=0.3, color="black")
        b.vline_plot("listenb", 4.4e9, alpha=0.3, color="black")
    if 1:
        Np = 9
        K2 = 0.048
        f0 = 5.45e9
        freq = 4.48e9
        G_f = 0.5 * Np * K2 * f0 * (sin(Np * pi * (freq - f0) / f0) /
                                    (Np * sin(pi * (freq - f0) / f0)))**2
        b.scatter_plot("blah", 180e6 / 2.0, 2 * G_f)

        Np = 9
        K2 = 0.048
        f0 = 2 * 5.45e9
        freq = 4.48e9
        G_f = 0.5 * Np * K2 * f0 * (sin(Np * pi * (freq - f0) / f0) /
                                    (Np * sin(pi * (freq - f0) / f0)))**2
        b.scatter_plot("blah2", 90e6 / 2.0, 2 * G_f)

        Np = 3
        K2 = 0.048
        f0 = 2 * 5.45e9
        freq = 4.48e9
        G_f = 0.5 * Np * K2 * f0 * (sin(Np * pi * (freq - f0) / f0) /
                                    (Np * sin(pi * (freq - f0) / f0)))**2
Exemple #3
0
        G = 1.0e9
        R = 1 / (1 + (2 * (freq - f0) / G)**2)
        b.line_plot("Rsq", freq, 0.5 * Np * K2 * f0 * R, label="R_sq")

        b.vline_plot("listen", 4.475e9, alpha=0.3, color="black")
        b.vline_plot("listent", 4.55e9, alpha=0.3, color="black")
        b.vline_plot("listenb", 4.4e9, alpha=0.3, color="black")
    if 1:
        Np = 9
        K2 = 0.048
        f0 = 5.45e9
        freq = 4.48e9
        G_f = 0.5 * Np * K2 * f0 * (sin(Np * pi * (freq - f0) / f0) /
                                    (Np * sin(pi * (freq - f0) / f0)))**2
        b.scatter_plot("blah", 180e6 / 2.0, 2 * G_f)

        Np = 9
        K2 = 0.048
        f0 = 2 * 5.45e9
        freq = 4.48e9
        G_f = 0.5 * Np * K2 * f0 * (sin(Np * pi * (freq - f0) / f0) /
                                    (Np * sin(pi * (freq - f0) / f0)))**2
        b.scatter_plot("blah2", 90e6 / 2.0, 2 * G_f)

        Np = 3
        K2 = 0.048
        f0 = 2 * 5.55e9
        freq = 4.48e9
        G_f = 0.5 * Np * K2 * f0 * (sin(Np * pi * (freq - f0) / f0) /
                                    (Np * sin(pi * (freq - f0) / f0)))**2