ska_ost_senscalc.mid.calculator

This module contains classes and methods for use in the SKA Sensitivity Calculator. It implements the preparation of both the integration and sensitivity inputs and then doing the calculations using them.

ska_ost_senscalc.mid.calculator.calculate_integration_time(params: IntegrationInput) Quantity[source]

Calculate the integration time (in seconds) required to reach the specified sensitivity.

Parameters:

params (IntegrationInput) – parameters prepared before using prepare prepare_integration_input function

Returns:

the integration time required

Return type:

astropy.units.Quantity

ska_ost_senscalc.mid.calculator.calculate_sensitivity(params: SensitivityInput) Quantity[source]

Calculate sensitivity in Janskys for a specified integration time.

Parameters:

params (SensitivityInput) – parameters prepared before using prepare prepare_sensitivity_input function

Returns:

the sensitivity of the telescope

Return type:

astropy.units.Quantity

ska_ost_senscalc.mid.calculator.prepare_integration_input(sensitivity: float, **kwargs) IntegrationInput[source]

Function prepares the integration input from a number of mandatory and optional parameters :return: input which can be used later to calculate the integration time :rtype: IntegrationInput

ska_ost_senscalc.mid.calculator.prepare_sensitivity_input(integration_time: float, **kwargs) SensitivityInput[source]

Function prepares the sensitivity input from a number of mandatory and optional parameters :return: input which can be used later to calculate the sensitivity :rtype: SensitivityInput