Skip to content

Commit 8f8d605

Browse files
committed
docs
1 parent a57a658 commit 8f8d605

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

trap_metric.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def get_time_bounds(self,
144144
break
145145
second_region_grad = l_grad[split_indx:eq_indx]
146146

147+
# Deprecated code for detecting flatness relative to arctan:
147148
# tan_inv = np.degrees(np.arctan(second_region_grad))
148149
# tan_thresh = np.degrees(np.arctan(np.max(l_grad[:split_indx])))
149150
# mask_inf = np.where(tan_inv>=tan_thresh)

0 commit comments

Comments
 (0)