API Reference#
Main functions#
|
The function to convert \(C_{l}\) to \(D_{l}\) i.e. |
|
The function to convert \(D_{l}\) to \(C_{l}\) i.e. |
|
Calculate elliptical beam profile. |
|
This function estimates the bias on the tensor-to-scalar ratio due to pointing systematics This function based on the paper: https://academic.oup.com/ptep/article/2023/4/042F01/6835420, P88, Sec. |
|
This function generates the CMB map used in the map base simulation of litebird_sim. |
|
Generate the maps with the lock file |
This function generates color scheme which is often used Planck paper. |
|
|
This function generates DataFrame which is used for FGBuster as instrument from IMo. |
|
This function loads the fiducial CMB power spectrum used in the map base simulation of litebird_sim. |
|
Read the scan fields data of a detector from a HDF5 file |
|
Simulate the bandpass mismatch systematics. |
|
Simulate the differential gain systematics for each channel The map-making is performed for each detector in the channel |
|
Simulate the differential pointing systematics for each channel The map-making is performed for each detector in the channel |
|
Simulate the noise for each channel |
Classes#
|
Configuration class for the simulation. |
|
Convolver class for spin map convolution |
|
Class to store the field data of detectors |
Class to store the scan fields data of detectors |
|
|
Class to store the signal fields data of detectors |
Systematics class for the simulation |
Methods#
Calculate \(b_{lk}\) values for convolution integrals. |
|
|
Calculate spherical harmonic expansion coefficients for spin k maps. |
Convert \(E\) and \(B\) convention to spin convention. |
|
Get the complex conjugate of the field |
|
|
Get the covariance matrix of the detector in mdim`x`mdim matrix form |
|
Generate observed noise map with the noise PDF. |
|
Generate probability density function (PDF) of the noise. |
|
Get the cross-link of the detector for a given spin number |
Initialize the scan fields data |
|
|
Load the scan fields data of a channel from the directory containing the HDF5 files |
|
Load the scan fields data of a detector from a HDF5 file |
|
Load the scan fields data of all the channels in the FPU from the directory containing the HDF5 files |
|
Load the scan fields data of a detector from a HDF5 file |
|
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. |
Transform Top detector cross-link to Bottom detector cross-link It assume top and bottom detector make a orthogonal pair. |
|
Get the absolute pointing field of the detector |
|
Get the bandpass mismatch field of the detector The formalism is based on the paper by Duc Thuong Hoang et al., 2017, JCAP, DOI: 10.1088/1475-7516/2017/12/015, Sec. |
|
Build the information to solve the linear system of map-making This method has to be called before |
|
Get the absolute pointing field of the detector |
|
|
Get the differential gain field of the detector |
Get the differential pointing field of the detector |
|
Get the elliptical beam convolved field |
|
Extract I, Q and U maps from the signal fields |
|
|
Multiply the scan fields and signal fields to get the detected fields by given cross-linking |
|
Get the field of the given spin moment |
|
Get the HWP instrumental polarization field of the detector |
|