import h5py as h5

Cb_t13 = 1.301325996315766e-21 
Ct_t13 = 7.625254871181098e-22*1.01

## Rxx
f = h5.File("./t1p3/dat254.h5", "r")
z_p = f['R5x_2d'][:].T/1e3
y = f['x_array'][:]/1e3
x = f['y_array'][:]/1e3

f = h5.File("./t1p3/dat257.h5", "r")
z_n = f['R5x_2d'][:].T/1e3
y = f['x_array'][:]/1e3
x = f['y_array'][:]/1e3
z = (z_p + z_n)/2


## Rxy
f = h5.File("./t1p3/dat254.h5", "r")
z_p = f['R3x_2d'][:].T/1e3
y = f['x_array'][:]/1e3
x = f['y_array'][:]/1e3

f = h5.File("./t1p3/dat257.h5", "r")
z_n = f['R3x_2d'][:].T/1e3
y = f['x_array'][:]/1e3
x = f['y_array'][:]/1e3