class_docstr: A cost function generator.
      
docstr: CostFactory builds a list of forward model factories, and maintains a list
  of associated model names and number of inputs. Can be used to combine several
  models into a single cost function.
  
  Takes no initial inputs.
          
docstr_tok: ["CostFactory","builds","a","list","of","forward","model","factories",",","and","maintains","a","list","of","associated","model","names","and","number","of","inputs",".","Can","be","used","to","combine","several","models","into","a","single","cost","function",".","Takes","no","initial","inputs","."]
code: def __init__(self):
      """
      CostFactory builds a list of forward model factories, and maintains a list
      of associated model names and number of inputs. Can be used to combine several
      models into a single cost function.
  
      Takes no initial inputs.
      """
      self._names = []
      self._forwardFactories = []
      self._inputs = []
      self._inputFilters = {}
      self._outputFilters = []
      self._inputCheckers = []
      pass
  
file_path: mystic/mystic/forward_model.py
imports: from mystic.filters import identity, component
  from mystic.filters import null_check
  from numpy import pi, sqrt, array, mgrid, random, real, conjugate, arange, sum
label_desc: Use image node_id 1 to create a new CostFactory object from inherited base classes: object with example: obj = CostFactory()