Reset some former changes, net_magnitude still buggy, as it returns Nonetype if no reliable picks are available!
This commit is contained in:
@@ -132,7 +132,7 @@ class Magnitude(object):
|
||||
station_count=len(self.magnitudes),
|
||||
azimuthal_gap=self.origin_id.get_referred_object().quality.azimuthal_gap)
|
||||
else:
|
||||
# no saling necessary
|
||||
# no scaling necessary
|
||||
mag = ope.Magnitude(
|
||||
mag=np.median([M.mag for M in self.magnitudes.values()]),
|
||||
magnitude_type=self.type,
|
||||
|
||||
Reference in New Issue
Block a user