fiesta.plotter.plot_sink_mass_evolutions#

fiesta.plotter.plot_sink_mass_evolutions(base_file_paths, min_nums, max_nums, time_unit=Unit('s'), mass_unit=Unit('g'), colors=None, linestyles=None, linewidths=None, labels=None, save=None, **kwargs)[source]#

Plot the total sink mass of AREPO Voronoi grids as a function of time.

Parameters:
  • base_file_paths (list of str’s) – The list of base file path strings to read ArepoVoronoiGrid from. The format of the AREPO snapshots is usually <base_file_path><num> where <num> is an positive integer corresponding to the snapshot number.

  • min_nums (list) – The list of starting value of <num> for each AREPO simulation.

  • max_nums (list) – The list of ending value of <num> for each AREPO simulation.

  • time_unit (Unit, optional) – The unit of time to use. Default value is u.s.

  • mass_unit (Unit, optional) – The unit of mass to use. Default value is u.g.

  • colors (list, optional) – A list of matplotlib-compatible color strings corresponding to each line plotted. If None (default), colors are picked by cycling through matplotlib tab10 colour palette.

  • linestyles (list, optional) – A list of matplotlib-compatible linestyle strings corresponding to each line plotted. If None (default), they are set to -.

  • linewidths (list, optional) – A list of linewidths corresponding to each line plotted. If None (default), they are set to 1.5.

  • labels (list, optional) – A list of labels corresponding to each line plotted. If None (default), they are numbered 1, ..., n.

  • save (str, optional) – File path to save the plot. If None (default), plot is not saved.

  • **kwargs (dict, optional) – Additional matplotlib-based keyword arguments to control finer details of the plot.

Returns:

fig (Figure) – Main Figure instance.