ska_ost_senscalc.mid.service

The service layer is responsible for turning validated inputs into the relevant calculation inputs, calling any calculation functions and collating the results.

ska_ost_senscalc.mid.service.get_calculate_response(params)[source]

Using the parameters of the query return the appropriate values for the calculation.

ska_ost_senscalc.mid.service.get_subarray_response()[source]

return the appropriate subarray objects

ska_ost_senscalc.mid.service.get_weighting_response(user_input: dict) WeightingResponse[source]

Using the parameters of the query return the appropriate values for weighting correction factor, synthesized-beam-sensitivity factor and beam shape.

Raises:

- None