Skip to main content

wfnsympy module

Project description

Build Status Coverage Status PyPI version

WFNSYM

This software calculates continuous symmetry measures (CSM) of the electronic wave function of molecules

Installation instructions

1a. Requirements

  • LAPACK & Blas libraries
  • Fortran77 compiler (g77/ifort/gfortran)
  • cmake 2.6+

1b. Additional requirements for python module

  • Python 3.5+
  • numpy 1.x (not compatible with numpy 2.x!)
  • scipy
  • C compiler

2a. Install as standalone binary

./configure (see --help for available options)
cd build
make install

2b. Install as a python module

cd python
python setup.py install --user

b. Install from pip (pre-compiled versions available for python 3.6-3.10)

pip install wfnsympy

Simple python API

from wfnsympy import WfnSympy

basis = {'name': 'STO-3G', 
         'primitive_type': 'gaussian', 
         'atoms': [{'symbol': 'O',
                    'shells': [{'shell_type': 's',
                                'p_exponents': [130.70932, 23.808861, 6.4436083],
                                'con_coefficients': [0.154328969, 0.535328136, 0.444634536],
                                'p_con_coefficients': [0.0, 0.0, 0.0]},
                               {'shell_type': 'sp',
                                'p_exponents': [5.0331513, 1.1695961, 0.380389], 
                                'con_coefficients': [-0.0999672287, 0.399512825, 0.700115461], 
                                'p_con_coefficients': [0.155916268, 0.607683714, 0.391957386]}]},  
                   {'symbol': 'H',
                    'shells': [{'shell_type': 's', 
                                'p_exponents': [3.42525091, 0.62391373, 0.1688554], 
                                'con_coefficients': [0.154328971, 0.535328142, 0.444634542], 
                                'p_con_coefficients': [0.0, 0.0, 0.0]}]},     
                   {'symbol': 'H',
                    'shells': [{'shell_type': 's', 
                                'p_exponents': [3.42525091, 0.62391373, 0.1688554],
                                'con_coefficients': [0.154328971, 0.535328142, 0.444634542],
                                'p_con_coefficients': [0.0, 0.0, 0.0]}]}]}

mo_coefficients = [[ 0.9942164, 0.0258468, 0.0000000, 0.0000000,-0.0041640,-0.0055837,-0.0055837],
                   [ 0.2337666,-0.8444565, 0.0000000, 0.0000000, 0.1228297,-0.1555932,-0.1555932],
                   [ 0.0000000, 0.0000000, 0.6126923, 0.0000000, 0.0000000,-0.4492216, 0.4492216],
                   [-0.1040333, 0.5381536, 0.0000000, 0.0000000, 0.7558802,-0.2951071,-0.2951071],
                   [ 0.0000000, 0.0000000, 0.0000000,-1.0000000, 0.0000000, 0.0000000, 0.0000000],
                   [-0.1258185, 0.8201209, 0.0000000, 0.0000000,-0.7635388,-0.7691551,-0.7691551],
                   [ 0.0000000, 0.0000000, 0.9598001, 0.0000000, 0.0000000, 0.8146297,-0.8146297]]

wf_results = WfnSympy(coordinates=[[ 0.00000000, 0.00000000, -0.04280085],
                                   [-0.75810741, 0.00000000, -0.67859957], 
                                   [ 0.75810741, 0.00000000, -0.67859957]],
                      symbols=['O', 'H', 'H'],
                      basis=basis,
                      alpha_mo_coeff=mo_coefficients,
                      group='C2v')

wf_results.print_CSM()
wf_results.print_ideal_group_table()
wf_results.print_overlap_mo_alpha()
wf_results.print_overlap_wf()

Authors

This software has been developed by David Casanova
Python module by Abel Carreras & Efrem Bernuz

The theoretical background implemented in this software is described in:
Casanova D, Alemany P. Phys Chem Chem Phys. 2010;12(47):15523–9.
Casanova D, Alemany P, Falceto A, Carreras A, Alvarez S. J Comput Chem 2013;34(15):1321–31.

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

