calculate_varied_point_response

sofia_redux.scan.filters.filters_numba_functions.calculate_varied_point_response(min_fch, source_profile, response, source_norm)[source]

Calculate the point response for the varied filter.

The varied point response is given as:

response = (low_pass + high_pass) / source_norm

where

low_pass = sum_{0}^{min_fch-1}(source_profile) high_pass = sum_{min_fch}^{nf}(source_profile * response)

and nf is the number of frequencies in the response.

Parameters:
min_fchint

The frequency channel marking the high-pass filter time-scale.

source_profilenumpy.ndarray (float)

The source profile of shape (n_freq,).

responsenumpy.ndarray (float)

The filter response of shape (n_freq,).

source_normfloat

The source profile normalization constant.

Returns:
point_responsefloat

The point response for the varied filter.