lsst.afw  20.0.0-9-g61a2a9a3d+14f89e4eca
Functions
lsst.afw.image.disableArithmetic Namespace Reference

Functions

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

Function Documentation

◆ disableImageArithmetic()

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

Definition at line 45 of file disableArithmetic.py.

◆ disableMaskArithmetic()

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

Definition at line 52 of file disableArithmetic.py.

◆ wrapNotImplemented()

def lsst.afw.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 6 of file disableArithmetic.py.