The user wants a design for a weak-lensing shear calibration procedure.
This is a complex topic in cosmology/data analysis.
Key components mentioned in the prompt:
- PSF (Point Spread Function): Correction is crucial.
- Biases: Multiplicative, Additive, Model bias, Noise bias.
- Null Tests: How to verify the calibration.
Target Audience: Likely a physics/astronomy graduate student or researcher looking for a structured approach or algorithm. The tone should be technical, rigorous, but clear.
Structure of the Response:
- Introduction: Define the goal (recovering true shear g from measured ellipticity e).
- Step 1: PSF Modeling & Correction: This is the foundational step.
- Modeling (PSFEx, stars).
- Correction methods (KSB, Model Fitting).
- Step 2: Identifying & Correcting Biases:
- The Shear Estimator equation (e=mg+c).
- Multiplicative bias (m): Calibration factor.
- Additive bias (c): PSF leakage.
- Other biases (Noise bias, Selection bias).
- Step 3: Calibration Methodology (Image Simulations):
- How to measure m and c. You can't usually do this on sky alone.
- Simulating galaxies/PSFs.
- Step 4: Null Tests (Validation):
- Galaxy properties vs. PSF properties (rho statistics).
- Geographic dependence (Chip gaps, etc.).
- Star-galaxy cross-correlations.
- Step 5: Implementation Strategy (The "Design"): A summarized workflow.
Drafting Content - Details:
Refining the "Design" aspect:
The prompt asks to "Design" a calibration. This implies a pipeline or a set of requirements.
I will structure this as a Calibration Pipeline Framework.
- Module A: PSF Reconstruction.
- Module B: Shape Measurement (Metacalibration focus).
- Module C: Bias Determination (Simulations).
- Module D: Shear Correction (Applying factors).
- Module E: Validation (Null Tests).
Self-Correction/Review during drafting:
- Initial thought: Just explain KSB (Kaiser, Squires, Broadhurst).
- Correction: KSB is old. Modern surveys (DES, HSC, LSST) use Metacal or Model Fitting. I should focus on Metacalibration as the primary design example but mention general bias terms.
- Bias detail: Make sure to distinguish between model bias (galaxy is wrong) and noise bias (pixel noise interferes with weighting).
Key Equations to include:
- eobs=(1+m)g+c
- ρ statistics definitions (briefly).
Final Polish: Use formatting (bolding, lists) to make it readable as a technical design document.
Let's assemble the response.
- Objective: Recover unbiased shear γ.
- PSF: Stars -> PSF Model -> Galaxy locations.
- Measurement: Metacal (concept: shear the image, remeasure).
- Bias Characterization: Use Simulations (URunSim etc).
- Null Tests: ρ-stats, B-modes, Chip geometry.
This looks solid. I will write the response following this structure.
Here is a comprehensive design for a Weak-Lensing Shear Calibration pipeline. This design focuses on the three critical pillars requested: Point Spread Function (PSF) modeling, bias mitigation (multiplicative and additive), and validation through null tests.
Weak-Lensing Shear Calibration Framework
Objective: Recover the unbiased shear signal (g) from observed galaxy ellipticities (ϵobs) by correcting for the convolving effect of the PSF and measurement biases.
The Fundamental Equation:
The measured ellipticity is typically modeled as a linear response to the true reduced shear g:
⟨ϵobs⟩=⟨ϵ
Where:
- m: Multiplicative bias (calibration error in the shear responsivity).
- c: Additive bias (systematics, usually related to PSF leakage).
- ϵint: Intrinsic ellipticity (assumed to average to zero randomly).
Step 1: PSF Modeling & Correction
The PSF blurs galaxy images and adds spurious ellipticity. Correcting for this is the first order of business.
1.1. PSF Reconstruction
- Input: High Signal-to-Noise (S/N) stars identified in the field.
- Modeling: Construct a spatially varying model of the PSF across the focal plane.
- Method: Use Principal Component Analysis (PCA) or polynomial fitting to interpolate PSF shape parameters (e1,e2,size) between stars.
- Optical Constraints: Include optical distortion maps (Amp, Distortion) to anchor the model in regions with few stars.
- Validation: Check the residual between the star ellipticity and the model ellipticity at star positions (). The mean residual must be consistent with zero.
1.2. PSF Deconvolution (Forward Modeling)
Direct deconvolution is unstable due to noise. Instead, use Forward Modeling:
- Assume a parametric model for the pre-seeing galaxy light profile (e.g., Exponential, de Vaucouleurs, or Sérsic).
- Convolve this model with the reconstructed PSF model at the galaxy's location.
- Fit this convolved model to the pixel data to extract the intrinsic galaxy ellipticity.
Step 2: Bias Characterization & Mitigation
Shear measurement algorithms are never perfect. We must characterize m (multiplicative) and c (additive) biases.
2.1. Multiplicative Bias (m) Calibration
This bias arises because faint galaxies are noisy, and measurement algorithms (like weighting by S/N) tend to regress the measured ellipticity toward zero.
- Method: Image Simulations (The "Gold Standard")
- Generate a suite of simulated images matching the survey properties (seeing, background noise, depth).
- Inject galaxies with known input shears (gtrue).
- Run the exact measurement pipeline on these sims.
- Calculate m via:
2.2. Additive Bias (c) Correction
Additive bias usually comes from "PSF Leakage"—where the PSF shape imprints itself onto the galaxy shape measurement.
- Modeling the Leakage:
- Assume the additive bias is proportional to the PSF ellipticity at that location:
ϵobs=⋯+α⋅ϵPSF
2.3. Noise Bias Mitigation
- Issue: Noise in the image pixel creates a bias in shape measurement because ellipticity is a non-linear function of pixel flux.
- Correction: Include noise realizations in the calibration simulations (Step 2.1). Alternatively, apply a "bias correction" term derived from the local variance in the image.
Step 3: Null Tests (Validation)
Once the shear catalog is produced, you must prove it is free of systematics. These are "Null Tests"—the result must be zero (consistent with noise).
3.1. The "B-Mode" Test
Weak lensing creates "E-modes" (gradient-like patterns). "B-modes" (curl-like patterns) are created primarily by systematics (camera optics, imperfect PSF correction).
- Test: Compute the 2-point correlation function ξ+ and separate it into E and B modes.
- Success Criteria: B-mode signal must be consistent with zero across all angular scales.
3.2. Star-Galaxy Cross-Correlation
True gravitational shear is caused by matter in the foreground/background. It should not correlate physically with stars in our own galaxy.
- Test: Cross-correlate the galaxy shear (γgal) with the PSF shape of stars (ePSF).
- Metric: .
3.3. PSF Residual Autocorrelation
- Test: Measure the spatial correlation of the PSF model residuals (Stars - Model).
- Success Criteria: The residuals should look like white noise (no spatial structure). If there is spatial correlation, the PSF model interpolation failed.
3.4. Chip / Detector Dependence
- Test: Bin the average shear signal by detector chip ID or position on the focal plane.
- Success Criteria: The mean shear should be constant across different chips. Variation implies an uncorrected camera distortion or charge transfer inefficiency.
Summary Checklist for the Pipeline
| Component | Action Item | Tool/Method |
|---|
| 1. Input | Detect sources, separate stars/galaxies. | SExtractor, Classifiers |
| 2. PSF | Reconstruct spatially varying PSF. | PSFEx, Piff |
| 3. Shapes | Measure convolved ellipticities. | GalSim, ngmix, LensFit |
| 4. Calibrate | Determine m (Multiplicative). | Metacalibration (preferred) or Image Sims |
| 5. Correct | Remove PSF leakage (c). | Linear Regression (ϵ vs ) |
This design utilizes the Metacalibration approach where possible, as it is currently the industry standard for minimizing model bias, while relying on simulations to correct for noise bias.