Mechanical lattices
Project description
PYLATT
Numerical models of mechanical lattices (truss/frame structures)
- Easy to use interface --- define only the nodes and beams in the irreducible unit cell.
- Calculation of phononic band diagrams --- with utilities to define the path along the edges of the Brillouin zone.
- Auto-diferentiable --- allowing the optimization of discrete metamaterials.
Installation
From Pypi
Simply run
pip install pylatt
If you want more numerical backends (pytorch, autograd and jax), including auto-differentiation and GPU acceleration, install the full version:
pip install pylatt[full]
From source
Clone the repository
git clone https://gitlab.com/benvial/pylatt.git
cd pylatt
Install the package locally
pip install -e .
For the full version:
pip install -e .[full]
From gitlab
Basic:
pip install -e git+https://gitlab.com/benvial/pylatt.git#egg=pylatt
Full:
pip install -e git+https://gitlab.com/benvial/pylatt.git#egg=pylatt[full]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylatt-1.0.0.tar.gz
(29.0 kB
view hashes)
Built Distribution
pylatt-1.0.0-py3-none-any.whl
(28.6 kB
view hashes)