code: def __init__(self, constant, slope):
      self.constant = constant
      self.slope = slope
  
imports: import numpy
label_desc: Use image node_id 1 to create a new AffineFunc object from inherited base classes: TransformFunction with example: obj = AffineFunc(constant, slope)