Note
Go to the end to download the full example code.
Import MPT DAS-1 data¶
import reda
normal loading of tdip data
ip = reda.TDIP()
# with profiler():
ip.import_mpt('data_mpt_das1/TD_2000ms.Data')
print(ip.data[['a', 'b', 'm', 'n', 'id', 'norrec']])
# import IPython
# IPython.embed()
# exit()
a b m n id norrec
0 2 1 3 4 0 nor
1 2 1 4 5 1 nor
2 2 1 5 6 2 nor
3 2 1 6 7 3 nor
4 2 1 7 8 4 nor
.. .. .. .. .. ... ...
430 28 27 30 31 507 nor
431 28 27 31 32 508 nor
432 29 28 30 31 509 nor
433 29 28 31 32 510 nor
434 30 29 31 32 511 nor
[569 rows x 6 columns]
import reda.utils.geometric_factors as geomK
K = geomK.compute_K_analytical(ip.data, spacing=2)
geomK.apply_K(ip.data, K)
import reda.utils.fix_sign_with_K as fixK
ip.data = fixK.fix_sign_with_K(ip.data)