Skip to content

v1.2.0

Latest

Choose a tag to compare

@benfulcher benfulcher released this 21 Oct 06:26
08b4b3b

catch22 v1.2.0

Adds three functions to the C API that expose the steps of catch22_compute_feature(), plus fixes and cleanup. Feature values are unchanged from v1.1.0.

  • catch22_zscore(y, n, z) z-scores a series exactly as catch22_compute() does (z may be y).
  • catch22_compute_feature_raw(y, n, i, &out) computes feature i on the input as given, without z-scoring or masking.
  • catch22_mask_value(i, n) returns the value feature i takes when masked.

Together these let wrappers z-score a series once and then compute features one at a time, giving exactly the values of catch22_compute() (#72).

Fixes: series with extreme scales (e.g., around 1e-200 or 1e200) no longer hang or crash. Where z-scoring overflows or underflows, features are NaN (or masked) (#72).

Cleanup: 23 functions left unused since v0.x were deleted (#70), and the sources were simplified (#71). The library no longer exports internal helpers such as histcounts, poly and filt. The headers DN_HistogramMode_5.h, DN_HistogramMode_10.h and butterworth.h were removed, and both histogram-mode features are now declared in DN_HistogramMode.h. The per-feature functions are implementation details: call the functions in catch22.h.

CI now builds and tests on 19 platform/compiler combinations (including MSVC and Windows on ARM), and checks every PR for bitwise-identical feature values (#75, #76).

Full changelog: v1.1.0...v1.2.0