No project description provided
Project description
Spherical Harmonic Decomposition
This project contains a python class SHD that provides functionalities to perform Spherical Harmonic Decompositions on trajectories.
Features:
- Convert cartesian coordinates to spherical and vice versa.
- Load trajectory data from different file formats.
- Distribute trajectory points along a generated grid.
- Compute the spherical harmonic expansion of the trajectory.
- Compute tension and bending coefficients.
- Plot the spectrum of the spherical harmonic expansion.
Installation
The package can be installed using pip:
pip install sphericalHarmonicDecomposition
Requirements:
This class leverages several libraries including:
numpymatplotlibicosphereorthopolyMDAnalysisscipy
Make sure these libraries are installed to use this class effectively.
Usage:
To use the class, instantiate an object of SHD and then call the desired methods. For instance:
from sphericalHarmonicDecomposition import SHD
sph = SHD(name="SPH",
Lmin=2,Lmax=10,
expansionMode="abs",
radiusMode="expansion")
sph.loadSPtraj("traj.sp")
sph.generateIcosahedralGrid(2)
sph.distributeTrajPointsAlongGrid()
sph.sphericalHarmonicExpansion()
sph.compute()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphericalHarmonicDecomposition-1.0.3.tar.gz.
File metadata
- Download URL: sphericalHarmonicDecomposition-1.0.3.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5c12642df575739cd6e42ced81b40ed1c9617d938d2df2d23be2f669becb505
|
|
| MD5 |
f9a6167b14cd0ad803ebbc5ec267f378
|
|
| BLAKE2b-256 |
c2dd6b6cdc7a640b6a304afcb449da728f0ec7bb175d582d8ed9325628b04154
|
File details
Details for the file sphericalHarmonicDecomposition-1.0.3-py3-none-any.whl.
File metadata
- Download URL: sphericalHarmonicDecomposition-1.0.3-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f563fc5c365e23dad86436b30260ca7af71e1ef120d62f936dbc5f968b2a4e44
|
|
| MD5 |
02f26919662fc690d4443ca8fbfffe38
|
|
| BLAKE2b-256 |
17d343facfb3861d8312686205a49423e31cb6620b082b4e71b1eb3959771008
|