autolens.plot.Include1D

class autolens.plot.Include1D(half_light_radius=None, einstein_radius=None)
__init__(half_light_radius=None, einstein_radius=None)

Sets which Visuals1D are included on a figure plotting 1D data that is plotted using a Plotter1D.

The Include object is used to extract the visuals of the plotted 1D data structures so they can be used in plot functions. Only visuals with a True entry in the Include object are extracted and plotted.

If an entry is not input into the class (e.g. it retains its default entry of None) then the bool is loaded from the config/visualize/include.ini config file. This means the default visuals of a project can be specified in a config file.

Parameters:
  • origin (bool) – If True, the origin of the plotted data structure (e.g. Line) is included on the figure.
  • mask (bool) – if True, the mask of the plotted data structure (e.g. Line) is included on the figure.

Methods

__init__([half_light_radius, einstein_radius]) Sets which Visuals1D are included on a figure plotting 1D data that is plotted using a Plotter1D.
load(value, name)

Attributes

einstein_radius
half_light_radius
mask
origin
section