diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-01 14:54:04 +0200 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-03 01:48:35 +0200 |
| commit | 17e0fa3c30fdea1fada9c4c1defaaa7dc1aca58e (patch) | |
| tree | 4ce4188655faa13c9526f27c8f641968e84be9f1 | |
| parent | 8c2b094dd66a239968995b72702281aa37e8c1e2 (diff) | |
openturns: Add python-otpod.
* guix-science/packages/openturns.scm (python-otpod): New variable.
| -rw-r--r-- | guix-science/packages/openturns.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/guix-science/packages/openturns.scm b/guix-science/packages/openturns.scm index 4f6c116..24abdc8 100644 --- a/guix-science/packages/openturns.scm +++ b/guix-science/packages/openturns.scm | |||
| @@ -3,13 +3,16 @@ | |||
| 3 | (define-module (guix-science packages openturns) | 3 | (define-module (guix-science packages openturns) |
| 4 | #:use-module (gnu packages algebra) | 4 | #:use-module (gnu packages algebra) |
| 5 | #:use-module (gnu packages boost) | 5 | #:use-module (gnu packages boost) |
| 6 | #:use-module (gnu packages check) | ||
| 6 | #:use-module (gnu packages machine-learning) | 7 | #:use-module (gnu packages machine-learning) |
| 7 | #:use-module (gnu packages maths) | 8 | #:use-module (gnu packages maths) |
| 8 | #:use-module (gnu packages mold) | 9 | #:use-module (gnu packages mold) |
| 9 | #:use-module (gnu packages multiprecision) | 10 | #:use-module (gnu packages multiprecision) |
| 10 | #:use-module (gnu packages oneapi) | 11 | #:use-module (gnu packages oneapi) |
| 11 | #:use-module (gnu packages python) | 12 | #:use-module (gnu packages python) |
| 13 | #:use-module (gnu packages python-build) | ||
| 12 | #:use-module (gnu packages python-xyz) | 14 | #:use-module (gnu packages python-xyz) |
| 15 | #:use-module (gnu packages statistics) | ||
| 13 | #:use-module (gnu packages swig) | 16 | #:use-module (gnu packages swig) |
| 14 | #:use-module (gnu packages xml) | 17 | #:use-module (gnu packages xml) |
| 15 | #:use-module (guix-science packages statistics) | 18 | #:use-module (guix-science packages statistics) |
| @@ -362,3 +365,42 @@ optimization problems.") | |||
| 362 | (description | 365 | (description |
| 363 | "This package provides a module for OpenTURNS for support vector machine.") | 366 | "This package provides a module for OpenTURNS for support vector machine.") |
| 364 | (license license:lgpl3))) | 367 | (license license:lgpl3))) |
| 368 | |||
| 369 | (define-public python-otpod | ||
| 370 | (package | ||
| 371 | (name "python-otpod") | ||
| 372 | (version "0.6.14") | ||
| 373 | (source | ||
| 374 | (origin | ||
| 375 | (method git-fetch) | ||
| 376 | (uri (git-reference | ||
| 377 | (url "https://github.com/openturns/otpod") | ||
| 378 | (commit (string-append "v" version)))) | ||
| 379 | (file-name (git-file-name name version)) | ||
| 380 | (sha256 | ||
| 381 | (base32 "1czg7z27zy0plp7fqkadm3d4rsss5vkldxnpxwf43xqimmn30kna")))) | ||
| 382 | (build-system pyproject-build-system) | ||
| 383 | (arguments | ||
| 384 | (list | ||
| 385 | #:test-flags | ||
| 386 | #~(list | ||
| 387 | ;; Requires nbconvert. | ||
| 388 | "--ignore=test/test_notebook.py"))) | ||
| 389 | (propagated-inputs (list openturns python-decorator python-matplotlib | ||
| 390 | python-scikit-learn python-statsmodels)) | ||
| 391 | (native-inputs (list python-pytest python-setuptools)) | ||
| 392 | (home-page "https://openturns.github.io/otpod/master/") | ||
| 393 | (synopsis "Probability of detection for OpenTURNS") | ||
| 394 | (description | ||
| 395 | "This package enables to build Probability of Detection (POD) curves from | ||
| 396 | Non Destructive Test. The curves are built using parametric models: univariate | ||
| 397 | linear regression, quantile regression, kriging and polynomial chaos. Analysis | ||
| 398 | can be run in order to test the linear regression hypothesis. | ||
| 399 | |||
| 400 | PoD can be built from a set of data or directly from a given physical model that | ||
| 401 | simulate the Non Destructive Test. In this case, the design of experiments is | ||
| 402 | defined iteratively. | ||
| 403 | |||
| 404 | Sensitivity analysis can be also be performed. The aggregated Sobol indices | ||
| 405 | are available as well as the perturbation law indices.") | ||
| 406 | (license license:lgpl3))) | ||
