captest.calcparams.spectral_factor_firstsolar
- captest.calcparams.spectral_factor_firstsolar(data, precipitable_water=None, absolute_airmass=None, spectral_module_type='cdte', verbose=True)
First Solar spectral correction factor.
Wraps
pvlib.spectrum.spectral_factor_firstsolar().spectral_module_typedefaults to'cdte'but can be overridden via acd.spectral_module_typeattribute whichcustom_paramauto-injects when the kwarg is left unset.CapTestpropagates itsspectral_module_typeparam onto both CapData instances atsetup().The kwarg is named
spectral_module_type(notmodule_type) to avoid collisions with themodule_typekwarg used bybom_temp()andcell_temp(), which expects values like'glass_cell_poly'rather than the pvlib First Solar module-type strings.- Parameters:
data (DataFrame) – DataFrame containing the precipitable-water and absolute-airmass columns.
precipitable_water (str) – Column name for precipitable water in cm.
absolute_airmass (str) – Column name for absolute airmass.
spectral_module_type (str, default 'cdte') – Passed through to
pvlib.spectrum.spectral_factor_firstsolar()as itsmodule_typeargument.verbose (bool, default True) – Set to False to suppress the explanatory print message.
- Returns:
Spectral correction factor indexed like
data.index.- Return type:
Series