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.2.tar.gz (87.5 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.2-py3-none-any.whl (90.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forcefinder-0.2.2.tar.gz
  • Upload date:
  • Size: 87.5 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.2.tar.gz
Algorithm Hash digest
SHA256 471a631c07322797210e1b00caf5489242621344e8591dc0bc1749ee39dc6155
MD5 61720bb5409742faac872b555b934519
BLAKE2b-256 ddd4d328df258195a1d7671fa8415d9d16d819f727905e759063e7b26e44e526

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcefinder-0.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: forcefinder-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 90.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c09a257432376c25f3c8332d846e2989fe00dd01074843f0b8300cb0c89cb4
MD5 250a3e065cbea4c68c04e40d7cd858d6
BLAKE2b-256 4edefa38281dbdd419f8f6ae47d6ef1c7a4512035221f826992d7d03ed31a1b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for forcefinder-0.2.2-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