diff options
Diffstat (limited to 'fg21sim/galactic/snr.py')
-rw-r--r-- | fg21sim/galactic/snr.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fg21sim/galactic/snr.py b/fg21sim/galactic/snr.py index 2e6d21c..f35337d 100644 --- a/fg21sim/galactic/snr.py +++ b/fg21sim/galactic/snr.py @@ -180,8 +180,10 @@ class SuperNovaRemnants: logger.info("SNRs catalog: filtered out due to incomplete data: " + "{0:d} objects".format(n_delete)) # Filter out the SNRs lying outside the sky region (e.g., a patch) - skycoords = SkyCoord(l=self.catalog["glon"], b=self.catalog["glat"], - frame="galactic", unit="deg") + skycoords = SkyCoord(l=self.catalog["glon"], # noqa: E741 + b=self.catalog["glat"], + frame="galactic", + unit="deg") inside = self.sky.contains(skycoords) n_remain = inside.sum() n_delete = len(inside) - n_remain |