Skip to content
Snippets Groups Projects
Commit befb9090 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

switches to different dataset for test

parent e9a0d309
No related branches found
No related tags found
1 merge request!125Feature/improve rij pp
......@@ -5,27 +5,18 @@ import h5py
import matplotlib.pyplot as plt
def main():
if not os.path.exists('N32.h5'):
c0 = DNS()
c0.launch([
'NSVE',
'-n', '32',
'--simname', 'N32',
'--niter_todo', '128',
'--niter_stat', '4',
'--niter_out', '128',
'--np', '4',
'--ntpp', '1',
])
if not os.path.exists('N32_post.h5'):
simname = 'fbM_N0128_kMeta1.5_tf2'
if not os.path.exists(simname + '.h5'):
print('please download ' + simname + ' data from shared folder')
if not os.path.exists(simname + '_post.h5'):
c = PP()
c.launch([
'get_3D_correlations',
'--simname', 'N32',
'--iter0', '128',
'--iter1', '128'])
'--simname', simname,
'--iter0', '8192',
'--iter1', '8192'])
data_file = h5py.File('N32_post.h5', 'r')
data_file = h5py.File(simname + '_post.h5', 'r')
group = data_file['get_3D_correlations/correlations']
f = plt.figure()
a = f.add_subplot(111)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment