SpanSet¶
-
class
lsst.afw.geom.SpanSet¶ Bases:
pybind11_builtins.pybind11_objectMethods Summary
clearMask(self, arg0, arg1)clippedTo(self, arg0)computeCentroid(self)computeShape(self)contains(*args, **kwargs)Overloaded function. copyImage(*args, **kwargs)Overloaded function. copyMaskedImage(*args, **kwargs)Overloaded function. dilated(*args, **kwargs)Overloaded function. eroded(*args, **kwargs)Overloaded function. findEdgePixels(self)flatten(*args, **kwargs)Overloaded function. fromMask(*args, **kwargs)Overloaded function. fromShape(*args, **kwargs)Overloaded function. getArea(self)getBBox(self)indices(self)intersect(*args, **kwargs)Overloaded function. intersectNot(*args, **kwargs)Overloaded function. isContiguous(self)isPersistable(self)overlaps(self, arg0)readFits(*args, **kwargs)Overloaded function. setImage(*args, **kwargs)Overloaded function. setMask(self, arg0, arg1)shiftedBy(*args, **kwargs)Overloaded function. split(self)transformedBy(*args, **kwargs)Overloaded function. unflatten(*args, **kwargs)Overloaded function. union(*args, **kwargs)Overloaded function. writeFits(*args, **kwargs)Overloaded function. Methods Documentation
-
clearMask(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Mask<int>, arg1: int) → None¶
-
clippedTo(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.Box2I) → lsst.afw.geom.spanSet.SpanSet¶
-
computeCentroid(self: lsst.afw.geom.spanSet.SpanSet) → lsst.geom.Point2D¶
-
computeShape(self: lsst.afw.geom.spanSet.SpanSet) → lsst.afw.geom.ellipses.quadrupole.quadrupole.Quadrupole¶
-
contains(*args, **kwargs)¶ Overloaded function.
- contains(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> bool
- contains(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.Point2I) -> bool
-
copyImage(*args, **kwargs)¶ Overloaded function.
- copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<unsigned short>, arg1: lsst::afw::image::Image<unsigned short>) -> None
- copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<unsigned long>, arg1: lsst::afw::image::Image<unsigned long>) -> None
- copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<int>, arg1: lsst::afw::image::Image<int>) -> None
- copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<float>, arg1: lsst::afw::image::Image<float>) -> None
- copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<double>, arg1: lsst::afw::image::Image<double>) -> None
-
copyMaskedImage(*args, **kwargs)¶ Overloaded function.
- copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<unsigned short, int, float>, arg1: lsst::afw::image::MaskedImage<unsigned short, int, float>) -> None
- copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<unsigned long, int, float>, arg1: lsst::afw::image::MaskedImage<unsigned long, int, float>) -> None
- copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<int, int, float>, arg1: lsst::afw::image::MaskedImage<int, int, float>) -> None
- copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<float, int, float>, arg1: lsst::afw::image::MaskedImage<float, int, float>) -> None
- copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<double, int, float>, arg1: lsst::afw::image::MaskedImage<double, int, float>) -> None
-
dilated(*args, **kwargs)¶ Overloaded function.
- dilated(self: lsst.afw.geom.spanSet.SpanSet, radius: int, stencil: lsst.afw.geom.spanSet.Stencil = Stencil.CIRCLE) -> lsst.afw.geom.spanSet.SpanSet
- dilated(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
-
eroded(*args, **kwargs)¶ Overloaded function.
- eroded(self: lsst.afw.geom.spanSet.SpanSet, radius: int, stencil: lsst.afw.geom.spanSet.Stencil = Stencil.CIRCLE) -> lsst.afw.geom.spanSet.SpanSet
- eroded(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
-
findEdgePixels(self: lsst.afw.geom.spanSet.SpanSet) → lsst.afw.geom.spanSet.SpanSet¶
-
flatten(*args, **kwargs)¶ Overloaded function.
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> numpy.ndarray
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- flatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
-
static
fromMask(*args, **kwargs)¶ Overloaded function.
- fromMask(arg0: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
- fromMask(arg0: lsst::afw::image::Mask<int>, arg1: int) -> lsst.afw.geom.spanSet.SpanSet
-
static
fromShape(*args, **kwargs)¶ Overloaded function.
- fromShape(radius: int, stencil: lsst.afw.geom.spanSet.Stencil = Stencil.CIRCLE, offset: lsst.geom.Point2I = Point2I(0, 0)) -> lsst.afw.geom.spanSet.SpanSet
- fromShape(radius: int, stencil: lsst.afw.geom.spanSet.Stencil = Stencil.CIRCLE, offset: Tuple[int, int] = (0, 0)) -> lsst.afw.geom.spanSet.SpanSet
- fromShape(arg0: lsst.afw.geom.ellipses.ellipse.ellipse.Ellipse) -> lsst.afw.geom.spanSet.SpanSet
-
getArea(self: lsst.afw.geom.spanSet.SpanSet) → int¶
-
getBBox(self: lsst.afw.geom.spanSet.SpanSet) → lsst.geom.Box2I¶
-
indices(self: lsst.afw.geom.spanSet.SpanSet) → Tuple[List[int], List[int]]¶
-
intersect(*args, **kwargs)¶ Overloaded function.
- intersect(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
- intersect(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>, bitmask: int) -> lsst.afw.geom.spanSet.SpanSet
- intersect(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
-
intersectNot(*args, **kwargs)¶ Overloaded function.
- intersectNot(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
- intersectNot(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>, bitmask: int) -> lsst.afw.geom.spanSet.SpanSet
- intersectNot(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
-
isContiguous(self: lsst.afw.geom.spanSet.SpanSet) → bool¶
-
isPersistable(self: lsst.afw.geom.spanSet.SpanSet) → bool¶
-
overlaps(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) → bool¶
-
static
readFits(*args, **kwargs)¶ Overloaded function.
- readFits(fileName: str, hdu: int = -2147483648) -> lsst.afw.geom.spanSet.SpanSet
- readFits(manager: lsst::afw::fits::MemFileManager, hdu: int = -2147483648) -> lsst.afw.geom.spanSet.SpanSet
-
setImage(*args, **kwargs)¶ Overloaded function.
- setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<unsigned short>, val: int, region: lsst.geom.Box2I = Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool = False) -> None
- setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<unsigned long>, val: int, region: lsst.geom.Box2I = Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool = False) -> None
- setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<int>, val: int, region: lsst.geom.Box2I = Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool = False) -> None
- setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<float>, val: float, region: lsst.geom.Box2I = Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool = False) -> None
- setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<double>, val: float, region: lsst.geom.Box2I = Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool = False) -> None
-
setMask(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Mask<int>, arg1: int) → None¶
-
shiftedBy(*args, **kwargs)¶ Overloaded function.
- shiftedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: int, arg1: int) -> lsst.afw.geom.spanSet.SpanSet
- shiftedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.Extent2I) -> lsst.afw.geom.spanSet.SpanSet
-
split(self: lsst.afw.geom.spanSet.SpanSet) → List[lsst.afw.geom.spanSet.SpanSet]¶
-
transformedBy(*args, **kwargs)¶ Overloaded function.
- transformedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.LinearTransform) -> lsst.afw.geom.spanSet.SpanSet
- transformedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.AffineTransform) -> lsst.afw.geom.spanSet.SpanSet
- transformedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::geom::Transform<lsst::afw::geom::Point2Endpoint, lsst::afw::geom::Point2Endpoint>) -> lsst.afw.geom.spanSet.SpanSet
-
unflatten(*args, **kwargs)¶ Overloaded function.
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: numpy.ndarray) -> numpy.ndarray
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
- unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: numpy.ndarray, input: numpy.ndarray, xy0: lsst.geom.Point2I = Point2I(0, 0)) -> None
-
union(*args, **kwargs)¶ Overloaded function.
- union(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
- union(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>, bitmask: int) -> lsst.afw.geom.spanSet.SpanSet
- union(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
-
writeFits(*args, **kwargs)¶ Overloaded function.
- writeFits(self: lsst.afw.geom.spanSet.SpanSet, fileName: str, mode: str = ‘w’) -> None
- writeFits(self: lsst.afw.geom.spanSet.SpanSet, manager: lsst::afw::fits::MemFileManager, mode: str = ‘w’) -> None
-