original_docstring:  Write image to files implied by filename string
  
          Parameters
          ----------
          filename : str
             filename to which to save image.  We will parse `filename`
             with ``filespec_to_file_map`` to work out names for image,
             header etc.
  
          Returns
          -------
          None
          
docstring: Write image to files implied by filename string
  Parameters
  
  filename : str
  filename to which to save image.
  
  Returns
  
  None
docstring_tokens: Write image to files implied by filename string Parameters filename : str filename to which to save image . Returns None
code: def to_filename(self, filename):
          ''' Write image to files implied by filename string
  
          Parameters
          ----------
          filename : str
             filename to which to save image.  We will parse `filename`
             with ``filespec_to_file_map`` to work out names for image,
             header etc.
  
          Returns
          -------
          None
          '''
          self.file_map = self.filespec_to_file_map(filename)
          self.to_file_map()
code_tokens: def to_filename ( self , filename ) : self . file_map = self . filespec_to_file_map ( filename ) self . to_file_map ( )
short_docstring: Write image to files implied by filename string
  Parameters
short_docstring_tokens: Write image to files implied by filename string Parameters
comment: ''' Write image to files implied by filename string
  
          Parameters
          ----------
          filename : str
             filename to which to save image.  We will parse `filename`
             with ``filespec_to_file_map`` to work out names for image,
             header etc.
  
          Returns
          -------
          None
          '''