pwrs.core.cpf_target_lam_event#
- pwrs.core.cpf_target_lam_event.cpf_target_lam_event(cb_data, cx)[source]#
Evaluate the CPF target-lambda event function.
Returns the signed distance between the current continuation parameter and the configured CPF stopping target. For full-curve tracing modes the target is derived from the sign of the natural parameter state.
- Parameters:
cb_data (dict) – CPF callback data struct.
cx (dict) – Current CPF state struct.
- Returns:
Event function value for target-lambda detection.
- Return type:
float