Plots

These stages make plots out TXPipe output data

class txpipe.photoz_stack.TXPhotozPlot(args, comm=None, aliases=None)[source]

Make n(z) plots of source and lens galaxies

Inputs:

  • photoz_stack: QPNOfZFile

Outputs:

  • nz_plot: PNGFile

Parallel: No - Serial

Configuration
  • label: (str) Default=.
  • zmax: (float) Default=3.0.
class txpipe.map_plots.TXMapPlots(args, comm=None, aliases=None)[source]

Make plots of all the available maps

This makes plots of: - depth - lens density - shear - flag values - PSF - mask - bright object counts

If one map fails for any reason it is just skipped.

Inputs:

  • source_maps: MapsFile

  • lens_maps: MapsFile

  • density_maps: MapsFile

  • mask: MapsFile

  • aux_source_maps: MapsFile

  • aux_lens_maps: MapsFile

Outputs:

  • depth_map: PNGFile

  • lens_map: PNGFile

  • shear_map: PNGFile

  • flag_map: PNGFile

  • psf_map: PNGFile

  • mask_map: PNGFile

  • bright_object_map: PNGFile

Parallel: No - Serial

Configuration
  • projection: (str) Default=cart.
  • rot180: (bool) Default=False.
  • debug: (bool) Default=False.
class txpipe.convergence.TXConvergenceMapPlots(args, comm=None, aliases=None)[source]

Make plots convergence maps

Makes a PNG plot of both Kappa_E and Kappa_B

Inputs:

  • convergence_maps: MapsFile

Outputs:

  • convergence_map: PNGFile

Parallel: No - Serial

Configuration
  • projection: (str) Default=cart.
class txpipe.rail.summarize.PZRealizationsPlot(args, comm=None, aliases=None)[source]

Stage PZRealizationsPlot

Inputs:

  • photoz_realizations: QPMultiFile

Outputs:

  • photoz_realizations_plot: PNGFile

Parallel: No - Serial

Configuration
  • zmax: (float) Default=3.0.
  • nz: (int) Default=301.
class txpipe.twopoint_plots.TXTwoPointPlots(args, comm=None, aliases=None)[source]

Make plots of the correlation functions and their ratios to theory The theory prediction is taken from CCL’s calculation.

Inputs:

  • twopoint_data_real: SACCFile

  • twopoint_gamma_x: SACCFile

Outputs:

  • shear_xi_plus: PNGFile

  • shear_xi_minus: PNGFile

  • shearDensity_xi: PNGFile

  • density_xi: PNGFile

  • shearDensity_xi_x: PNGFile

Parallel: No - Serial

Configuration
  • wspace: (float) Default=0.05.
  • hspace: (float) Default=0.05.
class txpipe.twopoint_plots.TXTwoPointPlotsFourier(args, comm=None, aliases=None)[source]

Make plots of the C_ell and their ratios to theory

Inputs:

  • summary_statistics_fourier: SACCFile

  • twopoint_theory_fourier: SACCFile

Outputs:

  • shear_cl_ee: PNGFile

  • shearDensity_cl: PNGFile

  • density_cl: PNGFile

  • shear_cl_ee_ratio: PNGFile

Parallel: No - Serial

Configuration
  • wspace: (float) Default=0.05.
  • hspace: (float) Default=0.05.
class txpipe.twopoint_plots.TXTwoPointPlotsTheory(args, comm=None, aliases=None)[source]

Stage TXTwoPointPlotsTheory

Inputs:

  • twopoint_data_real: SACCFile

  • twopoint_gamma_x: SACCFile

  • twopoint_theory_real: SACCFile

Outputs:

  • shear_xi_plus: PNGFile

  • shear_xi_minus: PNGFile

  • shearDensity_xi: PNGFile

  • density_xi: PNGFile

  • shear_xi_plus_ratio: PNGFile

  • shear_xi_minus_ratio: PNGFile

  • shearDensity_xi_ratio: PNGFile

  • density_xi_ratio: PNGFile

  • shearDensity_xi_x: PNGFile

Parallel: No - Serial

Configuration
  • wspace: (float) Default=0.05.
  • hspace: (float) Default=0.05.