GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Tags · fredericjs/surfalize
Tags
v0.18.3Add on_undefined keyword to Str/Sal for border-touching regions
When the autocorrelation does not decay below the threshold within the
evaluation area in some direction (e.g. along the lamellae of a 1D or
2-beam DLIP structure), Str is undefined. Previously it always returned
NaN with a warning. Add an on_undefined keyword to choose the behaviour:
- 'nan' (default): return NaN with a warning, as before
- 'bound': return shortest / measured-longest as an upper bound on the
true Str, with a warning (the bound is field-size dependent)
- 'exception': raise CalculationError
_calculate_decay_lengths now returns the measured longest length together
with a flag indicating whether the region stays within the field, so the
bound is available to Str. Sal accepts the same keyword for the
fully-undersampled case, where 'bound' has no bounded fallback and behaves
like 'nan'. Surface.Sal/Str forward the keyword.
v0.18.0Fix flaky feature pit-curvature test on flat fields test_feature_peak_curvature_sign asserted Svc < 0 on bump_surface, whose field is flat around the bumps and therefore has no well-defined pit: its lowest point is a single pixel set by floating-point noise in the Gaussian tails (z.min ~ 1e-29). That pixel's location varies across platforms/BLAS; when it lands on the array border it is dropped as non-interior, leaving no curvatures and making Svc return nan (nan < 0 fails on CI). Assert Svc < 0 on the inverted surface instead, where the bumps become genuine concave dimples with well-defined interior pits, giving a robust, platform-independent Svc = -Spc. v0.17.1Fix ISO 25178-2 compliance of Abbott-Firestone and ACF parameters Align the stratified functional parameters, the autocorrelation-based parameters and the texture direction with ISO 25178-2 and MountainsMap: - Equivalent straight line (Sk/Rk family): use the secant only to locate the 40% central region per Annex B.1, then fit the line by least squares over that region instead of using the secant as the line. - Sample the material ratio curve at uniform material-ratio quantiles rather than equal-height histogram bins, removing a systematic bias in the stratified parameters. - Compute the autocorrelation as the unbiased linear (zero-padded, overlap-normalized) estimator instead of the circular one, removing the diagonal directional bias in Sal and Str. - Vectorize the angular spectrum for Std (orders of magnitude faster), calibrate frequencies in physical units and subtract the mean. Reference values in the parameter and profile tests are updated accordingly. v0.17.0Updated CI to Node 24 actions and Python 3.10-3.14 - Bumped actions/checkout to v5 and actions/setup-python to v6, which run on the Node 24 runtime (Node 20 is being deprecated by GitHub Actions) - Updated the test matrix to Python 3.10-3.14 and dropped 3.9 (end of life) - Updated requires-python to >=3.10 and the trove classifiers accordingly PreviousNext
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |