Compare commits
2 Commits
2e49813292
...
fa310461d0
Author | SHA1 | Date | |
---|---|---|---|
fa310461d0 | |||
42a7d12292 |
@ -231,7 +231,9 @@ class Array_map(QtWidgets.QWidget):
|
|||||||
if cont:
|
if cont:
|
||||||
indices = inds['ind']
|
indices = inds['ind']
|
||||||
text += ' | Station: ' if len(indices) == 1 else ' | Stations: '
|
text += ' | Station: ' if len(indices) == 1 else ' | Stations: '
|
||||||
text += ' - '.join([self._station_onpick_ids[index] for index in indices])
|
text += ' - '.join([self._station_onpick_ids[index] for index in indices[:5]])
|
||||||
|
if len(indices) > 5:
|
||||||
|
text += '...'
|
||||||
|
|
||||||
self.status_label.setText(text)
|
self.status_label.setText(text)
|
||||||
|
|
||||||
@ -430,6 +432,9 @@ class Array_map(QtWidgets.QWidget):
|
|||||||
picks_rel[st_id] = pick
|
picks_rel[st_id] = pick
|
||||||
return picks_rel
|
return picks_rel
|
||||||
|
|
||||||
|
def get_picks_rel_mean_corr(picks):
|
||||||
|
return get_picks_rel(picks, func=np.nanmean)
|
||||||
|
|
||||||
self.picks, self.uncertainties = get_picks(self.stations_dict)
|
self.picks, self.uncertainties = get_picks(self.stations_dict)
|
||||||
self.picks_rel = get_picks_rel(self.picks)
|
self.picks_rel = get_picks_rel(self.picks)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user