GitHub - wjgoarxiv/HPRheoPlot: ::Automatic Graph Plotter for TA Instruments Rheometer Users::
<aside> 💭 ::Automatic Graph Plotter for TA Instruments Rheometer Users::
</aside>
HPRheoPlot is designed for users who use TA instruments rheometer and TRIOS software. This program provides a convenient way to plot various types of rheological graphs with the data from your experiments. Since the TRIOS software does not provide a way to plot the graphs, this program will help you to plot the graphs automatically.
HPRheoPlot is available on PyPI, so you can download and install it via pip or pip3 by using the following command:
pip install HPRheoPlot
or
pip3 install HPRheoPlot
After installing the program, you can run the program by typing the following command in the terminal:
hprheoplot
When you firstly run the program, you don't have the settings.txt
file. The program will create the settings.txt
file and ask you to input several options.
ERROR There is no `settings.txt` file in the current directory. I will make a new `settings.txt` file for you.
INFO The `settings.txt` file has been created. Please edit the file and run the program again.
The settings.txt
looks like below:
###################################
############ SETTINGS.TXT #############
###################################
# This file is for the settings of the HPRheoPlot program.
# NOTE: This file should be named as `settings.txt`. If isn't, the program cannot load the settings.
###########################################################
# DW-directory: The directory location where the csv files from DWStemp program are located.
DW-directory = ./DW/
# TRIOS-directory: The directory location where the csv files from TRIOS program are located.
TRIOS-directory = ./TRIOS/
# graph-type: The type of graph that you want to plot (options: eta-t, eta-gamma, eta-delp, gamma-sigma)
graph-type = eta-gamma
# graph-style: The style of graph that you want to plot (options: line, scatter)
graph-style = scatter
# line-width: The line width of the graph (example: 0.5, 1, 2.3, etc.) - this works when graph-style is line.
line-width = 2
# graph-decorate: Whether you want to decorate the graph (options: y, n)
graph-decorate = y
# curve-fit-equation: The equation that you want to use for the curve fit (options: Powerlaw, Cross, Sisko)
curve-fit-equation = Sisko
Note that program requires the directory locations where the raw data files are located. Make sure you have DWStemp raw files (CSV format) and TRIOS raw files (XLS format) in the directory locations that you input in the settings.txt
file. Depending on the graph-type
you selected, the program will export different types of graphs.****
eta-t
)If you want to draw the viscosity-time plot, you need to provide both the pressure info from the DW raw file (CSV format) and the viscosity info from the TRIOS raw file (XLS format). You can select the desired raw files via executing the program.