code: def write(self, outfile, clobber=True, **kwargs):
          
          fitsio.write(outfile,self.data,clobber=True,**kwargs)
docs: Write the current object catalog to FITS file.
  
          Parameters:
          -----------
          filename : the FITS file to write.
          clobber  : remove existing file
          kwargs   : passed to fitsio.write
  
          Returns:
          --------
          None