thunderboltz.ThunderBoltz.plot_edf_comps

ThunderBoltz.plot_edf_comps(steps='last', sample_cap=500000, bins=100, maxwellian=True, save=None)[source]

Plot the directional components of the energy distribution function.

Parameters:
  • steps (str, list[int], or int) –

    Options for which time steps to read:

    • "last": Only read the VDF of the last time step

    • "first": Only read the VDF of the first time step

    • "all": Read a separate VDF for each time step.

    • list[int]: Read VDF for each time step included in list.

    • int: read VDF at one specific time step.

  • sample_cap (int) – Limit the number of samples read from the dump file for very large files. Default is 500000. If bool(sample_cap) evaluates to False, then no cap will be imposed.

  • bins (int) – Total number of bins to divide the energy space into.

  • maxwellian (bool) – Option to draw a maxwellian distribution with the same temperature for comparison.

  • save (str) – Optional location of directory to save the figure in.