diff options
Diffstat (limited to 'astro/oskar/fits2skymodel.py')
-rwxr-xr-x | astro/oskar/fits2skymodel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/oskar/fits2skymodel.py b/astro/oskar/fits2skymodel.py index 7d0295a..8627324 100755 --- a/astro/oskar/fits2skymodel.py +++ b/astro/oskar/fits2skymodel.py @@ -161,7 +161,7 @@ class SkyModel: flux : source (Stokes I) flux density (Jy) """ if self.mask is None: - self.mask = self.image >= self.minvalue + self.mask = np.abs(self.image) >= self.minvalue logger.info("Use minimum threshold to determine output sky") else: logger.info("Use provided mask to determine output sky") |