[update] added possibility to remove the mean from picks (WIP for residual plotting)

This commit is contained in:
Marcel Paffrath 2024-08-15 17:15:10 +02:00
parent 42a7d12292
commit fa310461d0

View File

@ -432,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)