Code Monkey home page Code Monkey logo

chempackage's Introduction

chemPackage

Python package created to manipulate NWChem and ADF input and output files along with plain XYZ files

installation of the package is done from the master directory through pip by running

pip install .

Dependencies

As of now, the only dependency outside the normal realm of packages like numpy is natsort. This package can be found and installed through pip or conda.

Fortran interface

Fortran are interfaced with f2py from numpy. Source code is located under src/chemPackage/f2py and src/mfunc. Both are built with make during pip install.

Additional Notes

This package is still experimental. There are files and routines that still do not have unit tests and have not been verified. If you use any functions that do not have a corresponding unit test, there is a high chance that the results may not be correct. If any issues are found, please open an issue and it will be addressed.

example

The main use of the chemPackage all centers around the collect function

In [1]: from chemPackage import collect

In [2]: f = collect('unitTests/sampleCoords.xyz')

In [3]: f.coordinates
Out[3]:
array([[ 0.  ,  0.  ,  0.  ],
       [ 0.75,  0.75,  0.  ],
       [-0.75,  0.75,  0.  ],
       [ 0.  ,  0.  , -5.  ],
       [ 0.  ,  0.  ,  5.  ],
       [ 0.  , 10.  ,  0.  ],
       [ 0.  ,  0.  ,  7.  ]])

chempackage's People

Contributors

jbecca avatar gaohehu avatar markbronsonjr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.