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.4

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.4
File Size Uploaded
mosaictools-0.2.4.tar.gz 14.1 kB Details

Built distribution (wheel)

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

Total release size: 30.4 kB

Release files / mosaictools-0.2.4.tar.gz

Download URL mosaictools-0.2.4.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff883733f88cc61cd85e0fce3fe120551ffa978214564f3af0847d2c8e7f7ab8
BLAKE2b-256 checksum
How to use checksums
9ab92fe15a4cedd91fbbc04426d5c0d3df1d80c68b8403ccc164eacf4c1d2031
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.4-py3-none-any.whl

Download URL mosaictools-0.2.4-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0599220460b6785f3f9ecc98c57de6c3dcf768512cb9f9ca588533375870cc7d
BLAKE2b-256 checksum
How to use checksums
00c28c74adab753680660e1297700ee99c4205c2eb07bcb5f5456afd7d97ad3e
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

0.2.6

2 release files

This release

0.2.4 This release

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