lsst.afw g8f2ba02de7+6dddbecb19
Functions
lsst.afw.image.image._disableArithmetic Namespace Reference

Functions

def wrapNotImplemented (cls, attr)
 
def disableImageArithmetic (cls)
 
def disableMaskArithmetic (cls)
 

Function Documentation

◆ disableImageArithmetic()

def lsst.afw.image.image._disableArithmetic.disableImageArithmetic (   cls)
Add helpful error messages about image arithmetic

Definition at line 66 of file _disableArithmetic.py.

◆ disableMaskArithmetic()

def lsst.afw.image.image._disableArithmetic.disableMaskArithmetic (   cls)
Add helpful error messages about mask arithmetic

Definition at line 73 of file _disableArithmetic.py.

◆ wrapNotImplemented()

def lsst.afw.image.image._disableArithmetic.wrapNotImplemented (   cls,
  attr 
)
Wrap a method providing a helpful error message about image arithmetic

Parameters
----------
cls : `type`
    Class in which the method is to be defined.
attr : `str`
    Name of the method.

Returns
-------
method : callable
    Wrapped method.

Definition at line 27 of file _disableArithmetic.py.