Skip to main content

mosaictools

DOI PyPI - Version

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 article: A novel approach to surrogate modelling of modal properties: Mode-shape-adapted input parameter domain cutting

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.

Metadata

Release files for mosaictools 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mosaictools 0.2.6
File Size Uploaded
mosaictools-0.2.6.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mosaictools 0.2.6
File Interpreter ABI Platform
mosaictools-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 30.5 kB

Release files / mosaictools-0.2.6.tar.gz

Download URL mosaictools-0.2.6.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d4fe9a8ae4c1dad146a8410c6644a93fcb87b5dfb5c7461e064c1f4f04f0591a
BLAKE2b-256 checksum
How to use checksums
1a4c366f0212bf3768da30c57d8cb2c2df8ad84ee107a2476021c13d9a108d31
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 Sep 23, 2026.

Transparency log

Release files / mosaictools-0.2.6-py3-none-any.whl

Download URL mosaictools-0.2.6-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9d40fea59fb38cc67ed4cea6a4f3e1cacad4238d78403595d5fe1af49ec4aab
BLAKE2b-256 checksum
How to use checksums
26f201f26b7ca7c867bddc57bde7316fa80f0fd80f9658e35a4eca4eb3098014
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 Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.8

2 release files

0.2.7

2 release files

This release

0.2.6 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page