Metric support¶
Release 0.2.0 keeps the same deliberately conservative metric-support boundary as 0.1.0 while improving the execution engine around it.
Support summary¶
| Item | 0.2.0 status |
|---|---|
| Unique metric names in supplied catalogs | 104 |
| Reproducible metric names | 76 |
| Explicitly unsupported metric names | 28 |
| Supported catalog descriptors in full local regression | 430 / 430 |
| Reference comparisons in full local regression | 3,440 |
| Repository regression tolerance | atol=1e-3, rtol=1e-3 |
The package deliberately rejects definitions it cannot reproduce from the persisted raw signals.
The regression tolerance above is a repository validation threshold. It is not claimed to be an authoritative TWave production tolerance, rounding rule or per-metric engineering contract.
Supported calculation families¶
The reproducible catalog definitions include:
- acceleration, velocity and displacement overall RMS;
- spectrum maxima;
- 1X/2X/3X/4X/5X peak amplitudes where defined;
- RMS frequency/order bands;
- harmonic-family RMS;
- bearing-frequency families (
BPFI,BPFO,BSF,FTF) where catalog definitions provide the required parameters; - sideband RMS;
- waveform positive/negative peaks and peak-to-peak;
- waveform crest factor, kurtosis and skewness;
- envelope/demodulation metrics including
gE_rms,env_overall_rmsand related bearing families.
Unsupported phase metrics¶
The following families require complex spectrum / phase information that is not present in the magnitude-only persisted spectra used by the current package-side VibFrame contract:
peak_phase_1X*peak_phase_2X*peak_phase_3X*peak_phase_4X*peak_phase_5X*peak_phase_2xLinepeak_phase_BPFIpeak_phase_BPFOpeak_phase_BSFpeak_phase_FTFcross_phase_HA_1Xcross_phase_HA_2Xcross_phase_HV_1Xcross_phase_HV_2Xcross_phase_VA_1Xcross_phase_VA_2X
These definitions raise a controlled feature error instead of returning an approximation. Support remains deferred until an authoritative persisted complex/phase representation is available.
Unsupported cross-point ratios¶
Two catalog names use the statistic cross_point_ratio, but the supplied reference metric implementation does not contain an authoritative calculation:
axial_radial_ratio_1Xvertical_horizontal_ratio_1X
They remain unsupported in 0.2.0 rather than being approximated.
Runtime audit¶
Catalog support is ultimately descriptor-specific. Inspect an imported dataset directly:
from vibframe_anndata import audit_metric_catalog
statuses = audit_metric_catalog(adata)
supported = [s for s in statuses if s.supported]
unsupported = [s for s in statuses if not s.supported]
print(f"supported: {len(supported)}")
for status in unsupported:
print(status)
This is preferable to assuming that two similarly named metrics from different catalogs have identical contracts.
Units and external semantics¶
Catalog unit codes are preserved as supplied. The package does not silently reinterpret or convert catalog unit codes during feature calculation.
Release 0.2.0 separates three levels of authority:
- behavior implemented and regression-validated by the package;
- semantics inferred from persisted descriptors/reference material;
- authoritative producer/TWave contracts for engineering units, valid domains, preconditions and production tolerances.
The third level remains an external input and is not invented by the package.