class_docstr: A class to output things in GLM passes through arrays of data.
docstr: Parameters
  ----------
  img : ``Image`` instance
      The output Image
  fn : callable
      A function that is applied to a
      models.model.LikelihoodModelResults instance
docstr_tok: ["Parameters","--","--","--","--","--","img",":","``","Image","``","instance","The","output","Image","fn",":","callable","A","function","that","is","applied","to","a","models.model.LikelihoodModelResults","instance"]
code: def __init__(self, img, fn, output_shape=None):
      """
      Parameters
      ----------
      img : ``Image`` instance
          The output Image
      fn : callable
          A function that is applied to a
          models.model.LikelihoodModelResults instance
      """
      self.img = img
      self.fn = fn
      self.output_shape = output_shape
  
file_path: nipy/nipy/modalities/fmri/fmristat/outputters.py
imports: import numpy
label_desc: Use image node_id 1 to create a new RegressionOutput object  with example: obj = RegressionOutput(img, fn, output_shape)