Skip to main content

Modeling and optimization of piezoresistive and piezoelectric sensors and actuators

Project description

piezod

Modeling and optimization of piezoresistive and piezoelectric sensors and actuators.

Installation

pip install piezod

For development:

git clone https://github.com/MicrosystemsLab/PiezoD.git
cd PiezoD/python
uv sync

Usage

from piezod import CantileverEpitaxy

# Create cantilever and set geometry
c = CantileverEpitaxy()
c.l = 300e-6  # length: 300 um
c.w = 44e-6   # width: 44 um
c.t = 89e-9   # thickness: 89 nm
c.fluid = "water"

# Calculate properties
print(f"Stiffness: {c.stiffness() * 1e3:.3f} mN/m")
print(f"Resonant frequency: {c.omega_vacuum_hz() / 1e3:.1f} kHz")
freq_hz, Q = c.omega_damped_hz_and_Q()
print(f"Damped frequency: {freq_hz / 1e3:.1f} kHz, Q = {Q:.1f}")

Run the example:

uv run python examples/quickstart.py

Development

Install dependencies:

uv sync

Run tests:

uv run pytest

Lint and format:

uvx ruff check src tests --fix && uvx ruff format src tests

Type check:

uvx ty check src

Documentation

See the main project documentation at github.com/MicrosystemsLab/PiezoD.

Citation

If you use piezod in your research, please cite:

Joseph C. Doll, Sung-Jin Park and Beth L. Pruitt Design optimization of piezoresistive cantilevers for force sensing in air and water Journal of Applied Physics 106.6 (2009): 064310-064310.

License

GPL-3.0-or-later

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

piezod-0.10.1.tar.gz (68.4 MB view details)

Uploaded Source

Built Distribution

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

piezod-0.10.1-py3-none-any.whl (68.4 MB view details)

Uploaded Python 3

File details

Details for the file piezod-0.10.1.tar.gz.

File metadata

  • Download URL: piezod-0.10.1.tar.gz
  • Upload date:
  • Size: 68.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for piezod-0.10.1.tar.gz
Algorithm Hash digest
SHA256 f3395e91dc71637c8cef28d529981d8fc70daedece8a1491c700056709faf349
MD5 72c41702ef625b5ed225ac10958f8b13
BLAKE2b-256 abc8c3eaa92a9c7f33a22472db866ba33f5cc20bd40c059298ee11574c9cb7c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for piezod-0.10.1.tar.gz:

Publisher: publish.yml on MicrosystemsLab/PiezoD

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

File details

Details for the file piezod-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: piezod-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 68.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for piezod-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30363b3d8df869662ed624ca5cd181f11c619b0018f675cfddab6b3dd68515b0
MD5 f59a76f7861c7246d47e99ce74785271
BLAKE2b-256 0bb15748ce9e52bd13d74e31d4d1f5299450c40565742c4976d63e4120e0bd3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for piezod-0.10.1-py3-none-any.whl:

Publisher: publish.yml on MicrosystemsLab/PiezoD

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