Skip to content

Commit

Permalink
bug fix for flagging different between pols because of antenna flagging
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Feb 6, 2025
1 parent f0feb83 commit 78271f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/single_baseline_2D_filtered_SNRs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
" \n",
" axes[0].set_ylabel(f'JD - {int(data.times[0])}')\n",
" plt.tight_layout()\n",
" largest_pixel = np.max([np.abs(filtered_SNR[bl][~flags[bl]]) \n",
" largest_pixel = np.max([np.max(np.abs(filtered_SNR[bl][~flags[bl]])) \n",
" for bl in filtered_SNR if not np.all(flags[bl])])\n",
" plt.colorbar(im, ax=axes, label='|2D DPSS Filtered SNR|', pad=.02, \n",
" extend=('max' if largest_pixel > vmax else None))\n",
Expand Down

0 comments on commit 78271f5

Please sign in to comment.