colour.plotting.plot_single_sd_colour_rendition_report¶
- colour.plotting.plot_single_sd_colour_rendition_report(sd, method='Full', **kwargs)[source]¶
Generates the ANSI/IES TM-30-18 Colour Rendition Report for given spectral distribution according to given method.
- Parameters
sd (SpectralDistribution or SpectralDistribution_IESTM2714) – Spectral distribution of the emission source to generate the report for.
method (unicode, optional) – {‘Full’, ‘Intermediate’, ‘Simple’}, Report plotting method.
**kwargs (dict, optional) – {
colour.plotting.artist()
,colour.plotting.render()
}, Please refer to the documentation of the previously listed definitions.source (unicode, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
}, Emission source name, defaults to colour.SpectralDistribution_IESTM2714.header.description or colour.SpectralDistribution_IESTM2714.name properties value.date (unicode, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
}, Emission source measurement date, defaults to colour.SpectralDistribution_IESTM2714.header.report_date property value.manufacturer (unicode, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
}, Emission source manufacturer, defaults to colour.SpectralDistribution_IESTM2714.header.manufacturer property value.model (unicode, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
}, Emission source model, defaults to colour.SpectralDistribution_IESTM2714.header.catalog_number property value.notes (unicode, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
}, Notes pertaining to the emission source, defaults to colour.SpectralDistribution_IESTM2714.header.comments property value.report_size (array_like, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
,colour.plotting.tm3018.plot_single_sd_colour_rendition_report_intermediate()
, :func:`colour.plotting.tm3018.plot_single_sd_colour_rendition_report_simple}, Report size, default to A4 paper size in inches.report_row_height_ratios (array_like, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
,colour.plotting.tm3018.plot_single_sd_colour_rendition_report_intermediate()
, :func:`colour.plotting.tm3018.plot_single_sd_colour_rendition_report_simple}, Report size row height ratios.report_box_padding (array_like, optional) – {
colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
,colour.plotting.tm3018.plot_single_sd_colour_rendition_report_intermediate()
, :func:`colour.plotting.tm3018.plot_single_sd_colour_rendition_report_simple}, Report box padding, tries to define the padding around the figure and in-between the axes.
- Returns
Current figure and axes.
- Return type
Examples
>>> from colour import SDS_ILLUMINANTS >>> sd = SDS_ILLUMINANTS['FL2'] >>> plot_single_sd_colour_rendition_report(sd) ... (<Figure size ... with ... Axes>, <...AxesSubplot...>)
>>> plot_single_sd_colour_rendition_report(sd, 'Intermediate') ... (<Figure size ... with ... Axes>, <...AxesSubplot...>)
>>> plot_single_sd_colour_rendition_report(sd, 'Simple') ... (<Figure size ... with ... Axes>, <...AxesSubplot...>)