We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a57a658 commit 8f8d605Copy full SHA for 8f8d605
1 file changed
trap_metric.py
@@ -144,6 +144,7 @@ def get_time_bounds(self,
144
break
145
second_region_grad = l_grad[split_indx:eq_indx]
146
147
+ # Deprecated code for detecting flatness relative to arctan:
148
# tan_inv = np.degrees(np.arctan(second_region_grad))
149
# tan_thresh = np.degrees(np.arctan(np.max(l_grad[:split_indx])))
150
# mask_inf = np.where(tan_inv>=tan_thresh)
0 commit comments