[revert] went back to old quality assessment without SNR
This commit is contained in:
parent
529939b4b8
commit
d5e9cd07d4
15
PyLoT.py
15
PyLoT.py
@ -2719,7 +2719,6 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
stat_picks = self.getPicks(type=picktype)[station]
|
stat_picks = self.getPicks(type=picktype)[station]
|
||||||
settings = QSettings()
|
settings = QSettings()
|
||||||
compclass = settings.value('compclass')
|
|
||||||
|
|
||||||
for phase in stat_picks:
|
for phase in stat_picks:
|
||||||
if phase == 'SPt': continue # wadati SP time
|
if phase == 'SPt': continue # wadati SP time
|
||||||
@ -2729,14 +2728,14 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
phaseID = self.getPhaseID(phase)
|
phaseID = self.getPhaseID(phase)
|
||||||
# get quality classes
|
# get quality classes
|
||||||
# if phaseID == 'P':
|
if phaseID == 'P':
|
||||||
# quality = getQualityFromUncertainty(picks['spe'], self._inputs['timeerrorsP'])
|
quality = getQualityFromUncertainty(picks['spe'], self._inputs['timeerrorsP'])
|
||||||
# elif phaseID == 'S':
|
elif phaseID == 'S':
|
||||||
# quality = getQualityFromUncertainty(picks['spe'], self._inputs['timeerrorsS'])
|
quality = getQualityFromUncertainty(picks['spe'], self._inputs['timeerrorsS'])
|
||||||
|
|
||||||
quality = getPickQuality(self.get_data().getWFData(),
|
# quality = getPickQuality(self.get_data().getWFData(),
|
||||||
stat_picks, self._inputs, phaseID,
|
# stat_picks, self._inputs, phaseID,
|
||||||
compclass)
|
# compclass)
|
||||||
|
|
||||||
mpp = picks['mpp'] - stime
|
mpp = picks['mpp'] - stime
|
||||||
if picks['epp'] and picks['lpp']:
|
if picks['epp'] and picks['lpp']:
|
||||||
|
Loading…
Reference in New Issue
Block a user