StressPy: Geometric Stress Criterion (GSC)
stresspy is a reference Python implementation of the deterministic numerical core of the Geometric Stress Criterion (GSC). It decomposes model–data discrepancies into components that are locally accessible (tangent) and inaccessible (normal) through parameter variation.
1. Mathematical Background
At a specified parameter point $\hat{\theta}$, let $r = y - f(\hat{\theta})$ be the model–data discrepancy and $J = \left.\frac{\partial f}{\partial x}\right\vert{}_{\hat{\theta}}$ be the Jacobian with respect to parameter coordinates $x$.
After applying an observation-space whitening transformation $L$: $$r_W = Lr, \qquad J_W = LJ$$
If $U_r$ contains the retained left singular vectors of $J_W$, the orthogonal components are: $$r_{\parallel,W} = U_r U_r^\top r_W, \qquad r_{\perp,W} = r_W - r_{\parallel,W}$$
The reported stresses and normal fraction are: $$S_{\mathrm{total}} = \Vert{}r_W\Vert{}2^2, \quad S{\parallel} = \Vert{}r_{\parallel,W}\Vert{}2^2, \quad S{\perp} = \Vert{}r_{\perp,W}\Vert{}2^2, \quad F{\perp} = \frac{S_{\perp}}{S_{\mathrm{total}}}$$
The minimum-norm local repair vector $\Delta x$ satisfies: $$\Delta x = V_r \Sigma_r^{-1} U_r^\top r_W$$
Under the local linear approximation, $r - J \Delta x = r_\perp$.
2. Installation
pip install stresspy
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stresspy-0.0.1.tar.gz.
File metadata
- Download URL: stresspy-0.0.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d03ea5823d0d0849dc139c5a55bd7e62c7757f28f0da8f395966c0fc8e1576b8
|
|
| MD5 |
4ca75ddbd7bd705be4a12fb134966300
|
|
| BLAKE2b-256 |
d6c4fc8a794948a1a65d385e7550ee3b533a73eecc8e9e8e30a71c8455ee6060
|
File details
Details for the file stresspy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: stresspy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8088fa52d0603d84a3d80d37e94ae3645ce86bfe9d4195f7d33a133e607b65bd
|
|
| MD5 |
1ea297b3f8028952dba7fd764e2de4d1
|
|
| BLAKE2b-256 |
93b8a170a073fed72a03d117d2902714d45d858f135d3fb9e1de7d5dffa8e39e
|