sbm.ScanFields.map_make#

ScanFields.map_make(signal_fields: SignalFields, only_iqu=True, show_eq=False)[source]#

Get the output map by solving the linear equation \(Ax=b\) This operation gives us an equivalent result of the simple binning map-making approach.

Parameters:
  • signal_fields (SignalFields) – signal fields data of the detector

  • only_iqu (bool) – if True, return only I, Q and U map

  • show_eq (bool) – if True, display the equation

If only_iqu is True, the output map has [3, npix] shape. If only_iqu is False, the output map has [len(signal_fields.spin_n_basis), npix] shape.

Returns:

numpy array of maps[3,`npix`] or signal fields

Return type:

output (np.ndarray or SignalFields)