Skip to main content

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.

Metadata

Release files for wfnsympy 0.4.2

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

Source distribution (sdist)

Source distribution for wfnsympy 0.4.2
File Size Uploaded
wfnsympy-0.4.2.tar.gz 38.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for wfnsympy 0.4.2
File
wfnsympy-0.4.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
wfnsympy-0.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
wfnsympy-0.4.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
wfnsympy-0.4.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
wfnsympy-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
wfnsympy-0.4.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
wfnsympy-0.4.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
wfnsympy-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
wfnsympy-0.4.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 15.6 MB

Release files / wfnsympy-0.4.2.tar.gz

Download URL wfnsympy-0.4.2.tar.gz
Size 38.2 kB
Tags Source
SHA-256 checksum
How to use checksums
43274401d4e2783c425ad33f4f38793b737683acc1f10a30a9ac4eceaac74b78
BLAKE2b-256 checksum
How to use checksums
d6d855a41398513802082fb6319bfd44a64eac7eb9232c9be1501b40b800b19c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp312-cp312-win_amd64.whl

Download URL wfnsympy-0.4.2-cp312-cp312-win_amd64.whl
Size 394.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
08fc39a52855e573006a2ea9cc9e5bd13a80af45db267cb41a245817d0987f5c
BLAKE2b-256 checksum
How to use checksums
8f585720aabe5d103c7bb8502fb8d2f4acec6b7f81b70df371237b00304ea12e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wfnsympy-0.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.5 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
de10082a9e04c3f2f21a3832cf89f1a1b4140fd17cad447643e4771f65fa06b9
BLAKE2b-256 checksum
How to use checksums
76f3bd5a114d32fb4a0b4c8bdd17f5a586c3c24c69cd8d2847f283d5ad1b05d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL wfnsympy-0.4.2-cp312-cp312-macosx_11_0_arm64.whl
Size 488.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9a6c89e695adfadd46bcd3030d2197136e4d7a25798c1f7b7ad790cd39b9f084
BLAKE2b-256 checksum
How to use checksums
b19fe029a1c9e8fc1b2d18c82615136cdf0961711175c0ea0d7ddd9d0b7edbd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp311-cp311-win_amd64.whl

Download URL wfnsympy-0.4.2-cp311-cp311-win_amd64.whl
Size 394.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5e86565780329cde32dae8da92e0741e625140fd40c497d18ab0c53e87fd2640
BLAKE2b-256 checksum
How to use checksums
e86eb18b5b25fb96a828a3e4bc77c8b9da3bd1018d5b5e2a50d1b05010c81924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wfnsympy-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.5 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
dd8365322f7d10e263995755a6f37ba5b109d82add33a7fa7a6f435d580af829
BLAKE2b-256 checksum
How to use checksums
7bf690b04c1184daa0c3678e2763a159924da6feafc2e7cdf9c0a31db9c191df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL wfnsympy-0.4.2-cp311-cp311-macosx_11_0_arm64.whl
Size 329.0 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
34b85f33860ba75ff3d01dd2c2ad5cf723a6558f2aa5388adc04cb6e13da83fa
BLAKE2b-256 checksum
How to use checksums
339109e02b08b35b212eb00cac81487169a14530c25cab100de3911a1c5a6c22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp310-cp310-win_amd64.whl

Download URL wfnsympy-0.4.2-cp310-cp310-win_amd64.whl
Size 394.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c5c3b4a81008d82d88c4cd90732c9ffbba820a155deaf98802c915044a907a90
BLAKE2b-256 checksum
How to use checksums
5858a957349e174d075b02d3f2b5ad2a2d0b9ad9e4856988a96b3f7d3af20dc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wfnsympy-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
39a2f177f7f72bac889a123496dfb3e924b137220b59ec93249e92235830921b
BLAKE2b-256 checksum
How to use checksums
947ab7e88db23e3c04e17086bb9b8c7f86776fbbc7ec11c4bdfb94183d712e68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / wfnsympy-0.4.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL wfnsympy-0.4.2-cp310-cp310-macosx_11_0_arm64.whl
Size 171.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dfb7c9b6039dc00d56d1b60eadd015dd6c11162f136c22aaf82eca2ee322f638
BLAKE2b-256 checksum
How to use checksums
5763138c33572b1ae368dd39717fb1b9860faa450907e4a9aaf4b60c172a5fe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

0.4.2 This release

10 release files

0.4.1

10 release files

0.4.0

9 release files

0.3.4

21 release files

0.3.3

21 release files

0.3.2

20 release files

0.3.1

1 release file

0.3.0

1 release file

0.2.32

1 release file

0.2.29

1 release file

0.2.28

1 release file

0.2.27

1 release file

0.2.26

1 release file

0.2.24

1 release file

0.2.23

1 release file

0.2.22

1 release file

0.2.21

1 release file

0.2.20

1 release file

0.2.19

1 release file

0.2.18

1 release file

0.2.17

1 release file

0.2.16

1 release file

0.2.15

1 release file

0.2.14

1 release file

0.2.13

1 release file

0.2.12

1 release file

0.2.11

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.1

1 release file

0.2

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

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