Lesson 2 of 4 · PSF correction and covariance physicality
Remove blur, test the result
20 minute lesson · 3 checks along the way
Your goal for this lessonRecover a fictional galaxy covariance from a PSF model and reject corrections that produce nonphysical matrices.
In this lesson 3 sections · 3 checks
Read & understand
Why the covariances add
A point-spread function, or PSF, describes how an unresolved point is spread in an image. In this example it is normalized, constant across the image and independent of position within the source. Think of a photon’s observed coordinate as a source displacement plus an independent blur displacement. The covariance of their sum is the sum of their covariances: Q_observed=Q_galaxy+Q_PSF.
This probability argument explains the addition rule for finite, unweighted, centred moments. It does not justify subtracting arbitrary weighted measurements from real data. Keep the galaxy and PSF in the same angular coordinates and units. Subtracting dimensionless distortions directly would be a different operation: the ratios defining χ do not add like the matrix entries.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Round blur and directional blur
Take Q_galaxy=diag(3,1) and Q_PSF=diag(1,1). The observed matrix is diag(4,2), so χ₁ falls from 1/2 to 1/3. Subtracting the correct PSF restores diag(3,1). If we instead subtract diag(1/2,1/2), the inferred matrix is diag(7/2,3/2) and χ₁=2/5. The shape is plausible but biased because some round blur remains.
Directional blur can create apparent alignment. Start with a circular galaxy diag(2,2) and PSF [[3/2,1/4],[1/4,1/2]]. The observed matrix is [[7/2,1/4],[1/4,5/2]], with trace 6 and distortion (1/6,1/12). Correct subtraction restores zero distortion. Repeating images with the same erroneous PSF model does not make that systematic shape contribution disappear.
Blur changes the measured shape
PSF covariance diag(1,1). Partial correction subtracts diag(1/2,1/2). All contours use semiaxes 22 times square roots of diagonal entries; no weighted-moment pipeline is implied.
Open full-size diagram in a new tab: Blur changes the measured shapeRead diagram data as a table
| Stage | Covariance | χ₁ |
|---|---|---|
| Original | diag(3,1) | 1/2 |
| Blurred | diag(4,2) | 1/3 |
| Partial correction | diag(7/2,3/2) | 2/5 |
PSF covariance diag(1,1). Partial correction subtracts diag(1/2,1/2). All contours use semiaxes 22 times square roots of diagonal entries; no weighted-moment pipeline is implied.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Reject an impossible answer
For the resolved two-dimensional distributions used here, require xx>0, yy>0 and determinant xx·yy−xy²>0. Subtracting diag(3,2) from our observed diag(4,2) leaves diag(1,0), a singular result with no spread along y. The algebra completed, but the result lies outside our model of a resolved galaxy. Record the failed condition rather than silently replacing it with a convenient value.
Positive diagonal entries alone are insufficient: [[1,2],[2,1]] has positive trace 2 but determinant −3. Its variance along one diagonal direction would be negative, which a brightness covariance cannot have. Flagging invalid results also changes which objects reach an average. That makes the selection rule part of the experiment we must validate, not merely housekeeping after correction.
Test the corrected covariance
Require xx>0, yy>0 and xx·yy−xy²>0. No ordinary covariance ellipse is drawn for the indefinite matrix. Flagging results changes the selected sample.
Open full-size diagram in a new tab: Test the corrected covarianceRead diagram data as a table
| Matrix | Determinant | Model status |
|---|---|---|
| diag(3,1) | 3 | Positive definite: accept |
| diag(1,0) | 0 | Singular: flag |
| [[1,2],[2,1]] | −3 | Indefinite: flag |
Require xx>0, yy>0 and xx·yy−xy²>0. No ordinary covariance ellipse is drawn for the indefinite matrix. Flagging results changes the selected sample.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.