On this page, we give detailed overviews of the options and ins-and-outs for defining source and atmosphere models.
An astronomical source in gateau is a 3-dimensional array of specific intensities \(I_\nu\), defined on an azimuth axis \(\phi\), an elevation axis \(\theta\), and a spectral axis \(\nu\). All three arrays defining the axes must be regularly spaced, and \(I_\nu\) must be arranged such that the slowest axis is \(\phi\), the medium axis is \(\theta\), and the fast axis represents \(\nu\). Let the sizes of the azimuth, elevation, and spectral arrays be denoted by \(N_\phi\), \(N_\theta\), and \(N_\nu\). Then, the size of \(I_\nu\) must be \(N_\phi\times N_\theta\times N_\nu\). The azimuth and elevation are defined in the horizontal frame, and not in right ascension and declination (see here why not). This means that the source in gateau is stationary on the sky throughout the simulation, assuming perfect source tracking. However, pointing errors can be emulated using scan patterns. It is important that the CMB monopole term is not added to the source cube. gateau will add this internally later in the simulation. However, adding higher \(l\) terms to the source cube is fine.
The source cube \(I_\nu\) is converted to a spectral power cube \(P_\nu\) by convolving \(I_\nu(\phi,\theta)\) with the telescope response pattern \(F(\phi,\theta)\) and multiplying by the physical surface area \(A_\mathrm{p}\) of the telescope primary aperture:
\[ P_{\nu}(\phi,\theta) = A_\mathrm{p}\iint I_\nu(\phi',\theta')F(\phi-\phi',\theta-\theta')\cos(\theta')\mathrm{d}\theta'\mathrm{d}\phi'. \]
The telescope response pattern is calculated by taking the 2-dimensional Fourier transform of the tapered illumination pattern in the telescope primary aperture. The illumination pattern is assumed to be a circularly symmetric Gaussian, defined by the aperture radius \(R_\mathrm{tel}\) and the edge taper level \(t_\mathrm{edge}\) in decibels:
\[ A(l,m) = \begin{cases} \exp\left( -\frac{\lambda^2(l^2+m^2)}{R_\mathrm{tel}}2\log_{10}(-\frac{t_\mathrm{edge}}{20}) \right) & \text{if $\lambda^2(l^2+m^2)<R^2_\mathrm{tel}$},\\ 0 & \text{else}, \end{cases} \]
where \(l,m\) are the \(x,y\) coordinates in the aperture in units of wavelength \(\lambda\).
gateau contains a multi-threaded utility function for this, called convolve_source_cube(). The documentation can be found in the public utility functions API reference.
The convolution is carried out assuming the background outside of the limits of the source is 0. This is not a real problem when the source is relatively contained within the source cube. But, when the source is not contained within the source cube, the outer parts of the convolved source cube artificially approach 0 even though the very extended source does not go to 0. In this case, caution must be excercised, and only the central region should be used for analysis or reduction. The full, extended source can be observed by mosaicking multiple gateau simulations and changing the telescope pointing offset of gateau for each simulation, traversing the source.
We chose to not implement scanning the source in radec coordinates, because this introduces a large number of parameters that must be specified. For example, the time, date, location, and altitude of the observatory must be specified. This was undesirable from a user point of view, as we strove to keep the input parameter set small. However, we do recognize the value of scanning in radec coordinates. Therefore, it will be future work.
The atmosphere model in gateau are 2-dimensional screens generated by ARIS. These screens contain the extra path length (EPL) due to scattering in the atmosphere and this can be converted to a precipitable water vapour (PWV) value by assuming the EPL is solely due to water vapour and that the water vapour can be described as an ideal gas:
\[ \mathrm{PWV}(x,y) = \frac{\mathrm{EPL}(x,y)}{6.587} + \mathrm{PWV}_0, \]
where PWV \(_0\) is an average PWV value around which the fluctuations take place. Note that it is possible to set PWV \(_0\) to a single value, but it is also possible to monotonically vary PWV \(_0\) over the simulation in a linear fashion, by passing a 2-tuple (PWV \(_{0,\mathrm{start}}\), PWV \(_{0,\mathrm{end}}\)). In the latter case, gateau sets the PWV at the start to the first value in the tuple, and linearly adjusts PWV \(_0\) so that at the end of the simulation, it has reached the second value in the tuple.
The screens, which must be generated by the user themselves, must also be convolved with the illumination pattern of the primary. This captures the effect of smoothing the atmosphere screen with the near-field beam, which is very similar to the aperture ditribution. gateau again contains a multi-threaded function for this called prep_atm_ARIS(). The documentation can be found in the public utility functions API reference.