sunpeek.core_methods.dcam_lite_collective.main.dcamyield_strategy_generator#
- sunpeek.core_methods.dcam_lite_collective.main.dcamyield_strategy_generator(array, reference_conditions_type, use_wind, settings, **kwargs)#
Create a D-CAM yield strategy for one strategy variant.
This delegates to
DCAMYieldStrategy.from_reference_conditionsto select the concrete implementation for the requested reference-condition mode.- Parameters:
array (
Array) – SunPeek array to analyze.reference_conditions_type (
ReferenceConditionsType) – Reference-condition mode used for 1N-to-2N collector parameter conversion.per_intervalcreates a strategy that converts parameters separately for each interval;fixedcreates a strategy that converts parameters once from all interval data.use_wind (
bool) – Whether wind speed is used during D-CAM data filtering.**kwargs – Additional settings forwarded to
DCAMYieldCheckSettingsthrough the strategy constructor.
- Returns:
Concrete D-CAM yield strategy for the requested variant.
- Return type:
- Raises:
ValueError – If
reference_conditions_typedoes not map to a supported strategy implementation.