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.
Metadata
Release files for amisc 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amisc-0.8.1.tar.gz | 140.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amisc-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 253.9 kB
Release files / amisc-0.8.1.tar.gz
| Download URL | amisc-0.8.1.tar.gz |
|---|---|
| Size | 140.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f8eb8403e0017aa56e08cca6b7a46f71321dce5c35b45416145934ae828b471
|
|
BLAKE2b-256 checksum How to use checksums |
823ab04a2a3cbabb32e82d2b2abda9981a220381b22cb15a916b0e7960890241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logRelease files / amisc-0.8.1-py3-none-any.whl
| Download URL | amisc-0.8.1-py3-none-any.whl |
|---|---|
| Size | 113.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64af8d5dee928fd43455db94aac15ae188ee63a2aca2beb0b9bc4cd1a7218416
|
|
BLAKE2b-256 checksum How to use checksums |
d4d6492343041a9ceff18e5d63af391f92cf0570458da881bfb71f313895e837
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency log