ANSI/IES TM-30 | R Documentation |
Compute TM-30 data from a colorSpec object with the spectrum of a light source
(type()
is 'light'
).
And plot full reports from this data.
The full TM-30 standard is in the References.
These functions were guided by the IES Spectral Calculator, and checked against the downloadable .XLSX spreadsheets and .PDF reports available there.
## S3 method for class 'colorSpec'
computeTM30( x, reference=NULL )
## S3 method for class 'TM30'
plot( x, omi=c(0.75,0.2,1.25,0.25), ... )
## S3 method for class 'TM30'
print( x, ... )
x |
For |
reference |
a colorSpec object used as the reference light source for |
omi |
a vector of 4 numbers, defining the outer margins of the plot, in inches;
for details see |
... |
further arguments ignored |
computeTM30()
follows the recipes in ANSI/IES TM-30-20.
plot()
reproduces the full reports at the IES Spectral Calculator.
print
prints a short 9-line summary of the important TM-30-20 measures.
computeTM30()
returns a list of data with class 'TM30'
.
The data is designed to be a reflection of the data in the .XLSX spreadsheets created
by the IES Spectral Calculator.
plot()
and print()
return TRUE
or FALSE
, invisibly.
ANSI/IES TM-30-20. Technical Memorandum: IES Method for Evaluating Light Source Color Rendition. https://store.ies.org/product/technical-memorandum-ies-method-for-evaluating-light-source-color-rendition/
IES Spectral Calculator. https://www.ies.org/standards/standards-toolbox/tm-30-spectral-calculator/
par()
,
title()
## Not run:
F1 = subset( Fs.5nm, 1 )
pdf( "report.pdf", width=8.5, height=11 )
plot( computeTM30(F1) )
dev.off()
svg( "report.svg", width=8.5, height=11 )
plot( computeTM30(F1) )
dev.off()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.