PyPulseHeatPipe is a Python Library for data analysis and for data plotting/visualisation specifically for PHP experimental data.
pip install PyPulseHeatPipe
# for pkg upgrade
pip install --upgrade PyPulseHeatPipe
from PyPulseHeatPipe import PulseHeatPipe
analysis = PulseHeatPipe("datapath", "sample_name")
help(analysis)
help(analysis.data_etl)
df, df_conv = analysis.data_etl()
analysis.blank_file()
- blank_file
- data_etl
- gibbs_fe
- data_chop
- data_stat
- data_property_avg
- best_TP
- plot_all_data
- plot_Te_Tc
- 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)