beam_settings

API documentation for beam_settings.c.

Functions to calculate the parallactic angle, and fill in primary beam settings requested for the simulation, based on settings in woden_settings and the sky model cropped_src

Functions

beam_settings_t *fill_primary_beam_settings(woden_settings_t *woden_settings, double *lsts)

Given the settings specified in woden_settings, populate a beam_settings_t struct with appropriate attributes to be used in primary beam modelling.

Not much doing here, just sets up the beam_settings_t struct with some useful values.

Parameters:
  • *woden_settings[in] A populated woden_settings_t struct

  • *lsts[in] All local sidereal times in the simulation

Returns:

beam_settings - a populated beam_settings_t struct containing attributes necessary to simulate the requested beam response