Skip to content

Simple ASCII plots for AFQMC based on gnuplot in 'dumb' terminal mode

Notifications You must be signed in to change notification settings

bkesk/AFQMC_ascii_plots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

AFQMC_ascii_plots

This repo is an example provided in relation to our list of research tools. Here, we make simple ASCII plots for AFQMC based on gnuplot in 'dumb' terminal mode. Currently, only energy versus total projection time curves for output in afqmclab's format are implemented; however, a wider variety of plots/formats can be easily added by request.

This is also a good example of the 'argparse' python module which alows command line arguments to be easily parsed within python. It also automatically generates a 'help' option.

Suggested Installation

The script can be easily installed in several ways. Here is my favorite way to install for Linux!:

  1. clone this repository in a directory of your choice ( lets say, ~/scripts/ascii_plots )
mkdir -p ~/scripts
cd ~/scripts/
git clone [email protected]:bkesk/AFQMC_ascii_plots.git ascii_plots
  1. make a soft link to the script within your ~/bin/ directory
cd ~/bin/
ln -s ~/scripts/ascii_plots/afqmc_view.py afqmc_view
  1. make it executable
chmod u+x afqmc_view

Now, you should be able to run the command using only

afqmc_view <options>

example

Here is a minimal example of using this script. You must have AFQMC results from afqmclab, first. Then, run

afqmc_view

from within the directory containing the results.

About

Simple ASCII plots for AFQMC based on gnuplot in 'dumb' terminal mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages