Skip to main content

An advanced inverse source estimation package for Python

Project description

Main Tests codecov

ForceFinder Logo

ForceFinder Inverse Source Estimation

This repository houses ForceFinder, which is a Python project that extends SDynPy (Structural Dynamics Python Libraries) with a comprehensive tool for inverse source estimation (ISE) tasks via frequency response function (FRF) matrix inversion. ForceFinder leverages an object oriented framework, where all the components of the ISE problem (e.g., the FRFs, responses, transformations, etc.) are stored in a so-called "SourcePathReceiver" object.

The main features of ForceFinder are:

  • Automated bookkeeping
    • Organizes FRF and response DOFs to be consistent for the source estimate
    • Manages sample splitting for training and validation response DOFs
    • Organizes and applies response and reference transformation matrices, as appropriate
    • Ensures consistent abscissa quantities
    • Etc.
  • Automatic recording keeping for the meta-data related to the inverse problem
  • Automatic regularization methods to mitigate overfitting

The SourcePathReceiver object has also been built into a Rattlesnake control law for random vibration control, meaning that the same exact code can be used in offline predictions and online control during a multiple-input/multiple-output (MIMO) vibration test. Note that the control law is included with this package for completeness, but are not imported to the Python environment when ForceFinder is used.

Documentation

The theory and API documentation provides useful information for theory and programming interface that is used in ForceFinder. Examples will be added to this documentation over time.

Goals

The ForceFinder project has two main goals:

  1. Advance the state of the art in ISE via FRF matrix inversion by creating a common framework to implement and review different ISE methods.
  2. Make it easier for non-expert practitioners to use advanced ISE tools through the creation of a simple object-oriented framework where ISE methods can be used with a simple method call.

Support

Please submit any bugs or feature requests into the Github issue tracker.

Project status

ForceFinder is currently under development and the current version should be treated as an "alpha" release. Breaking changes may be pushed to the develop and main branches without notice.

Installation and Usage

ForceFinder is available on PyPi and can be installed with:

pip install forcefinder

However, the package is under active develop and may see changes to the develop branch, which are not immediately pushed to the main branch (which is what is published to PyPi). Further, the demo and benchmark portions of the package are not published to PyPi. As such, it may be preferable to install ForceFinder from a GIT repository on the users local machine. The process for doing this is:

1. Clone the ForceFinder repository to your local machine via "Clone with SSH"
2. PIP install ForceFinder with the following commands (from the command prompt or terminal):
    - cd local_ForceFinder_repository (this is the filepath to the local repository)
    - pip install -e . (this will pip install the whole repository, the -e flag lets python know that the package is a git repo so it will see changes as they are made to the repo)

Developers may want to install the package with extra dependencies that run the tests and build the documentation. This can be done by modifying the pip command from the above process to:

pip install -e .[dev]

Once installed, ForceFinder can be imported with the following alias:

import forcefinder as ff

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forcefinder-0.2.0.tar.gz (91.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forcefinder-0.2.0-py3-none-any.whl (94.5 kB view details)

Uploaded Python 3

File details

Details for the file forcefinder-0.2.0.tar.gz.

File metadata

  • Download URL: forcefinder-0.2.0.tar.gz
  • Upload date:
  • Size: 91.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for forcefinder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ab7803931a84acd8e083a355048ceae684db9b1ba05395a3c3779807e93b3a95
MD5 d48dc0abce4d531323f71893fbafc75c
BLAKE2b-256 f3cbf86e42fd938b6ae5973ace7035272c825f815138bf1b4648905fe281f91f

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcefinder-0.2.0.tar.gz:

Publisher: publish.yml on sandialabs/forcefinder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file forcefinder-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: forcefinder-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 94.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for forcefinder-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c96f80fb7df66c9d780affa4a396c0d08fcc2a21d3ee1593ed0abb9b10fcd939
MD5 71c1d06a81575c638db0332d12eb2e1b
BLAKE2b-256 714250ab9b7fb80f3da1f820db47e1529d508a0c90c63c6853e59057a31ed235

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcefinder-0.2.0-py3-none-any.whl:

Publisher: publish.yml on sandialabs/forcefinder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page