Commit 9d30835d authored by Andrea Giannetti's avatar Andrea Giannetti
Browse files

Removed grids from the the feathering test

parent 2c4a7e2c
Loading
Loading
Loading
Loading
+3 −2
Changes for etl/stg/stg_check_feather.py: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -91,14 +91,15 @@ def compare_tp_feather_spectralcube(source, species, ap_radius_arcsec=40.0, data
    ax1.set_ylabel("Brightness Temperature [K]")
    ax1.set_title(f"Feathering Verification: {source} — {species} (Aperture $R = {ap_radius_arcsec}''$)")
    ax1.legend(frameon=True, loc="upper right")
    ax1.grid(True, linestyle=":", alpha=0.6)
    ax1.grid(False)

    ax2.plot(freq_f, diff_k, color="black", lw=1.2, label="Residual (Feather - TP)")
    ax2.axhline(0, color="gray", linestyle="--", lw=0.8)
    ax2.set_xlabel("Frequency [GHz]")
    ax2.set_ylabel("Residual [K]")
    ax2.legend(frameon=True, loc="upper right")
    ax2.grid(True, linestyle=":", alpha=0.6)
    # ax2.grid(True, linestyle=":", alpha=0.6)
    ax2.grid(False)

    plt.tight_layout()
    out_png = os.path.join(output_dir, f"tp_vs_feather_{source}_{species}_SpectralCube.png")