Skip to main content

Reference library for advanced eigenanalysis.

Project description

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.

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

thucyd-0.2.7.tar.gz (15.9 kB view details)

Uploaded Source

File details

Details for the file thucyd-0.2.7.tar.gz.

File metadata

  • Download URL: thucyd-0.2.7.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for thucyd-0.2.7.tar.gz
Algorithm Hash digest
SHA256 7cd3c628bef6b6c59d8204524c4a5a3e443fc91591fd061463c04053a0d2ca45
MD5 5bb40cec9b19578fb7598ed1d9f5b332
BLAKE2b-256 fa3e483aaa33445cffba9924ec7697dc893cf4755ef2951c4b6336aafe138d05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page