Skip to main content

Python library for finding the optimal transformation(s) that makes two matrices as close as possible to each other.

Project description

Procrustes

This project supports Python 3.9+ GPLv3 License CI Tox Documentation Status codecov Binder

The Procrustes library provides a set of functions for transforming a matrix to make it as similar as possible to a target matrix. For more information, visit Procrustes Documentation.

Citation

Please use the following citation in any publication using Procrustes library:

@article{Meng2022procrustes,
    title = {Procrustes: A python library to find transformations that maximize the similarity between matrices},
    author = {Fanwang Meng and Michael Richer and Alireza Tehrani and Jonathan La and Taewon David Kim and Paul W. Ayers and Farnaz Heidar-Zadeh},
    journal = {Computer Physics Communications},
    volume = {276},
    number = {108334},
    pages = {1--37},
    year = {2022},
    issn = {0010-4655},
    doi = {https://doi.org/10.1016/j.cpc.2022.108334},
    url = {https://www.sciencedirect.com/science/article/pii/S0010465522000522},
    keywords = {Procrustes analysis, Orthogonal, Symmetric, Rotational, Permutation, Softassign},
}

Dependencies

The following dependencies are required to run Procrustes properly,

Installation

To install Procrustes using the conda package management system, install miniconda or anaconda first, and then:

# Create and activate myenv conda environment (optional, but recommended)
conda create -n myenv python=3.11
conda activate myenv

# Install the stable release.
conda install -c theochem qc-procrustes

To install Procrustes with pip, you may want to create a virtual environment, and then:

# Install the stable release.
pip install qc-procrustes

See https://procrustes.qcdevs.org/usr_doc_installization.html for full details.

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

qc_procrustes-1.0.1a1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

qc_procrustes-1.0.1a1-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file qc_procrustes-1.0.1a1.tar.gz.

File metadata

  • Download URL: qc_procrustes-1.0.1a1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for qc_procrustes-1.0.1a1.tar.gz
Algorithm Hash digest
SHA256 be9cfcfabad70d57b8c15a2b975b7a00c86c2bf21bd70919cdec1c3cb016fac8
MD5 a1aa09d405ceb1d9913eba62cb691661
BLAKE2b-256 303636f5105494b5ce814833107380d3bf6b49e8399db0d18116a9d76d17a820

See more details on using hashes here.

Provenance

File details

Details for the file qc_procrustes-1.0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for qc_procrustes-1.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0626c989e3b5fbb3489c80f6ffe7c80ef621e95a2c9f9e16923d851260ceb4e
MD5 5c972907e3bf000e60062c3c628e024e
BLAKE2b-256 19a79ae6ea419e130fe5bf408e6811c79ffeb690c8eee4509d4a58ce85ff44f0

See more details on using hashes here.

Provenance

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