mcfacts.outputs.ReadOutputs

Define output handling functions for McFACTS

Logfile

“bin_num_max”int

Maximum allowable number of binaries at a given time. Sets array size.

“fname_ini”str

Name of the ini file used for this run.

“fname_output_mergers”str

Name of the output file for mergers.

“fname_output”str

Name of the output file for the run.

“fname_snapshots_bh”str

Name of the output file recording BH info at each snapshot.

“saves_snapshots”int

1: save snapshots, 0: don’t save snapshots

“verbose”int

1: print extra info, 0: don’t print extra info

“work_directory”str

The working directory used for the run.

“seed”int

Random seed used for the run.

“fname_log”str

Name of the log file storing details of the run.

“runtime_directory”str

The runtime directory used for the run.

mcfacts.outputs.ReadOutputs.ReadLog(fname_log, verbose=0)

Output log parser

Parameters:
  • fname_log (str) – Path and name to the log file from a McFACTS run

  • verbose (int, optional) – Print extra info, by default 0