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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

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

Uploaded CPython 3.12Windows x86-64

wfnsympy-0.4.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

wfnsympy-0.4.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (914.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

wfnsympy-0.4.0-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.0-cp310-cp310-macosx_11_0_arm64.whl (484.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: wfnsympy-0.4.0-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.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ae0eeaf4017411f7f2cfeaf93f882eea2c907f695f83a3572be93cc1bb3640b5
MD5 92f1dd61bf42def87c40fd642e724a8d
BLAKE2b-256 5f33f360efb391002bc393f423162d09c6000d5af9594d146d06a10bc4a86521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wfnsympy-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9d9910a8d2e1f23fe1d6b6e4188b5c42d356ac02bcfe3f74daf99b544f2d37b
MD5 b8df91c711a50da25a482191c9b76bee
BLAKE2b-256 b5e154d7e41c1cc10da1c6b32a7207d13185aa9e42e5fbc4fd3015e8daa07581

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wfnsympy-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e7a16c0a09aff8f9a3fa54078cca40bd69e473691b109d6e144ea8de09c93af6
MD5 c96554fddfdfb4ea2aa14baae9942611
BLAKE2b-256 a05c44bbce8925af7f3a57fc4434368d84311d3754f96e73353e6bf6907169ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wfnsympy-0.4.0-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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8383bec673ce3f537b912e5bcf790a5c8e9a06408cdd7d2f32b40a89e939e63b
MD5 20cc6be52d717e3d504673da5eca6e31
BLAKE2b-256 1eb48e35e1dc3f8278493c236121a9ec74d4f46f19c2ad0778c0137d04860873

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wfnsympy-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3045d8fab1d774980f1f1637a6f69c02ccb567c64adc2002e77e02e409bae5c8
MD5 0b5addc09944421bcdc1a9ea90cc401c
BLAKE2b-256 093c7590572d17719289f1446a1d9c08b9b889902f1c8b65cebff51d42fa3a2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wfnsympy-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22934f3d4743c8e1956a1026be11ee92d00f912af8d5aba5265a28524a79fa8c
MD5 b041e3e61fece6c4f3a3193bc9d05b13
BLAKE2b-256 2e524abf9a8271292bf56383282e714d112df900831651a6a88ce07f6f3d1df4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wfnsympy-0.4.0-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.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fbe691da2d373325f7d4cf9c2e2659204ba21a7837b4028eaf1f63309f50346c
MD5 c755c03aff59aea28b498a379895c1be
BLAKE2b-256 e7871015a55fdf71879fd1e4e53fc7b064058f9dffa35819091dde2b6619b90f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wfnsympy-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 da90165904e2f30444223202af19e43ce836938d90c18357d7685db644be8a23
MD5 e1d850c345ae32d49d219a7b78add071
BLAKE2b-256 004c2351aa88d08e71c871005355484c33fb3fdf8a7f794c2d92ee3d09f9843f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wfnsympy-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0aedaca87bf3e8e8796cdaa86fe312387fcc78df9b8c8d5de07c2e78772b9b6a
MD5 55e751332b7d052e1bdbd7668bb8ea68
BLAKE2b-256 d047d5f859161544627025a6843c4af1f7f3d8dbc27c325145265a81d5ebd5b5

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