dreye.stavenga1993_template#

dreye.stavenga1993_template(wavelengths, alpha_max, a_alpha=380.0, b_alpha=6.09, beta_max=350.0, A_beta=0.29, a_beta=247.0, b_beta=3.59)[source]#

Calculate opsin template according to Stavenga et al (1993).

Parameters:
wavelengthsnp.ndarray

The wavelength array.

alpha_maxUnion[float, np.ndarray]

The wavelength peak of each filter.

a_alphaUnion[float, np.ndarray], optional

Parameter related to the width and shape of the alpha band, default is 380.

b_alphaUnion[float, np.ndarray], optional

Parameter related to the width and shape of the alpha band, default is 6.09.

beta_maxUnion[float, np.ndarray], optional

The wavelength peak of the beta band, default is 350.

A_betaUnion[float, np.ndarray], optional

Parameter that determines the proportion of the beta band, default is 0.29.

a_betaUnion[float, np.ndarray], optional

Parameter related to the width and shape of the beta band, default is 247.

b_betaUnion[float, np.ndarray], optional

Parameter related to the width and shape of the beta band, default is 3.59.

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

The filter templates as a numpy ndarray.

References

[1]

D.G. Stavenga, R.P. Smits, B.J. Hoenders, Simple exponential functions describing the absorbance bands of visual pigment spectra, Vision Research, Volume 33, Issue 8, 1993.