Skip to content

Commit d338fdf

Browse files
committed
updating
1 parent ad9631e commit d338fdf

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

mtpy/core/mt.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,9 +1028,7 @@ def add_white_noise(self, value, inplace=True):
10281028
] = self._transfer_function.transfer_function.real * (
10291029
noise_real
10301030
) + (
1031-
1j
1032-
* self._transfer_function.transfer_function.imag
1033-
* noise_imag
1031+
1j * self._transfer_function.transfer_function.imag * noise_imag
10341032
)
10351033

10361034
self._transfer_function["transfer_function_error"] = (
@@ -1044,16 +1042,20 @@ def add_white_noise(self, value, inplace=True):
10441042
] = self._transfer_function.transfer_function.real * (
10451043
noise_real
10461044
) + (
1047-
1j
1048-
* self._transfer_function.transfer_function.imag
1049-
* noise_imag
1045+
1j * self._transfer_function.transfer_function.imag * noise_imag
10501046
)
10511047

10521048
self._transfer_function["transfer_function_error"] = (
10531049
self._transfer_function.transfer_function_error + value
10541050
)
10551051
return new_mt_obj
10561052

1053+
def edit_curve(self, method="default", tolerance=0.05):
1054+
"""
1055+
try to remove bad points in a scientific way.
1056+
1057+
"""
1058+
10571059
def to_occam1d(self, data_filename=None, mode="det"):
10581060
"""
10591061
write an Occam1DData data file

mtpy/imaging/plot_mt_response.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,6 @@ def plot(self):
611611
# make plot_title and show
612612
if self.plot_title is None:
613613
self.plot_title = self.station
614-
print(self.font_dict)
615614
self.fig.suptitle(self.plot_title, fontdict=self.font_dict)
616615

617616
# be sure to show

0 commit comments

Comments
 (0)