Skip to main content

invQ

invQ is a Python package to calculate the angles of quaternions with respect to a reference quaternion considering the point group symmetry of the rigid body.

Quaternion

You may look at Wikipedia for details.

Contributor

Installation

Prerequisites

  1. python3 or higher
  2. rowan

Installation via pip

pip install pltRDF

Using source code

git clone https://github.com/sumitavakundu007/invQ.git
tar -xvf invQ-X.X.X
cd invQ-X.X.X
python3 setup.py install --user

Usage

from invQ import invQuat
invQuat("orientations.json", "equivQ.json")

You need to prepare 'orientations.json' and 'equivQ.json'

Sample format for 'orientations.json'

{
    "refQ" : [1, 0, 0, 0],   # The refernce quaternion which you want to use to calculate the angles
    "Orientations" : [[1, 0, 0, 0]]   # The quaternions of the rigid body 
}

Sample format for 'equivQ.json'

{
    "Equivalent_orientations" : [[1, 0, 0, 0]]   # Equivalent quaternions from the point group symmetry of the rigid body.
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

[MIT](https://choosealicense.com/licenses/mit/

Metadata

Release files for invQ 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invQ 0.1.1
File Size Uploaded Provenance Actions
invQ-0.1.1.tar.gz 3.5 kB Without provenance Details for invQ-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invQ 0.1.1
File Interpreter ABI Platform Actions
invQ-0.1.1-py3-none-any.whl Python 3 none any Details for invQ-0.1.1-py3-none-any.whl

Total release size: 7.5 kB

Release files / invQ-0.1.1.tar.gz

Download URL invQ-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f971513de9f93ebd571d5aabd7f7eb631a7a9499a0688fd533c4c5b3870c28dc
BLAKE2b-256 checksum
How to use checksums
f07046017093cd18c6ff69b935ce1239cc222acd4814b1e2226ae941532885e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.3 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

Release files / invQ-0.1.1-py3-none-any.whl

Download URL invQ-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f513ed3c1a4ebd8d8f95ce2e64f3a0da6574d0264f5df8b8a56ea9cff1d715df
BLAKE2b-256 checksum
How to use checksums
c5363c1af4678df128c0fac473138178805d6a9f0e3adc1a7128940a870b20f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.3 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

Security for invQ 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page