SZ¶
-
class
szpack_wrapper.SZ(cosmo=None)[source]¶ Bases:
objectThis class defines high level interface to call SZpack.
The SZpack works with the dimensionless (yet cosmology dependent) wavelength
xdefined as\[x \equiv \frac{h\nu}{k_BT_{CMB0}}\]wavelength_to_x()andx_to_wavelength()can be used to convert betweenxandQuantityinstance.- Parameters
- cosmo
Cosmology The cosmology to use.
default_cosmologyis used if not set.
- cosmo
Attributes Summary
Methods Summary
surface_brightness(self[, runmode, x, …])Compute the SZ surface_brightness.
wavelength_to_x(self, wavelength)Return the dimensionless wavelength.
x_to_wavelength(self, x)Return the wavelength as
Quantity.Attributes Documentation
-
cosmo¶
Methods Documentation
-
surface_brightness(self, runmode='3D', x=None, wavelength=None, **kwargs)[source]¶ Compute the SZ surface_brightness.
The input can be either given as the dimensionless
xor asQuantity.The output is the SZ surface brightness as
Quantity.The
runmodeandkwargsis passed to SZpack wrapper to execute the calculation.Refer to the README file of SZpack for more information of all run-modes supported and the associated arguments.