WebSkyCIB

class pysm3.WebSkyCIB(nside, websky_version='0.4', input_units='MJy / sr', max_nside=4096, interpolation_kind='linear', apply_SPT_correction=True, local_folder=None, map_dist=None)[source] [edit on github]

Bases: InterpolatingComponent

PySM component interpolating between precomputed maps

Load and interpolate WebSky CIB maps

Parameters:
nsidenside

target nside of the output maps

websky_versionstr

currently only 0.4 is supported

input_unitsstr

input units string, e.g. uK_CMB, K_RJ

max_nsideint

maximum nside at which the input maps are available at nside can be higher than this, but then PySM will use ud_grade to create maps at higher resolution.

interpolation_kindstr

See the docstring of InterpolatingComponent

apply_SPT_correctionbool

Apply the correction computed by comparison with the South Pole Telescope maps.

local_folderstr

Override the input maps folder

map_distMapDistribution

Required for partial sky or MPI, see the PySM docs

Methods Summary

get_filenames(path)

Get filenames for a websky version For a standard interpolating component, we list files in folder, here we need to know the names in advance so that we can only download the required maps.

read_map_by_frequency(freq)

Methods Documentation

get_filenames(path)[source] [edit on github]

Get filenames for a websky version For a standard interpolating component, we list files in folder, here we need to know the names in advance so that we can only download the required maps.

read_map_by_frequency(freq)[source] [edit on github]