Git Product home page Git Product logo

quantpy's Introduction

quantpy

quantpy is a link-wise gaussian and quantics parser, with a focus on Ehrenfest-dynamics simulations using either QUANTICS or L118

Features

Built-in flexible link-wise gaussian route parser (glogpy) A few link parsers have been written (Focus on L405, L510) Rudimentary quantics input + output parsers

Setup

Recommended to set up a virtual python enviroment (conda or venv)

Install requirements :

pip install -r requirements.txt

Add the folder dir to PYTHONPATH :

export PYTHONPATH=$PYTHONPATH:/path/to/dir

Running extractor

Extraction yields a manifest and drop of numpy binaries with extracted data. This can then be further analused or plotted

For a quantics job use

python3 extract.py /path/to/quantics.inp

For a L118 job use

python3 extractl118new.py /path/to/l118.log

If too much data has been extracted cut.py script lets you cut to number of steps of specific timestep

Dynamics prep

A PES surface sweep and extraction code is found in nm_pes

xd_nm_pes uses a frequency.log file and an arbitrary number of NM dimentions to sweep. The output is either printed to terminal or, if template is supplies, to a fodler in same place as template

A small extractor for this data with state following has been written : xd_nm_stitch_extract. It simply prints a TSV to terminal of all points

Since muli-dimentional plotting in matplotlib is poor, I reccomend using something else to do the actual plotting

Analysis tools

These scripts are found in analysis folder

  • pairplot_sd_mq - Plots up all the spin densities (or mulliken charges) in pairs
  • plotter - All in one plotter. Plot up a range a properties
  • gwp_dbg - per-GWP analysis tool to identify problem GWPs & inspect
  • to_xyz - Generate a trajectory xyz file for VMD
  • nm2 - Examine trajectory in NM space

TODO

Still missing a few things from old scripts - these are all on the todo list:

  • [GWPDBG] Like to refactor bulk per-GWP plotter into single one
  • [QEXTRACT] Like to move quantics extractor to use new IO jobs
  • [PLOTTER] Plot up dipoles. Hopefully coord system is OK
  • [PLOTTER] Plot up Hole Survival Probability
  • [PLOTTER] General refactor of analysis to be more general and flexible (FFT of other properties like NM)

quantpy's People

Contributors

neon-cyan avatar

Watchers

 avatar  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.