Skip to main content

Surrogate modelling of modal properties using MOSAIC method

Project description

mosaictools

A Python package for surrogate modeling of modal properties using the Mode-Shape-Adapted Input parameter domain Cutting (MOSAIC) method.

Overview

The package is designed for structural dynamics workflows where mode degeneration effects (for example mode crossing, veering, or coalescence) make direct surrogate modeling difficult. MOSAIC addresses this by splitting the parameter domain into modal subdomains and fitting local generalized Polynomial Chaos Expansion (gPCE) models.

Reference preprint: MOSAIC method

Installation

Install from PyPI:

pip install mosaictools

Features

  • Global multi-mode surrogate model through Mosaic.
  • Automatic mode-wise subdomain discovery from eigenvector similarity (MAC-based clustering).
  • Local frequency and eigenvector approximation in each subdomain.
  • Built-in classifier support:
    • classification_method='svc' (scikit-learn SVC)
    • classification_method='custom' (any compatible classifier instance)
  • K-fold cross-validation helper and modal error metrics.
  • Model persistence to .msic files.

Demo Notebook and Data

A complete demonstration is included in:

The corresponding example arrays are in:

License

This project is licensed under the MIT License. See LICENSE.

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

mosaictools-0.2.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

mosaictools-0.2.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file mosaictools-0.2.0.tar.gz.

File metadata

  • Download URL: mosaictools-0.2.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mosaictools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4b07b9327939e4b2b594d0e3c9c2a8b8ceb48d390314ff285e5b1a16789c2504
MD5 99d5df1acd81611724d14518e75e42f7
BLAKE2b-256 43e2bdf31ec0376d43c4c283ea4aea66d7e464f280a4a99343a2583cc550df82

See more details on using hashes here.

Provenance

The following attestation bundles were made for mosaictools-0.2.0.tar.gz:

Publisher: python-publish.yml on blazkurent/mosaictools

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

File details

Details for the file mosaictools-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mosaictools-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mosaictools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cac0577840d4e8f88328192ae919482d532681af8db0e948d170256cfe9b08d5
MD5 01f1bf5b21d79231524c68d862ed467a
BLAKE2b-256 839d20f184d7620e94902e94cb7270b1a2c5d7cba38208758adb55c493b62c97

See more details on using hashes here.

Provenance

The following attestation bundles were made for mosaictools-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on blazkurent/mosaictools

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