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-learnSVC)classification_method='custom'(any compatible classifier instance)
- K-fold cross-validation helper and modal error metrics.
- Model persistence to
.msicfiles.
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.
Metadata
Release files for mosaictools 0.2.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 | |
|---|---|---|---|
| mosaictools-0.2.1.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mosaictools-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.6 kB
Release files / mosaictools-0.2.1.tar.gz
| Download URL | mosaictools-0.2.1.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49a30f1dc0e760a736b0e22960f315f4fafb99f2816d876707e28b184bd7d229
|
|
BLAKE2b-256 checksum How to use checksums |
15464e86265d18fa3d9b550fb40826ce27aca9100fc571577f55db6180607ad8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 27, 2026.
Transparency logRelease files / mosaictools-0.2.1-py3-none-any.whl
| Download URL | mosaictools-0.2.1-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b317b7639b588c1fdb01ba44dc755751d8e1a2b95f9e279acfaf94ee6531ca7
|
|
BLAKE2b-256 checksum How to use checksums |
ec63e6d634a1c916bac8e509e832a6fef1b57b28ff1662f5f5c8106f79e35e0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 27, 2026.
Transparency log