Skip to main content

LoProp: localized molecular properties

Project description

CircleCI Coverage Status Python application

Loprop for Dalton

This code is an implementation of the LoProp algorithm based on Gagliardi et al., JCP 121, 4494 (2004) for postprocessing calculation with Dalton (http://daltonprogram.org)

How to cite this software

LoProp for Dalton, Olav Vahtras (2014). http://dx.doi.org/10.5281/zenodo.13276

Requirements

A python installation with numpy and scipy libraries

Installation

pypi (recommended)

$ pip install loprop

github

$ git clone https://github.com/vahtras/loprop.git
$ cd loprop
$ pip install -r requirements.txt

This will automatically put loprop into your path.
Works with virtualenv and anaconda.

Test

With nose installed one can travers all tests which should give

$ pip install nose
$ python -m nose
.......................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 263 tests in 12.499s

OK

Basic usage

To setup a Dalton calculation for postprocessing with loprop, a typical input file is as follows

**DALTON INPUT
.RUN RESP
*END OF GENERAL
**WAVE FUNCTION
.INTERFACE
.HF
**INTEGRAL
.NOSUP
.DIPLEN
.SECMOM
**RESPONSE
*LINEAR
.DIPLEN
*END OF

This is required for calculating atomic dipoles, quadrupoles and polarizabilities One-electron integral files are required that are not normally saved after a Dalton calculation. The dalton program should be executed with the following options

$ dalton -get "AOONEINT AOPROPER" hf h2o

A sample run with charges and isotropic polarizabilities is

$ loprop -f hf_h2o.tar.gz -l 0 -a 1
AU
3 0 1 1
1     0.000     0.000     0.698    -0.703     3.466
1    -1.481     0.000    -0.349     0.352     1.576
1     1.481     0.000    -0.349     0.352     1.576

generating a potential file, with local coordinates, charge and polarizability for each atom.

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

LoProp-0.3.5.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

LoProp-0.3.5-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file LoProp-0.3.5.tar.gz.

File metadata

  • Download URL: LoProp-0.3.5.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for LoProp-0.3.5.tar.gz
Algorithm Hash digest
SHA256 6dc92bebf1bb1d8f3cc92f637bb6200a0e17a5d030b93dea9bd479fe8259d103
MD5 63094f2b95ca02545db5fad230463499
BLAKE2b-256 ce93f74f466db4147f6df2e8eaad0b3ad1031004b57ee374d9c5aea55011a46d

See more details on using hashes here.

File details

Details for the file LoProp-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: LoProp-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for LoProp-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 52dfd90c37804b2f2014227043067766eab27d783e4cf733b5fb0744b9abe93d
MD5 ac4b4a7a574233f598ccd22d83969ea5
BLAKE2b-256 59d352e4e54be6d5435797fa89e44bc14d80feac4b188f40b9b82af69eb7f597

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