Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "1.0.2"
__version__ = "1.0.3"

3 changes: 2 additions & 1 deletion trackers/rf_bucket.py
Original file line number Diff line number Diff line change
@@ -266,7 +266,8 @@ def is_in_separatrix(self, z, dp):
Returns boolean whether this coordinate is located
strictly inside the separatrix.
"""
return np.logical_and(np.logical_and(self.zleft < z, z < self.zright), self.hamiltonian(z, dp) > 0)
return np.logical_and(np.logical_and(self.zleft < z, z < self.zright),
self.hamiltonian(z, dp) > 0.01 * self.Hmax)

def bucket_area(self):
xmin, xmax = self.zleft, self.zright

0 comments on commit 4660100

Please sign in to comment.