Efficient framework for building surrogates of multidisciplinary systems using the adaptive multi-index stochastic collocation (AMISC) technique.
Project description
Efficient framework for building surrogates of multidisciplinary systems using the adaptive multi-index stochastic collocation (AMISC) technique.
⚙️ Installation
Ensure you are using Python 3.11 or later. You can install the package from PyPI using pip:
pip install amisc
If you are using pdm in your own project, then you can use:
pdm add amisc
# Or in editable mode from a local clone...
pdm add -e ./amisc --dev
📍 Quickstart
import numpy as np
from amisc import System
def fun1(x):
y = x * np.sin(np.pi * x)
return y
def fun2(y):
z = 1 / (1 + 25 * y ** 2)
return z
system = System(fun1, fun2)
system.inputs()['x'].domain = (0, 1) # set domain of surrogate for `x`
system.outputs()['y'].domain = (0, 1) # set domain of surrogate for `y`
system.fit()
x_test = system.sample_inputs(10)
y_test = system.predict(x_test)
🏗️ Contributing
See the contribution guidelines.
📖 Reference
AMISC paper [1].
Made with the copier-numpy template.
Project details
Release history Release notifications | RSS feed
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 amisc-0.7.1.tar.gz.
File metadata
- Download URL: amisc-0.7.1.tar.gz
- Upload date:
- Size: 132.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63f373bf2c139ff0c3e01199105ce31266a91622e24868165191676077b7ed19
|
|
| MD5 |
96368e4de258cd8f15b4d40cd64f2b35
|
|
| BLAKE2b-256 |
f006986857abac26d156eb97b54f4170ddf82ba75e50e04da48f95497a3e0673
|
Provenance
The following attestation bundles were made for amisc-0.7.1.tar.gz:
Publisher:
deploy.yml on eckelsjd/amisc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amisc-0.7.1.tar.gz -
Subject digest:
63f373bf2c139ff0c3e01199105ce31266a91622e24868165191676077b7ed19 - Sigstore transparency entry: 165087287
- Sigstore integration time:
-
Permalink:
eckelsjd/amisc@00a4927a3eefea2bdd5b198c57877c48adb1c0b3 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/eckelsjd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@00a4927a3eefea2bdd5b198c57877c48adb1c0b3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file amisc-0.7.1-py3-none-any.whl.
File metadata
- Download URL: amisc-0.7.1-py3-none-any.whl
- Upload date:
- Size: 110.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a52d6bc6d920c4ba204a820bbd2d925ad0cd0c02e9a38c4339f89dd3662021c1
|
|
| MD5 |
f36d9c3c312a70a35f544bd46af3baea
|
|
| BLAKE2b-256 |
96cd2f565dc42c21d4e67fdc92f3ab4cdadccdc7ddbe33b82fe5462e1d16eb32
|
Provenance
The following attestation bundles were made for amisc-0.7.1-py3-none-any.whl:
Publisher:
deploy.yml on eckelsjd/amisc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amisc-0.7.1-py3-none-any.whl -
Subject digest:
a52d6bc6d920c4ba204a820bbd2d925ad0cd0c02e9a38c4339f89dd3662021c1 - Sigstore transparency entry: 165087288
- Sigstore integration time:
-
Permalink:
eckelsjd/amisc@00a4927a3eefea2bdd5b198c57877c48adb1c0b3 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/eckelsjd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@00a4927a3eefea2bdd5b198c57877c48adb1c0b3 -
Trigger Event:
push
-
Statement type: