plot_profiles

deprojected_sersic_models.plot.plot_profiles(sersic_profs, r=array([0., 1., 2., 3., 4., 5.]), rlim=None, rlog=True, ylog=None, prof_names=None, plot_kwargs=None, fig_kwargs=None, fileout=None)[source]

Function to show all six parameter profiles for the Sersic mass distribution(s).

Parameters:
  • sersic_profs (array_like or DeprojSersicModel instance or Sersic profile table dictionary.) – Distributions to plot. Can be a list of DeprojSersicModel instances, or a list of Sersic profile table dictionaries, or a single instance of either.

  • r (array_like, optional) – Radii over which to show profile. Ignored if sersic_profs contains tables, in favor of the table radii r. Default: np.arange(0., 6., 1.)

  • rlim (array_like or None, optional) – If set, spefcify r plot bounds. Default: None (default bounds)

  • rlog (array_like or bool, optional) – Option to plot log of radius instead of linear. Default: True

  • ylog (array_like or bool, optional) – Option to plot log of profile instead of linear. Default: Specified per panel

  • prof_names (array_like, optional) – Specify which profilies to plot. Default: None (all six standard profiiles)

  • plot_kwargs (array_like or dict, optional) – Option to pass plotting keyword arguments. Should include either dict or list of dicts, to match number of input profiles. Default: None

  • fig_kwargs (dict, optional) – Option to pass other arguments to figure. Default: None

  • fileout (str or None, optional) – Filename for saving file. If set to None, figure is returned to display. Default: None