base_raytracer#

Catalog-agnostic raytracing module

Module Contents#

Classes#

BaseRaytracer

Base class for raytracer tools. Not to be instantiated on its own.

class base_raytracer.BaseRaytracer(in_dir: str = '.', out_dir: str = '.', debug: bool = False)[source]#

Bases: abc.ABC

Base class for raytracer tools. Not to be instantiated on its own. Child classes inherit catalog-agnostic methods from this class.

_define_paths()[source]#

Define output file paths and path formats

abstract get_pointings_iterator()[source]#
abstract get_halos_iterator()[source]#
apply_calibration()[source]#

Subtract off the extra mass added when we raytraced through parameterized halos

get_mean_kappas()[source]#

Get the mean kappa contribution of LOS halos

load_mean_kappas_from_file()[source]#

Load the mean kappa contribution of LOS halos from the saved files from explicit computation

estimate_mean_kappas()[source]#

Estimate the mean kappas from a set of “training” pairs generated in another run