Skip to main content

Efficient framework for building surrogates of multidisciplinary systems using the adaptive multi-index stochastic collocation (AMISC) technique.

Project description

Logo pdm-managed Python version Copier PyPI build docs tests Code Coverage Algorithm 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amisc-0.7.2.tar.gz (133.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amisc-0.7.2-py3-none-any.whl (110.3 kB view details)

Uploaded Python 3

File details

Details for the file amisc-0.7.2.tar.gz.

File metadata

  • Download URL: amisc-0.7.2.tar.gz
  • Upload date:
  • Size: 133.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for amisc-0.7.2.tar.gz
Algorithm Hash digest
SHA256 b3d665966bb4077adcaecaccb71f75cc55e55c62ce74c79d5a4c9588e8b8bd13
MD5 72f71f5de533597203ca54bc67afbb46
BLAKE2b-256 6367f68df1f9714aac8836c529ffd20eb553cd7261bec9156c59350e0f33e266

See more details on using hashes here.

Provenance

The following attestation bundles were made for amisc-0.7.2.tar.gz:

Publisher: deploy.yml on eckelsjd/amisc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amisc-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: amisc-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 110.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for amisc-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e57c2a11ca02c81f40d9fe68d90545bb3210b1dfb96d9662bba506abc4f853
MD5 8f30bb8d11f3ff0650207cbd09c81603
BLAKE2b-256 7ed438a591dd32b03e6ea03ae2992ba2116fcf00fabd21a02cbc89012596344f

See more details on using hashes here.

Provenance

The following attestation bundles were made for amisc-0.7.2-py3-none-any.whl:

Publisher: deploy.yml on eckelsjd/amisc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page