FlowChange.FlowChange#

FlowChange.FlowChange.py

flowchange_exclude_slice_impl(x, y, mi, yscale, debug=False)#

Exclude certain slices from the flow change analysis.

Parameters:
  • x (array-like) – The x-values of the curve.

  • y (array-like) – The y-values of the curve.

  • mi (MappingInfo) – The mapping information.

  • yscale (float) – The y-scale for likelihood computation.

  • debug (bool, optional) – If True, print debug information.

flowchange_exclude_slice(curve1, curve2, debug=False, return_fullinfo=False, counter=None)#

Exclude certain slices from the flow change analysis between two curves.

Parameters:
  • curve1 (Curve) – The first curve object.

  • curve2 (Curve) – The second curve object.

  • debug (bool, optional) – If True, print debug information.

  • return_fullinfo (bool, optional) – If True, return full information including segments and statistics.

  • counter (list, optional) – A list to keep track of the number of analyses performed.

  • return_firstinfo (bool, optional) – If True, return initial information including mapping info and yscale.

Returns:

If return_fullinfo is False, returns ((i, j), judge_info). If return_fullinfo is True, returns ((i, j), judge_info, segments, (M_lb, M_ub), std).

Return type:

tuple