PyPulseHeatPipe

The data analysis Python package for the Pulsating Heat Pipe experimental data


License
GPL-3.0
Install
pip install PyPulseHeatPipe==1.1.1

Documentation

PulseHeatPipe

PyPulseHeatPipe is a Python Library for data analysis and for data plotting/visualisation specifically for PHP experimental data.

pkg installation

pip install PyPulseHeatPipe

# for pkg upgrade
pip install --upgrade PyPulseHeatPipe

Usage:

importing the module

from PyPulseHeatPipe import PulseHeatPipe

creating the reference variable

analysis = PulseHeatPipe("datapath", "sample_name")

for a class help

help(analysis)

for a function help

help(analysis.data_etl)

using a function from the class

df, df_conv = analysis.data_etl()

to create blank file

analysis.blank_file()

list of available functions

  1. blank_file
  2. data_etl
  3. gibbs_fe
  4. data_chop
  5. data_stat
  6. data_property_avg
  7. best_TP
  8. plot_all_data
  9. plot_Te_Tc
  10. plot_eu

Example:

# importing module
from PyPulseHeatPipe import PulseHeatPipe
from PyPulseHeatPipe import DataVisualisation

analysis = PulseHeatPipe("datapaht", "sample_name")
visual = DataVisualisation("datapaht", "sample_name")

# calling help
help(analysis.data_etl)
help(visual.plot_all_data)

# using methods eg;
# for ETL
df, df_conv = analysis.data_etl()

# for visulisation of all thermal properties
visual.plot_all_data(df_gfe)

NOTE: The experimental data file must prepared in '.xlsx' format. The data must contain at least following columns with mentioned titles:

samle_data.xlsx format

t(min) Tc[C] Te[C] P[mmHg] Q[W] alpha beta pulse
1 30 35 700 80 90 0 2
--- --- --- --- --- --- --- ---

here,

alpha = vertical angle of PHP

beta = horizontal angle of PHP

pulse = pulse generation in the working fluid (y=1/n=0)