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

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.8
File Size Uploaded
mosaictools-0.2.8.tar.gz 12.9 kB Details

Built distribution (wheel)

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

Total release size: 29.3 kB

Release files / mosaictools-0.2.8.tar.gz

Download URL mosaictools-0.2.8.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cc7cb5ccbcb7d0846ef99f687ea06316adabcc7348ab513c6cd59a2192f4976c
BLAKE2b-256 checksum
How to use checksums
19b9d4a2f46fdc3a2ba5972170a3430a74081c17fa97c79f2b5b025c1d2e2f4e
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 Oct 15, 2026.

Transparency log

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

Download URL mosaictools-0.2.8-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a58f073f649ca9a4a005c1dbaad5755f6c7ca9ed4778d6aaf0e98d6ae0c58f1
BLAKE2b-256 checksum
How to use checksums
e906a9ccf741927f251228d9531710b91d80cf8571e955f2fd47adbca2ac07fd
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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.6

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