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.2.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: subproptools-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bb78d745f771d4eb9dd3e6aaa381b256945ea4312b09b1252402bab47cf4868d
MD5 33323781bd8caae50ee0bb8886e5bb03
BLAKE2b-256 0d8fc96feb41bb2ce30b87131a29aa7f62aae6d2c352d3de71d6dea1697d23ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: subproptools-0.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c77f5222a437098234f1bc9d1b371ae6f01ed8917e9d311bbe4e9570ea47bd5
MD5 1b242f48e6626ac5595b224a1667bb1e
BLAKE2b-256 c2822e332eac0b5e88466778b9c4f4d68605afd8dfd55b36322deda6c6cdf245

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