Giter VIP home page Giter VIP logo

gaussian_realtime_parse's Introduction

Gaussian RealTime Parse

Gaussian RealTime Parse is a suite of Python scripts to ease the post-processing of Gaussian Real-Time TDDFT and Ehrenfest dynamics output.

You'll probably get a better idea of what you can do just opening up some of the scripts, but here is a basic workflow.

Say you have a RT-TDDFT output file called rt.log.

If you want to extract the z-dipole moment and plot it as a function of time. You can do so like this:

from realtime import RealTime
import matplotlib.pylot as plt

rt = RealTime('rt.log')
plt.plot(rt.time,rt.electricDipole.z)
plt.savefig('dipole.pdf')

This would plot the time-oscillating z-electric dipole moment (electricDipole.z) as a function of time (time) in au. Then it saves it to a PDF called dipole.pdf.

Pretty simple.

You can even plot spectra if you perturbed your system properly. Say you gave a Cadmium atom an x-type electric delta perturbation, and saved the output in cd.log.

Then this script should do the trick.

from spectra import Spectra

cd = Spectra(x='cd.log')
cd.plot(save='cd.pdf')

Now you're done! You have the fourier transformed x-dipole moment (the "spectra") saved to file cd.pdf.

gaussian_realtime_parse's People

Contributors

jjgoings avatar

Watchers

James Cloos avatar Joseph J. Radler avatar

Forkers

rbeck4

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.