Skip to content

Parse and visualize .dat file with horizontal/vertical cuts along with image

License

Notifications You must be signed in to change notification settings

Synchrotron-Radiation-Workshop/SRW-parser

 
 

Repository files navigation

https://travis-ci.com/kalebswartz7/SRW-parser.svg?branch=master

SRW-parser

Reads in a data file and vizualizes data with image along with interactive horizontal and vertical cuts

Installation:

Lightweight installation with only data parsing capabilities -

pip install SRW-parser

Full installation with graphing capabilities -

pip install "SRW-parser[complete]"

Features:

  • Specify specific data file
SRW-parser -d <file_name>
  • Specify data to be graphed with an interactive plot showing horizontal and vertical cuts
SRW-parser -d <file_name> -g
  • Specify title of graph
SRW-parser -d <file_name> -g -t <title>
  • Specify location of vertical cut
SRW-parser -d <file_name> -g -vp <right or left>
  • Specify location of horizontal cut
SRW-parser -d <file_name> -g -vp <top or bottom>
  • Specify vertical axis label
SRW-parser -d <file_name> -g -vl <label>
  • Specify horizontal axis label
SRW-parser -d <file_name> -g -hl <label>
  • Specify extent lables
SRW-parser -d <file_name> -g -e <horiz_initial, vert_initial, horiz_final, vert_final>

Examples:

images/left_top.gif

images/bottom_right.gif

Credits:

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Parse and visualize .dat file with horizontal/vertical cuts along with image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.8%
  • Makefile 2.2%