Skip to content

Commit 8ae1536

Browse files
final updateas
1 parent 3cdc5ff commit 8ae1536

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

DP1/200_Data_Products/206_Deblender_Products/206_1_Deblender_Outputs.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"Data Release: DP1 <br>\n",
2020
"Container Size: Large <br>\n",
2121
"LSST Science Pipelines version: Weekly v29.2.0 <br>\n",
22-
"Last verified to run: 2025-09-26 <br>\n",
22+
"Last verified to run: 2025-10-06 <br>\n",
2323
"Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>"
2424
]
2525
},

DP1/200_Data_Products/206_Deblender_Products/206_2_Deblender_Footprints.ipynb

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"Data Release: DP1 <br>\n",
2020
"Container Size: Large <br>\n",
2121
"LSST Science Pipelines version: Weekly 29.2.0 <br>\n",
22-
"Last verified to run: 2025-10-05 <br>\n",
22+
"Last verified to run: 2025-10-06 <br>\n",
2323
"Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>"
2424
]
2525
},
@@ -607,7 +607,7 @@
607607
"source": [
608608
"Printing `blend_data.bands` shows that this patch and tract in ECDFS was observed with all 6 bands but they are not in the order of increasing wavelength. To ensure that expected order, specify `model[tuple(\"ugrizy\")]` when retrieving the blend model to display the image with the expected color assignment in the cell below. If fewer bands of coverage exist (as is the case for some DP1 fields), simply replace this by the combination of observed bands, e.g. `tuple(\"griz\")`. For this example, select only 4 filters and exclude the `u` and `y` bands, which add unnecessary noise that makes it difficult to see the underlying objects.\n",
609609
"\n",
610-
"Note: this will change the order of the bands displayed in the model but **not** in the `blend` instance. After DP1, a change is planned so that `blend = blend[display_bands]` can be used to reorganize all of the models so that they are displayed in a new order."
610+
"Note: this will change the order of the bands displayed in this instance of the the model but **not** in the `blend` instance. After DP1, a change is planned so that `blend = blend[display_bands]` can be used to reorganize all of the models so that they are displayed in a new order."
611611
]
612612
},
613613
{
@@ -646,7 +646,15 @@
646646
{
647647
"cell_type": "markdown",
648648
"id": "a823522f-8f0a-4ce1-b197-48586016fbfe",
649-
"metadata": {},
649+
"metadata": {
650+
"execution": {
651+
"iopub.execute_input": "2025-09-27T19:26:59.892413Z",
652+
"iopub.status.busy": "2025-09-27T19:26:59.892278Z",
653+
"iopub.status.idle": "2025-09-27T19:26:59.895120Z",
654+
"shell.execute_reply": "2025-09-27T19:26:59.894619Z",
655+
"shell.execute_reply.started": "2025-09-27T19:26:59.892401Z"
656+
}
657+
},
650658
"source": [
651659
"> Figure 2: A `griz` RGB color image of the blend model. By default, Scarlet Lite maps the filters into an RGB scaling where shorter wavelength filters contribute to the blue color and longer wavelength filters contribute to red."
652660
]
@@ -757,7 +765,7 @@
757765
"\n",
758766
"To normalize the image, use the Lupton RGB AsinhMapping, which preserves the observed colors.\n",
759767
"\n",
760-
"Note: You'll notice that the colors match the processed color order, not the correct band order. In the future passing `blend[display_bands]` should display everything in the correct order.\n"
768+
"Note: You'll notice that the colors match the processed color order `observed_bands`, not the correct band order. In the future passing `blend[display_bands]` should display everything in the correct order.\n"
761769
]
762770
},
763771
{
@@ -792,7 +800,7 @@
792800
"source": [
793801
"> Figure 4: Visualization of the model generated by Scarlet Lite, with x and y axes indicating pixel number from the patch/tract. The panels show the blend model (not PSF-convolved; top left), the blend model rendered (PSF-convolved; top right), the observation (bottom left) and the residual image (observation - model rendered; bottom right). All deblended sources are identified with white boxes and a number indicating its ID within the set of deblended objects.\n",
794802
"\n",
795-
"Finally, use the `show_sources` function to display each individual deblended object's model (left), its location in the image (middle), and its broad-band spectrum (right).\n",
803+
"Finally, use the `show_sources` function to display each individual deblended object's model (left), its location in the image (middle), and its broad-band spectrum (right). Note that since this function takes `blend` as input, whose filter order we did not change. The band order used in the RGB and for the spectrum panel is thus the same as `observed_bands`.\n",
796804
"\n",
797805
"Note: Due to a bug in the DP1 code there is a bug that incorrectly displays the rendered (PSF convolved) model of each source. In the future passing `show_rendered=True` will also display the rendered version of the source."
798806
]
@@ -817,7 +825,7 @@
817825
"id": "17e2781f-5f28-4e44-8a6b-550d320c2941",
818826
"metadata": {},
819827
"source": [
820-
"> Figure 4: Visualization of the individual deblended sources (top to bottom show ID 0 to 8). For each source, left panel shows the PSF-deconvolved model footprint (where the color scale corresponds to the weighted RGB color), middle panel shows the observation of the blend with the source identified by a white box, and right panel shows the flux in each band, from u to y in order of wavelength as defined in Section 3.2. TBD IF THIS WAVELENGTH STATEMENT IS TRUE?"
828+
"> Figure 4: Visualization of the individual deblended sources (top to bottom show ID 0 to 8). For each source, left panel shows the PSF-deconvolved model footprint (where the color scale corresponds to the weighted RGB color), middle panel shows the observation of the blend with the source identified by a white box, and right panel shows the flux in each band. The bands are shown all 6 LSST filters, and are in observation order, i.e. `observed_bands`."
821829
]
822830
},
823831
{
@@ -848,7 +856,7 @@
848856
"source": [
849857
"### 5.2 Creating the flux re-distributed models\n",
850858
"\n",
851-
"In the LSST science pipeline, measurements are not made on the Scarlet models directly. Imperfections in the PSF measurement and deviations of bright galaxies from a simple two-component monotonic morphology solution (see Melchior paper cited above) result in improper measurements. THIS STATEMENT TBD: Instead, a deblending algorithm based on the SDSS deblender is employed, using the scarlet models as templates, and flux is re-distributed from the input image based on the ratio of values for overlapping templates in an image."
859+
"In the LSST science pipeline, measurements are not made on the Scarlet models directly. Imperfections in the PSF measurement and deviations of bright galaxies from a simple two-component monotonic morphology solution (see Melchior paper cited above) result in improper measurements. Instead, a deblending algorithm based on the SDSS deblender is employed, using the scarlet models as templates, and flux is re-distributed from the input image based on the ratio of values for overlapping templates in an image."
852860
]
853861
},
854862
{

0 commit comments

Comments
 (0)