wfnsympy-0.4.1.tar.gz (36.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

wfnsympy-0.4.1-cp312-cp312-win_amd64.whl (394.3 kB view details)

Uploaded CPython 3.12Windows x86-64

wfnsympy-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

wfnsympy-0.4.1-cp312-cp312-macosx_11_0_arm64.whl (488.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

wfnsympy-0.4.1-cp311-cp311-win_amd64.whl (394.3 kB view details)

Uploaded CPython 3.11Windows x86-64

wfnsympy-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

wfnsympy-0.4.1-cp311-cp311-macosx_11_0_arm64.whl (329.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

wfnsympy-0.4.1-cp310-cp310-win_amd64.whl (394.3 kB view details)

Uploaded CPython 3.10Windows x86-64

wfnsympy-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

wfnsympy-0.4.1-cp310-cp310-macosx_11_0_arm64.whl (171.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file wfnsympy-0.4.1.tar.gz.

File metadata

  • Download URL: wfnsympy-0.4.1.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for wfnsympy-0.4.1.tar.gz
Algorithm Hash digest
SHA256 b563e0ea860c0697cfddcbbf9ff12600dc035b76bf1e4e3aa28e039ee1a23deb
MD5 ed2433778912cd576dee2104857a7e85
BLAKE2b-256 9664387c7b1f026cb8078dfb4ba76c8d0e9a6d9c816cd2db02a27b96268f1c3a

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: wfnsympy-0.4.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 394.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for wfnsympy-0.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7bec2d6b58fd589c65e42c34eb696197094290a081a5a57c6e818567c8098617
MD5 e1b00f46d784378bbd2c94c3bd0664c5
BLAKE2b-256 0128a55417b8d4e0f37f2fbf046190523e136adaff52560adb85440724d2daf6

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wfnsympy-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe63cfc387130b33d65378ef5a587364e45272e107e39b679aeaf1981f06d182
MD5 a2fab7527bbb35c5abec86873aeb0e43
BLAKE2b-256 ec05c07f65d0356bd82d40dcd9ae851c95596b9caa03c96dc0213a63d6576334

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wfnsympy-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0428f5ec54caaa811b5c0e92b6e1d7035c1bcec4120b102e8b239dd805ec814
MD5 60c5cb8b5923e4dfa1e950c35ab04b42
BLAKE2b-256 55f1e602c03dbe7640940ea72cdea15f0fdebf0ef41ed54b7c749180b9901327

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: wfnsympy-0.4.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 394.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for wfnsympy-0.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 406f5212af54e8e1255ea6d9f0eaf7979316e398dd40258c095ddd7c47d2acc5
MD5 e2d37bd70249b3b5070b70650b6b2831
BLAKE2b-256 b37f8f41ddb126e95f759756250363e9f4c408b35c79a82380371d69d0929f8b

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wfnsympy-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 608b3402e1767c71709e831303bd82aed96f5f4685e5bf70aa44c727e46f67d9
MD5 1b4f031bc158d73deb35dd5ce9858367
BLAKE2b-256 4b9652afb3f0ebb762109ebcb989bcba35645ac21695f6ef632e3b490a09ce77

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wfnsympy-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 09e05e631ca0303f60edf7f3fd68a9a0f531dfdd571b0db7313f8aeb8b142cad
MD5 5477ea3c331f96920afcee345b1fc3e6
BLAKE2b-256 9f4099d22239d798b271990bc069714325290432b762126d974a2704941cece5

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: wfnsympy-0.4.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 394.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for wfnsympy-0.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 60f6d138cad043e69db69181e94e4b96da420ef12b1e81c728d18c59fda426d4
MD5 4ff75a227086873cbbb0caded864f92b
BLAKE2b-256 868262701faaf004ca8dca963ffcdd05fefec73d66035ea3e4166d84ef9497ae

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wfnsympy-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b22e94b39a5b9b18e18e5677a82df8e178a9f649f8ac2bd76f319bb906b53b6
MD5 cdd3f1e392d4f7f6eebbeda0cec0b194
BLAKE2b-256 e1b12798283ae34e9469eb7323ba36e7bf5a8369b4fe9a9bde8caa4e1e6cc6ae

See more details on using hashes here.

File details

Details for the file wfnsympy-0.4.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wfnsympy-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa05f766ab71a9c78a6edcf02b58a901c58bc109fa2582b73752310acd314d1e
MD5 3ab0a104150d1a51352f2f7d40cf633f
BLAKE2b-256 ad3a2000ea6551d133ab36baf5f401b80f195e9fbf5969a9497672a9a2442e3f

See more details on using hashes here.

Supported by

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