grasp2alm.BeamPolar.to_map#
- BeamPolar.to_map(nside, nstokes=3, outOftheta_val=-1.6375e+30, interp_method='linear') BeamMap[source]#
Convert the
BeamPolarto aBeamMap.- Parameters:
nside (int) – The nside parameter for the HEALPix map.
nstokes (int) – Number of Stokes parameters.
outOftheta_val (float) – Value to fill outside the valid theta range.
interp_method (str) – Interpolation method to use. Default is ‘linear’. Supported are ‘linear’, ‘nearest’, ‘slinear’, ‘cubic’, ‘quintic’ and ‘pchip’.
- Returns:
A new instance of
BeamMaprepresenting the beam map.- Return type: