-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathF_extractTWT.py
More file actions
executable file
·40 lines (31 loc) · 899 Bytes
/
Copy pathF_extractTWT.py
File metadata and controls
executable file
·40 lines (31 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri May 15 16:19:41 2020
@author: sainteno
"""
#%% Import de librairies
#import itertools
import numpy as np
#import sys
import os
import h5py
#import math
#import numpy as np
#from scipy.stats import linregress
import matplotlib.pyplot as plt
import pandas as pd
#%% Import du script de définition des param geometrie et GPR max
from param_acquisition import Geometry,ParamMVG, ParamGPRMAX
#%% import le picking
from picking_radargramme import picking
from outils import read_parameters, rada_plot
#%% parcours le dossier OUT
def F_extractTWT(pathounet):
temp = np.genfromtxt(pathounet+'/TWT_EL.csv', delimiter=',',skip_header=1)
#try:
# temp = np.genfromtxt(pathounet+'/TWT_EL.csv', delimiter=',',skip_header=1)
# except:
# temp = np.empty((11))
# temp[:]=np.nan
return temp