Skip to main content

templated auto processing/visualization of measured data

Project description

VERN: Very Easy Research Note

how to use

  • create the following files at (your user’s) Desktop

  • execute vern_registry.bat

  • USAGE: pick either of these two
    • (recommended): right click on to-be processed file and select “process in VERN”

    • drag and drop to-be processed files on the run_vern.bat

run_vern.bat

cd %~dp0
:loop
if not "%~nx1"=="" (
python run_vern.py %~f1 & shift & goto loop
)
pause

run_vern.py

from vern import *
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("path")
args = parser.parse_args()
Vern(args.path)

vern_registry.bat

reg add HKEY_CURRENT_USER\Software\Classes\*\shell\vern /t REG_SZ /d process" "in" "VERN
reg add HKEY_CURRENT_USER\Software\Classes\*\shell\vern\command /t REG_EXPAND_SZ /d \^"%USERPROFILE%\Desktop\run_vern.bat\^"" "\^"%%1\^"
pause

contribute

bug report

Use the issues feature of GitHub. Please use only English

code update

Use the pull request feature of GitHub. Please use only English

types of files

profilometer (Tencor P7)

  • *.txt file will be regarded as a profilometer file

  • modify filename to *_i.txt to enable interactive mode
    • interactive mode can crop part of the profile and apply it to normal plot and histogram

tabular

  • *_m1.txt file will be regarded as a tabular file

  • tabular data is consisted of two columns
    • each column will be used as x and y data

    • the column labels will be used for the x and y axis label

    • x,y plot will be shown as dots

    • a linear approximation line will be added to the plot
      • the equations for the approximated line and the R2 value will appear on the plot

VSM

  • in progress

oscilloscope

  • in progress

dxf

  • in progress

Project details


Release history Release notifications | RSS feed

This version

1.1.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vern-1.1.9.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

vern-1.1.9-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page