Skip to main content

A plugin for extracting data from .sum files and manipuating them

Project description

ci Documentation Status Coverage Status PyPI version

Molecule Reorientation and .sum file handling

This package provides tools to extract data from .sum files (in the qtaimExtract module), and tools to reorient the molecule to defined coordinate systems (in the subreor module). The subreor module rotates to a defined coordinate system. First an atom is positioned at the origin. By convention, this is the atom of the group that is directly bonded to the rest of the molecule. The rest of the molecule is placed along the -x axis. The remaining axes are defined as follows:

  • if there is one lone pair(VSCC), that point lies on the +y
  • if there are two lone pairs, the average position of them lies on the +y
  • if there are no lone pairs, map the BCPs of the atom at the origin to a reference. Identify the closest match to the reference to determine a BCP to set as +y

Authors

Kevin Lefrancois-Gagnon Robert C. Mawhinney

Installation prior to distribution

pip install git+https://github.com/kmlefran/subproptools

User Facing Functions:

subreor

  • rotate_sheet - performs rotations to the desired coordinate system for many molecules as defined in a csv file
  • output_to_gjf - writes the reoreinted geometry to a .gjf file
  • rotate_substituent - performs the defined rotation for an individual substituent

qtaimExtract

  • get_sub_di - gets delocalization index between a substituent and the rest of the molecule
  • get bcp_properties - returns a dictionary of bcp properties for a given bcp
  • get_atomic_props - returns dictionary of atomic properties for all atoms in molecule
  • get_cc_props - returns dictionary of properties for all charge concentrations
  • identify_vscc - returns only the VSCC from a set of charge concentrations
  • get_sub_props - returns dictionary of one substituent's properties
  • extract_sub_props - returns dictionary of atomic, group, bcp and vscc properties for a substituent
  • sub_prop_frame - returns dictioanry of frames of group properties
  • get_xyz - extracts a molecule's xyz geometry from sum file

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

subproptools-0.4.3.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

subproptools-0.4.3-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file subproptools-0.4.3.tar.gz.

File metadata

  • Download URL: subproptools-0.4.3.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for subproptools-0.4.3.tar.gz
Algorithm Hash digest
SHA256 29c7c62b47e287100ddf8c1e84825e9d16d0100d57ec9619fdd1da2e9c759ef0
MD5 b16c658fad8e5771b81f6277dfa97169
BLAKE2b-256 2b325f02fd5e29f5c3ce84a34ae2bc05326cf39641556f4b40f5dbf0a022700e

See more details on using hashes here.

File details

Details for the file subproptools-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: subproptools-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for subproptools-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f1d20c45216ae5a083f60cc30a88efbc01fe67b759e116d2dcaa50ca6c4bdc8
MD5 d74f6235bd41b685d4462551e7919bb0
BLAKE2b-256 ac46e6c84f80ae88a48555928bba3976208cb136b4d04f64728265c5441449e1

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