예제 #1
0
파일: skyimage.py 프로젝트: rij/jwst
 def _update_bounding_polygon(self):
     polygons = [im.polygon for im in self._images]
     if len(polygons) == 0:
         self._polygon = SphericalPolygon([])
         self._radec = []
     else:
         self._polygon = SphericalPolygon.multi_union(polygons)
         self._radec = list(self._polygon.to_radec())
예제 #2
0
파일: skyimage.py 프로젝트: philhodge/jwst
 def _update_bounding_polygon(self):
     polygons = [im.polygon for im in self._images]
     if len(polygons) == 0:
         self._polygon = SphericalPolygon([])
         self._radec = []
     else:
         self._polygon = SphericalPolygon.multi_union(polygons)
         self._radec = list(self._polygon.to_radec())
예제 #3
0
파일: wcsimage.py 프로젝트: sosey/jwst
 def update_bounding_polygon(self):
     """ Recompute bounding polygons of the member images.
     """
     polygons = [im.polygon for im in self._images]
     if len(polygons) == 0:
         self._polygon = SphericalPolygon([])
     else:
         self._polygon = SphericalPolygon.multi_union(polygons)