Diagnostics

These stages compute and/or plot diagnostics of catalogs or other data

  • TXSourceDiagnosticPlots - Make diagnostic plots of the shear catalog

  • TXLensDiagnosticPlots - Make diagnostic plots of the lens catalog

  • TXPSFDiagnostics - Make histograms of PSF values

  • TXRoweStatistics - Compute and plot PSF Rowe statistics

  • TXStarShearTests - Compute and plot star x galaxy and star x star correlations.

  • TXStarDensityTests - Compute and plot star x galaxy and star x star density correlations

  • TXBrighterFatterPlot - Compute and plot a diagnostic of the brighter-fatter effect

  • TXGammaTFieldCenters - Make diagnostic 2pt measurements of tangential shear around field centers

  • TXGammaTStars - Make diagnostic 2pt measurements of tangential shear around stars

  • TXGammaTRandoms - Make diagnostic 2pt measurements of tangential shear around randoms

  • TXApertureMass - Measure the aperture mass statistics with TreeCorr

class txpipe.diagnostics.TXSourceDiagnosticPlots(*args: Any, **kwargs: Any)[source]

Make diagnostic plots of the shear catalog

This includes both tomographic and 2D measurements, and includes the PSF as a function of various quantities

class txpipe.diagnostics.TXLensDiagnosticPlots(*args: Any, **kwargs: Any)[source]

Make diagnostic plots of the lens catalog

Currently this consists only of histograms of SNR and mag.

class txpipe.psf_diagnostics.TXPSFDiagnostics(*args: Any, **kwargs: Any)[source]

Make histograms of PSF values

This makes histograms of e1 and e2 residuals, and of the fractional PSF size excess.

class txpipe.psf_diagnostics.TXRoweStatistics(*args: Any, **kwargs: Any)[source]

Compute and plot PSF Rowe statistics

People sometimes think that these statistics are called the Rho statistics, because we usually use that letter for them. Not so. They are named after the wonderfully incorrigible rogue Barney Rowe, now sadly lost to high finance, who presented the first two of them in MNRAS 404, 350 (2010).

class txpipe.psf_diagnostics.TXBrighterFatterPlot(*args: Any, **kwargs: Any)[source]

Compute and plot a diagnostic of the brighter-fatter effect

This plots the mean e1, e2, and size difference between that interpolated at star locations and the star values themselves, as a function of magnitude.

class txpipe.twopoint_null_tests.TXGammaTFieldCenters(*args: Any, **kwargs: Any)[source]

Make diagnostic 2pt measurements of tangential shear around field centers

This subclass of the standard TXTwoPoint uses the centers of exposure fields as “lenses”, as a systematics test.

read_nbin()[source]

Determine the bins to use in this analysis, either from the input file or from the configuration.

run()[source]

Run the analysis for this stage.

class txpipe.twopoint_null_tests.TXGammaTStars(*args: Any, **kwargs: Any)[source]

Make diagnostic 2pt measurements of tangential shear around stars

This subclass of the standard TXTwoPoint uses the centers of stars as “lenses”, as a systematics test.

read_nbin()[source]

Determine the bins to use in this analysis, either from the input file or from the configuration.

run()[source]

Run the analysis for this stage.

class txpipe.twopoint_null_tests.TXGammaTRandoms(*args: Any, **kwargs: Any)[source]

Make diagnostic 2pt measurements of tangential shear around randoms

It’s not clear to me that this is a useful null test; if it was we wouldn’t need to subtrac this term in the Landay-Szalay estimator.

This subclass of the standard TXTwoPoint uses the centers of stars as “lenses”, as a systematics test.

read_nbin()[source]

Determine the bins to use in this analysis, either from the input file or from the configuration.

run()[source]

Run the analysis for this stage.

class txpipe.twopoint_null_tests.TXApertureMass(*args: Any, **kwargs: Any)[source]

Measure the aperture mass statistics with TreeCorr

There are real and imaginary components of the aperture mass and its cross term.