ska_ost_senscalc.common.beam

Module holding functions useful to the MidCalculator

ska_ost_senscalc.common.beam.calculate_weighting(weighting_input: WeightingInput) WeightingResult[source]

A function to calculate weighting factor, surface brightness sensitivity conversion factor, beam size and confusion noise based on a weighting and confusion noise lookup tables. If multiple frequencies are specified, then SBS conversion factor, beam size and confusion noise are returned for each of the frequencies.

Parameters:

weighting_input – WeightingInput structure containing all the parameters required to filter the lookup tables with and the declination and frequenc(y/ies) used in the calculations.

Returns:

WeightingResult structure containing the weighting factor, SBS conversion factor(s), confusion noise(s) (for Mid and Low) and beam size(s)