slurp_cube

zdm.analyze_cube.slurp_cube(input_file: str, prefix: str, outfile: str, nsurveys, debug: bool = False, suffix: str = '.csv')[source]

Slurp the cube ASCII output files and write lC and ll into a numpy savez file

Parameters:
  • input_file (str) – parameter file used to generate the cube

  • prefix (str) – prefix on the output files

  • outfile (str) – output file name. Should have .npz extension

  • nsurveys (int) – Number of surveys in the analysis.

  • debug (int, optional) – Debug?

  • suffix (str, optional) – File ending. Allows for old .out files