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()
Metadata
Release files for sphericalHarmonicDecomposition 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphericalHarmonicDecomposition-1.0.3.tar.gz | 20.3 kB | Without provenance | Details for sphericalHarmonicDecomposition-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphericalHarmonicDecomposition-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for sphericalHarmonicDecomposition-1.0.3-py3-none-any.whl |
Total release size: 40.8 kB
Release files / sphericalHarmonicDecomposition-1.0.3.tar.gz
| Download URL | sphericalHarmonicDecomposition-1.0.3.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5c12642df575739cd6e42ced81b40ed1c9617d938d2df2d23be2f669becb505
|
|
BLAKE2b-256 checksum How to use checksums |
c2dd6b6cdc7a640b6a304afcb449da728f0ec7bb175d582d8ed9325628b04154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Release files / sphericalHarmonicDecomposition-1.0.3-py3-none-any.whl
| Download URL | sphericalHarmonicDecomposition-1.0.3-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f563fc5c365e23dad86436b30260ca7af71e1ef120d62f936dbc5f968b2a4e44
|
|
BLAKE2b-256 checksum How to use checksums |
17d343facfb3861d8312686205a49423e31cb6620b082b4e71b1eb3959771008
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Security for sphericalHarmonicDecomposition 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.