diff --git a/_version.py b/_version.py index 73a2e28c..8508c460 100644 --- a/_version.py +++ b/_version.py @@ -1,2 +1,2 @@ -__version__ = "1.0.2" +__version__ = "1.0.3" diff --git a/trackers/rf_bucket.py b/trackers/rf_bucket.py index f9fb5a77..2e445c2c 100644 --- a/trackers/rf_bucket.py +++ b/trackers/rf_bucket.py @@ -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