dreye.govardovskii2000_template#

dreye.govardovskii2000_template(wavelengths, alpha_max, A_alpha=69.7, a_alpha1=0.8795, a_alpha2=0.0459, a_alpha3=300.0, a_alpha4=11940.0, B_alpha=28.0, b_alpha=0.922, C_alpha=-14.9, c_alpha=1.104, D_alpha=0.674, A_beta=0.26, beta_max1=189.0, beta_max2=0.315, d_beta1=-40.5, d_beta2=0.195)[source]#

Calculate Opsin template according to Govardovskii et al (2000).

Parameters:
wavelengthsnp.ndarray

The wavelength array.

alpha_maxUnion[float, np.ndarray]

The wavelength peak of each filter.

A_alphaUnion[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 69.7

a_alpha1Union[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 0.8795

a_alpha2Union[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 0.0459

a_alpha3Union[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 300

a_alpha4Union[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 11940

B_alphaUnion[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 28

b_alphaUnion[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 0.922

C_alphaUnion[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is -14.9

c_alphaUnion[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 1.104

D_alphaUnion[float, np.ndarray], optional

Relates to the width and shape of the alpha band, default is 0.674

A_betaUnion[float, np.ndarray], optional

Determines the proportion of the beta band, default is 0.26

beta_max1Union[float, np.ndarray], optional

Relates to the peak and shape of the beta band, default is 189

beta_max2Union[float, np.ndarray], optional

Relates to the peak and shape of the beta band, default is 0.315

d_beta1Union[float, np.ndarray], optional

Relates to the peak and shape of the beta band, default is -40.5

d_beta2Union[float, np.ndarray], optional

Relates to the peak and shape of the beta band, default is 0.195

Returns:
templatesnp.ndarray of shape (n_filters, n_wls)

The filter templates as a numpy ndarray.

References

[1]

Govardovskii, V. I., Fyhrquist, N., Reuter, T., Kuzmin, D. G., & Donner, K. In search of the visual pigment template. Visual neuroscience, 17(4), 509-528, 2000.