Skip to main content
thucyd-logo

Advanced Eigenanalysis

pipeline status coverage report license Code style python versions numpy versions pypi version Conda Version

What is thucyd?

thucyd (thoo'-sid) delivers a reference implementation of advanced eigenanalysis tools. When more performant libraries are created (elsewhere) then they can use this version as a golden source.

See A consistently oriented basis for eigenanalysis (2020) in the International Journal of Data Science and Analytics and A Consistently Oriented Basis for Eigenanalysis: Improved Directional Statistics (2024) in arXiv for details of the functions provided in thucyd.

Package Installation

The two package hosts for thucyd are PyPi and Conda-Forge. The packages are identical and the only difference is the means of delivery. From PyPi, use pip,

$ pip install thucyd

and from Conda-Forge use conda:

$ conda install -c conda-forge thucyd

Once installed, the package is importable to Python:

>>> import thucyd

A quick example call to the eigen subpackage would be

>>> import numpy as np
>>> V = np.eye(3).dot(np.diag([1., -1., 1.]))
>>> E = np.arange(3)[::-1]
>>> Vor, Eor, signs, thetas, _ = thucyd.eigen.orient_eigenvectors(V, E)
>>> Vor
array([[1., 0., 0.],
       [0., 1., 0.],
       [0., 0., 1.]])
>>> signs
array([ 1., -1.,  1.])

Package Dependency

The only dependencies thucyd has at this time is on python >= 3.7 and numpy >= 1.23.

About thucyd

Thucydides was the first Western writer and historian who applied scientific principles to the recording of Western history. Although Herodotus, who predates Thucydides by less than a generation, started the transformation away from the epic poetry enshrined by Homer to a more objective record, it was Thucydides who engaged in inquiry and cross validation of all accounts in his History of the Peloponnesian Wars.

Buell Lane Press

Buell Lane Press is the package sponsor.

Metadata

Release files for thucyd 0.2.7

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

Source distribution (sdist)

Source distribution for thucyd 0.2.7
File Size Uploaded Provenance Actions
thucyd-0.2.7.tar.gz 15.9 kB Without provenance Details for thucyd-0.2.7.tar.gz

Release files / thucyd-0.2.7.tar.gz

Download URL thucyd-0.2.7.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7cd3c628bef6b6c59d8204524c4a5a3e443fc91591fd061463c04053a0d2ca45
BLAKE2b-256 checksum
How to use checksums
fa3e483aaa33445cffba9924ec7697dc893cf4755ef2951c4b6336aafe138d05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Security for thucyd 0.2.7

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.

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