In [1]:
import pandas as pd
import numpy as np
import PIV as piv
import time_series as ts
import time
import sys
import h5py
from scipy.signal import medfilt
import matplotlib.pyplot as plt
import hotwire as hw
import imp
%matplotlib inline
In [2]:
# import functions to be run
imp.reload(ts)
imp.reload(piv)
imp.reload(hw)
%run 'air_prop.py'
%run 'piv_outer.py'
%run 'piv_readin.py'
%run 'piv_inner.py'
In [ ]:
## INITIAL CODE USED FOR READING IN
#Parameter set
date = '072717'
data_delimiter = '\t'
num_images = 10911
sizex = 128
sizey = 128
walloffset = 7.5 #mm
side_error = 5
#determine file name
file_name = dict()
for j in range(1, num_images+1):
file_name[j] = '/B' + str('{0:05}'.format(j)) + '.txt'
#list name of data set folders
base_name = dict()
#List the base name for each test to be read in and analyzed, names taken directly from folder
base_name[0] = '/home/drummond/Local_files/FPF/test_072717/data/Cam_Date=170727_Time=103432_TR_SeqPIV_MP(2x16x16_50ov_ImgCorr)=unknown'
piv_readin(date, file_name, base_name, num_images, data_delimiter, sizex, sizey, walloffset, side_error)
In [3]:
##Plot Outer Normalized Data##
date = '072717'
num_tests = 1
piv_outer(date, num_tests)
In [4]:
##Plot Inner Normalized Data##
date = '072717'
num_tests = 1
utau = .133
piv_inner(date, num_tests, utau)
In [ ]: