Commit 4f027b1e authored by Francesco Amadori's avatar Francesco Amadori
Browse files

Version 1.0.0

parent a152166c
Loading
Loading
Loading
Loading
+1 −1
Changes for DataReductionGIANOB/Frame_Gofio.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1629,7 +1629,7 @@ class Frame_Gofio:
        norm = mcolors.Normalize(vmin=np.min(am), vmax=np.max(am))
        for i in range(nimages):
            color = cmap(norm(am[i]))
            print(f"{list_file[i]}: range wl [{np.min(curr_image.wl_cal)}, {np.max(curr_image.wl_cal)}]")
            print(f"SPC: {i}, range wl [{np.min(curr_image.wl_cal)}, {np.max(curr_image.wl_cal)}]; SNR: {np.sqrt(np.mean(data[i, :, :]))}, file {list_file[i]}")
            # sqrate root to obtain the SNR from the flux
            ax.plot(np.mean(wlen[i, :, :], axis=1), np.sqrt(np.mean(data[i, :, :], axis=1)), color=color)
        # Add labels, title