thunderboltz.ThunderBoltz.read

ThunderBoltz.read(directory=None, read_input=True, read_cs_data=False, only=None)[source]

Read the simulation directory of a ThunderBoltz run, possibly all of its input and output files.

Parameters:
  • directory (str) – The location of the simulation directory from which to read.

  • read_input (bool) – Whether or not to read any input data.

  • read_cs_data (bool) – Whether or not to read cross section data. This can be expensive, and often isn’t necessary.

  • only (list or None) – Only read certain types of files. Default is ["thunderboltz.out", "Particle_Type", "Counts.dat", ""thunderboltz.log"].