grasp2alm.BeamPolar.to_map

BeamPolar.to_map(nside, nstokes=3, outOftheta_val=-1.6375e+30, interp_method='linear')[source]

Convert the BeamPolar to a BeamMap.

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 BeamMap representing the beam map.

Return type:

BeamMap