SpanSet

class lsst.afw.geom.SpanSet

Bases: pybind11_builtins.pybind11_object_56

Methods Summary

clearMask(...)
clippedTo(...)
computeCentroid(...)
computeShape(...)
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(...)
flatten(*args, **kwargs) Overloaded function.
fromMask(*args, **kwargs) Overloaded function.
fromShape(*args, **kwargs) Overloaded function.
getArea(...)
getBBox(...)
indices(...)
intersect(*args, **kwargs) Overloaded function.
intersectNot(*args, **kwargs) Overloaded function.
isContiguous(...)
isPersistable(...)
overlaps(...)
readFits(*args, **kwargs) Overloaded function.
setImage(*args, **kwargs) Overloaded function.
setMask(...)
shiftedBy(*args, **kwargs) Overloaded function.
split(...)
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.box.Box2I) → lsst.afw.geom.spanSet.SpanSet
computeCentroid(self: lsst.afw.geom.spanSet.SpanSet) → lsst.geom.coordinates.coordinates.Point2D
computeShape(self: lsst.afw.geom.spanSet.SpanSet) → lsst.afw.geom.ellipses._quadrupole.Quadrupole
contains(*args, **kwargs)

Overloaded function.

  1. contains(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> bool
  2. contains(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.coordinates.coordinates.Point2I) -> bool
copyImage(*args, **kwargs)

Overloaded function.

  1. copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<unsigned short>, arg1: lsst::afw::image::Image<unsigned short>) -> None
  2. copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<unsigned long>, arg1: lsst::afw::image::Image<unsigned long>) -> None
  3. copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<int>, arg1: lsst::afw::image::Image<int>) -> None
  4. copyImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::Image<float>, arg1: lsst::afw::image::Image<float>) -> None
  5. 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.

  1. 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
  2. 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
  3. copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<int, int, float>, arg1: lsst::afw::image::MaskedImage<int, int, float>) -> None
  4. copyMaskedImage(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst::afw::image::MaskedImage<float, int, float>, arg1: lsst::afw::image::MaskedImage<float, int, float>) -> None
  5. 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.

  1. dilated(self: lsst.afw.geom.spanSet.SpanSet, radius: int, stencil: lsst.afw.geom.spanSet.Stencil=Stencil.CIRCLE) -> lsst.afw.geom.spanSet.SpanSet
  2. dilated(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
eroded(*args, **kwargs)

Overloaded function.

  1. eroded(self: lsst.afw.geom.spanSet.SpanSet, radius: int, stencil: lsst.afw.geom.spanSet.Stencil=Stencil.CIRCLE) -> lsst.afw.geom.spanSet.SpanSet
  2. 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.

  1. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<unsigned short, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<unsigned short, 1, 1>
  2. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<unsigned short, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<unsigned short, 2, 2>
  3. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned short, 1, 0>, input: ndarray::Array<unsigned short, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  4. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned short, 2, 0>, input: ndarray::Array<unsigned short, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  5. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<unsigned long, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<unsigned long, 1, 1>
  6. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<unsigned long, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<unsigned long, 2, 2>
  7. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned long, 1, 0>, input: ndarray::Array<unsigned long, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  8. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned long, 2, 0>, input: ndarray::Array<unsigned long, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  9. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<int, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<int, 1, 1>
  10. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<int, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<int, 2, 2>
  11. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<int, 1, 0>, input: ndarray::Array<int, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  12. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<int, 2, 0>, input: ndarray::Array<int, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  13. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<float, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<float, 1, 1>
  14. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<float, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<float, 2, 2>
  15. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<float, 1, 0>, input: ndarray::Array<float, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  16. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<float, 2, 0>, input: ndarray::Array<float, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  17. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<double, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<double, 1, 1>
  18. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<double, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<double, 2, 2>
  19. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<double, 1, 0>, input: ndarray::Array<double, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  20. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<double, 2, 0>, input: ndarray::Array<double, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  21. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<long, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<long, 1, 1>
  22. flatten(self: lsst.afw.geom.spanSet.SpanSet, input: ndarray::Array<long, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> ndarray::Array<long, 2, 2>
  23. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<long, 1, 0>, input: ndarray::Array<long, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  24. flatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<long, 2, 0>, input: ndarray::Array<long, 3, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
fromMask(*args, **kwargs)

Overloaded function.

  1. fromMask(arg0: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
  2. fromMask(arg0: lsst::afw::image::Mask<int>, arg1: int) -> lsst.afw.geom.spanSet.SpanSet
fromShape(*args, **kwargs)

Overloaded function.

  1. fromShape(radius: int, stencil: lsst.afw.geom.spanSet.Stencil=Stencil.CIRCLE, offset: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> lsst.afw.geom.spanSet.SpanSet
  2. fromShape(radius: int, stencil: lsst.afw.geom.spanSet.Stencil=Stencil.CIRCLE, offset: Tuple[int, int]=(0, 0)) -> lsst.afw.geom.spanSet.SpanSet
  3. fromShape(arg0: lsst.afw.geom.ellipses._ellipse.Ellipse) -> lsst.afw.geom.spanSet.SpanSet
getArea(self: lsst.afw.geom.spanSet.SpanSet) → int
getBBox(self: lsst.afw.geom.spanSet.SpanSet) → lsst.geom.box.Box2I
indices(self: lsst.afw.geom.spanSet.SpanSet) → Tuple[List[int], List[int]]
intersect(*args, **kwargs)

Overloaded function.

  1. intersect(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
  2. intersect(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>, bitmask: int) -> lsst.afw.geom.spanSet.SpanSet
  3. intersect(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
intersectNot(*args, **kwargs)

Overloaded function.

  1. intersectNot(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
  2. intersectNot(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>, bitmask: int) -> lsst.afw.geom.spanSet.SpanSet
  3. 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
readFits(*args, **kwargs)

Overloaded function.

  1. readFits(fileName: str, hdu: int=-2147483648) -> lsst.afw.geom.spanSet.SpanSet
  2. readFits(manager: lsst::afw::fits::MemFileManager, hdu: int=-2147483648) -> lsst.afw.geom.spanSet.SpanSet
setImage(*args, **kwargs)

Overloaded function.

  1. setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<unsigned short>, val: int, region: lsst.geom.box.Box2I=Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool=False) -> None
  2. setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<unsigned long>, val: int, region: lsst.geom.box.Box2I=Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool=False) -> None
  3. setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<int>, val: int, region: lsst.geom.box.Box2I=Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool=False) -> None
  4. setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<float>, val: float, region: lsst.geom.box.Box2I=Box2I(minimum=Point2I(0, 0), dimensions=Extent2I(0, 0)), doClip: bool=False) -> None
  5. setImage(self: lsst.afw.geom.spanSet.SpanSet, image: lsst::afw::image::Image<double>, val: float, region: lsst.geom.box.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.

  1. shiftedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: int, arg1: int) -> lsst.afw.geom.spanSet.SpanSet
  2. shiftedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.coordinates.coordinates.Extent2I) -> lsst.afw.geom.spanSet.SpanSet
split(self: lsst.afw.geom.spanSet.SpanSet) → List[lsst.afw.geom.spanSet.SpanSet]
transformedBy(*args, **kwargs)

Overloaded function.

  1. transformedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.linearTransform.LinearTransform) -> lsst.afw.geom.spanSet.SpanSet
  2. transformedBy(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.geom.affineTransform.AffineTransform) -> lsst.afw.geom.spanSet.SpanSet
  3. 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.

  1. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<unsigned short, 1, 0>) -> ndarray::Array<unsigned short, 2, 2>
  2. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<unsigned short, 2, 0>) -> ndarray::Array<unsigned short, 3, 3>
  3. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned short, 2, 0>, input: ndarray::Array<unsigned short, 1, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  4. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned short, 3, 0>, input: ndarray::Array<unsigned short, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  5. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<unsigned long, 1, 0>) -> ndarray::Array<unsigned long, 2, 2>
  6. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<unsigned long, 2, 0>) -> ndarray::Array<unsigned long, 3, 3>
  7. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned long, 2, 0>, input: ndarray::Array<unsigned long, 1, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  8. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<unsigned long, 3, 0>, input: ndarray::Array<unsigned long, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  9. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<int, 1, 0>) -> ndarray::Array<int, 2, 2>
  10. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<int, 2, 0>) -> ndarray::Array<int, 3, 3>
  11. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<int, 2, 0>, input: ndarray::Array<int, 1, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  12. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<int, 3, 0>, input: ndarray::Array<int, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  13. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<float, 1, 0>) -> ndarray::Array<float, 2, 2>
  14. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<float, 2, 0>) -> ndarray::Array<float, 3, 3>
  15. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<float, 2, 0>, input: ndarray::Array<float, 1, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  16. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<float, 3, 0>, input: ndarray::Array<float, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  17. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<double, 1, 0>) -> ndarray::Array<double, 2, 2>
  18. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<double, 2, 0>) -> ndarray::Array<double, 3, 3>
  19. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<double, 2, 0>, input: ndarray::Array<double, 1, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  20. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<double, 3, 0>, input: ndarray::Array<double, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  21. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<long, 1, 0>) -> ndarray::Array<long, 2, 2>
  22. unflatten(self: lsst.afw.geom.spanSet.SpanSet, arg0: ndarray::Array<long, 2, 0>) -> ndarray::Array<long, 3, 3>
  23. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<long, 2, 0>, input: ndarray::Array<long, 1, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
  24. unflatten(self: lsst.afw.geom.spanSet.SpanSet, output: ndarray::Array<long, 3, 0>, input: ndarray::Array<long, 2, 0>, xy0: lsst.geom.coordinates.coordinates.Point2I=Point2I(0, 0)) -> None
union(*args, **kwargs)

Overloaded function.

  1. union(self: lsst.afw.geom.spanSet.SpanSet, arg0: lsst.afw.geom.spanSet.SpanSet) -> lsst.afw.geom.spanSet.SpanSet
  2. union(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>, bitmask: int) -> lsst.afw.geom.spanSet.SpanSet
  3. union(self: lsst.afw.geom.spanSet.SpanSet, other: lsst::afw::image::Mask<int>) -> lsst.afw.geom.spanSet.SpanSet
writeFits(*args, **kwargs)

Overloaded function.

  1. writeFits(self: lsst.afw.geom.spanSet.SpanSet, fileName: str, mode: str=’w’) -> None
  2. writeFits(self: lsst.afw.geom.spanSet.SpanSet, manager: lsst::afw::fits::MemFileManager, mode: str=’w’) -> None