original_docstring: 
      Write out a numpy datacube in the c2ray format
      i.e. as binary with first three integers the dimensions of
      the box.
  
      By default assumes float output
      
docstring: Write out a numpy datacube in the c2ray format
  i.e. as binary with first three integers the dimensions of
  the box.
  
  By default assumes float output
docstring_tokens: Write out a numpy datacube in the c2ray format i . e . as binary with first three integers the dimensions of the box . By default assumes float output
code: def output_c2ray(datacube, outfilename = "test.dat", dtype = np.float32):
      """
      Write out a numpy datacube in the c2ray format
      i.e. as binary with first three integers the dimensions of
      the box.
  
      By default assumes float output
      """
      box = np.insert(datacube, 0, datacube.shape)
      of = open(outfilename, "wb")
      of.write(box.astype(dtype))
      of.close()
code_tokens: def output_c2ray ( datacube , outfilename = "test.dat" , dtype = np . float32 ) : box = np . insert ( datacube , 0 , datacube . shape ) of = open ( outfilename , "wb" ) of . write ( box . astype ( dtype ) ) of . close ( )
short_docstring: Write out a numpy datacube in the c2ray format
  i.e.
short_docstring_tokens: Write out a numpy datacube in the c2ray format i . e .
comment: """
      Write out a numpy datacube in the c2ray format
      i.e. as binary with first three integers the dimensions of
      the box.
  
      By default assumes float output
      """