ska_ost_senscalc.mid.api

These functions map to the API paths, with the returned value being the API response

Connexion maps the function name to the operationId in the OpenAPI document path

ska_ost_senscalc.mid.api.calculate(**kwargs)[source]

Function that GET requests to the /calculate endpoint are mapped to.

Sends the requests parameters to the service layer and builds a Response from the calculator output.

ska_ost_senscalc.mid.api.subarrays()[source]

Function that GET requests to the /subarrays endpoint are mapped to.

Returns a response containing a list of available subarrays

ska_ost_senscalc.mid.api.weighting(**kwargs)[source]

Function that GET requests to the /weighting endpoint are mapped to.

Sends the requests parameters to the service layer and builds a Response from the calculator output.