|
660 | 660 | "* `psf_maglim`: The $5\\sigma$ PSF magnitude limit in the $r$ and $i$ bands, in AB magnitudes.\n", |
661 | 661 | "* `psf_size`: The PSF characteristic width as computed from the determinant radius, in the $r$ and $i$ bands, in pixels.\n", |
662 | 662 | "\n", |
663 | | - "The magnitude limit and PSF size columns are evaluated from the survey property maps at the center of the tract:\n", |
| 663 | + "The two image quality (IQ) parameters, the magnitude limit and PSF size, are evaluated from the survey property maps at the center of the tract:\n", |
664 | 664 | "* `deepCoadd_psf_maglim_consolidated_map_weighted_mean`\n", |
665 | 665 | "* `deepCoadd_psf_size_consolidated_map_weighted_mean`\n", |
666 | 666 | "\n", |
667 | 667 | "The `psf_size` is the $\\sigma$ in pixels, and can be approximately converted to arcseconds with a pixel scale of $\\sim0.2$ arcsec/pixel.\n", |
668 | 668 | "To convert the `psf_size` to a FWHM in arcseconds, use:\n", |
669 | | - "$FWHM = 0.2 \\sigma \\times 2 \\sqrt{2 \\ln(2)}$" |
| 669 | + "$FWHM = 0.2 \\sigma \\times 2 \\sqrt{2 \\ln(2)} = 2.3548 \\times 0.2 \\sigma$" |
670 | 670 | ] |
671 | 671 | }, |
672 | 672 | { |
|
795 | 795 | "del tally" |
796 | 796 | ] |
797 | 797 | }, |
| 798 | + { |
| 799 | + "cell_type": "markdown", |
| 800 | + "id": "4fd69847-90ba-40f1-bac2-392d3166fb06", |
| 801 | + "metadata": {}, |
| 802 | + "source": [ |
| 803 | + "### 3.3. IQ parameters\n", |
| 804 | + "\n", |
| 805 | + "Plot histograms of the tract image quality (IQ) parameters provided in the table." |
| 806 | + ] |
| 807 | + }, |
| 808 | + { |
| 809 | + "cell_type": "code", |
| 810 | + "execution_count": null, |
| 811 | + "id": "db014376-ccb3-4534-a78d-4a3983289288", |
| 812 | + "metadata": {}, |
| 813 | + "outputs": [], |
| 814 | + "source": [ |
| 815 | + "fig, ax = plt.subplots(1, 2, figsize=(10, 4), sharey=True)\n", |
| 816 | + "for f, filt in enumerate(['r', 'i']):\n", |
| 817 | + " tx1 = np.where(np.isfinite(tracts_table['psf_maglim_' + filt]))[0]\n", |
| 818 | + " tx2 = np.where(np.isfinite(tracts_table['psf_size_' + filt]))[0]\n", |
| 819 | + " ax[0].hist(tracts_table['psf_maglim_' + filt][tx1], histtype='step',\n", |
| 820 | + " bins=75, cumulative=True, log=True,\n", |
| 821 | + " linestyle=filter_linestyles[filt], color=filter_colors[filt], label=filt)\n", |
| 822 | + " ax[1].hist(0.2 * 2.3548 * tracts_table['psf_size_' + filt][tx2], histtype='step',\n", |
| 823 | + " bins=75, cumulative=True, log=True,\n", |
| 824 | + " linestyle=filter_linestyles[filt], color=filter_colors[filt], label=filt)\n", |
| 825 | + " del tx1, tx2\n", |
| 826 | + "ax[1].legend(loc='upper left', ncol=2)\n", |
| 827 | + "ax[0].set_xlabel('PSF Magnitude Limit [mag]')\n", |
| 828 | + "ax[1].set_xlabel('PSF FWHM [arcsec]')\n", |
| 829 | + "ax[0].set_ylabel('Number of tracts per filter')\n", |
| 830 | + "plt.subplots_adjust(wspace=0)\n", |
| 831 | + "plt.suptitle('Binned cumulative distribution of tract image quality parameters')\n", |
| 832 | + "plt.show()" |
| 833 | + ] |
| 834 | + }, |
| 835 | + { |
| 836 | + "cell_type": "markdown", |
| 837 | + "id": "34c9b18d-3a40-40d3-9296-847184865e48", |
| 838 | + "metadata": {}, |
| 839 | + "source": [ |
| 840 | + "> **Figure 9:** The binned cumulative distribution of tract IQ parameters, the PSF magnitude limit (left) and the PSF FWHM (right) in the $r$- and $i$-filters." |
| 841 | + ] |
| 842 | + }, |
798 | 843 | { |
799 | 844 | "cell_type": "markdown", |
800 | 845 | "id": "dfda2aae-4f25-4f99-a4ac-85a4126e64fb", |
801 | 846 | "metadata": {}, |
802 | 847 | "source": [ |
803 | | - "### 3.3. Sky distribution\n", |
| 848 | + "### 3.4. Sky distribution\n", |
804 | 849 | "\n", |
805 | 850 | "Use the tract vertices to draw one polygon per tract." |
806 | 851 | ] |
|
829 | 874 | "id": "709d29e0-ef46-458e-977b-c3166b6804dd", |
830 | 875 | "metadata": {}, |
831 | 876 | "source": [ |
832 | | - "> **Figure 9:** All of the DP2 tracts for which deep coadd images will exist, in any filter." |
| 877 | + "> **Figure 10:** All of the DP2 tracts for which deep coadd images will exist, in any filter." |
833 | 878 | ] |
834 | 879 | }, |
835 | 880 | { |
|
868 | 913 | "id": "331076de-c131-43a3-b1e7-889185625e10", |
869 | 914 | "metadata": {}, |
870 | 915 | "source": [ |
871 | | - "> **Figure 10:** The DP2 tracts for which $r$-band deep coadd images will exist." |
| 916 | + "> **Figure 11:** The DP2 tracts for which $r$-band deep coadd images will exist." |
872 | 917 | ] |
873 | 918 | }, |
874 | 919 | { |
|
908 | 953 | "id": "a1d65a2c-4809-4ecc-9e55-1d703b1794d5", |
909 | 954 | "metadata": {}, |
910 | 955 | "source": [ |
911 | | - "> **Figure 11:** The DP2 tracts for which $r$-band deep coadd images will exist, and have a magnitude limit fainter than 23 mag." |
| 956 | + "> **Figure 12:** The DP2 tracts for which $r$-band deep coadd images will exist, and have a magnitude limit fainter than 23 mag." |
912 | 957 | ] |
913 | 958 | }, |
914 | 959 | { |
|
1211 | 1256 | "id": "599638e6-f98f-46cf-88e1-350287fc23e9", |
1212 | 1257 | "metadata": {}, |
1213 | 1258 | "source": [ |
1214 | | - "> **Figure 12:** A 2D histogram illustrating the distribution of DP2 visits on the sky (for all filters, combined), similar to Figure 6 but plotted in blue-scale. Boxes are drawn to represent each skymap tract that will have at least one patch with a deep coadd image (similar to Figure 8). Overplotted are the coordinates of the three target coordinates (1 as a yellow star; 2 as a green triangle; 3 as a magenta square)." |
| 1259 | + "> **Figure 13:** A 2D histogram illustrating the distribution of DP2 visits on the sky (for all filters, combined), similar to Figure 6 but plotted in blue-scale. Boxes are drawn to represent each skymap tract that will have at least one patch with a deep coadd image (similar to Figure 8). Overplotted are the coordinates of the three target coordinates (1 as a yellow star; 2 as a green triangle; 3 as a magenta square)." |
1215 | 1260 | ] |
1216 | 1261 | }, |
1217 | 1262 | { |
|
1359 | 1404 | "id": "5676c6ae-313e-406e-9998-d514a4bde4e8", |
1360 | 1405 | "metadata": {}, |
1361 | 1406 | "source": [ |
1362 | | - "> **Figure 13:** Similar to Figure 10, this plot shows the distribution of DP2 visits (blue-scale), with boxes drawn for DP2 tracts, and with the locations of the DP1 fields marked." |
| 1407 | + "> **Figure 14:** Similar to Figure 10, this plot shows the distribution of DP2 visits (blue-scale), with boxes drawn for DP2 tracts, and with the locations of the DP1 fields marked." |
1363 | 1408 | ] |
1364 | 1409 | }, |
1365 | 1410 | { |
|
0 commit comments