thunderboltz.ThunderBoltz.read_tb_params

ThunderBoltz.read_tb_params(fname, ignore=[])[source]

Takes file name of an input deck, updates the simulation parameters and returns the simulation parameters which were read from the file fname.

Parameters:
  • fname (str) – The name of the indeck file to read.

  • ignore (list[str]) – Don’t read certain ThunderBoltz params, e.g. ["MP", "QP"] would ignore the mass and charge parameters in an indeck file.

Returns:

tb_params.

Return type:

dict