Currently, test MorphSqueeze uses fixed tolerances when validating interpolated and extrapolated results, which can be too strict or too loose for real data.
Proposed changes:
Add tolerance user input parameter.
After computing y_morph_out, compare the extrapolated segments to the target using the user’s tolerances and emit a warning if any point exceeds those thresholds.
Currently, test MorphSqueeze uses fixed tolerances when validating interpolated and extrapolated results, which can be too strict or too loose for real data.
Proposed changes:
Add tolerance user input parameter.
After computing
y_morph_out, compare the extrapolated segments to the target using the user’s tolerances and emit a warning if any point exceeds those thresholds.