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_conditions to 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_interval creates a strategy that converts parameters separately for each interval; fixed creates 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 DCAMYieldCheckSettings through the strategy constructor.

Returns:

Concrete D-CAM yield strategy for the requested variant.

Return type:

DCAMYieldStrategy

Raises:

ValueError – If reference_conditions_type does not map to a supported strategy implementation.