diff --git a/aperoll/star_field_items.py b/aperoll/star_field_items.py index 38e996a..a3180f2 100644 --- a/aperoll/star_field_items.py +++ b/aperoll/star_field_items.py @@ -157,12 +157,12 @@ def text(self): return ( "
"
             f"ID:      {self.star['AGASC_ID']}\n"
-            f"mag:     {self.star['MAG_ACA']:.2f} +- {self.star['MAG_ACA_ERR']/100:.2}\n"
+            f"mag:     {self.star['MAG_ACA']:.2f} +- {self.star['MAG_ACA_ERR'] / 100:.2}\n"
             f"color:   {self.star['COLOR1']:.2f}\n"
             f"ASPQ1:   {self.star['ASPQ1']}\n"
             f"ASPQ2:   {self.star['ASPQ2']}\n"
             f"class:   {self.star['CLASS']}\n"
-            f"pos err: {self.star['POS_ERR']/1000} mas\n"
+            f"pos err: {self.star['POS_ERR'] / 1000} mas\n"
             f"VAR:     {self.star['VAR']}"
             "
" ) @@ -576,12 +576,7 @@ def set_show_centroids(self, show=True): row, col = yagzag_to_pixels( self._centroids["YAGS"], self._centroids["ZAGS"], allow_bad=True ) - off_ccd = ( - (row < -511) - | (row > 511) - | (col < -511) - | (col > 511) - ) + off_ccd = (row < -511) | (row > 511) | (col < -511) | (col > 511) for i, centroid in enumerate(self.centroids): centroid.set_fiducial(self._centroids["IMGFID"][i]) if off_ccd[i]: