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 1.0.3

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 1.0.3
File Size Uploaded Provenance Actions
mosaictools-1.0.3.tar.gz 19.5 kB With provenance Details for mosaictools-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 42.5 kB

Release files / mosaictools-1.0.3.tar.gz

Download URL mosaictools-1.0.3.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
837f9ce54b6c798626df4c2b5b001ee021722321efa2fd3602586f4ece93aea9
BLAKE2b-256 checksum
How to use checksums
077849acf5f088e2e5fc4a56c0f5d44feac81877926417848a74ec11d26e772d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

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

Download URL mosaictools-1.0.3-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f9e43aff23895e764cfb23a7c57dab105de10454e3cff29b1d6a39175b45d03
BLAKE2b-256 checksum
How to use checksums
58d7cbe9cb76d1cdc02a491c0da0d1cf6aed32dd164f7376a2a0b9bea3143a0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Security for mosaictools 1.0.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mosaictools-1.0.3.tar.gz

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 Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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