cdTodb | R Documentation |
\mbox{m}^2
to perimetric dB.Given a value in cd/\mbox{m}^2
, return the equivalent dB value.
Default is to use HFA units, so maximum stimulus is 10000 apostilbs.
cdTodb(cd, maxStim = 10000/pi)
cd |
Value to convert to dB in cd/ |
maxStim |
Stimulus value for 0dB in cd/ |
A dB value for cd
cd/\mbox{m}^2
.
# candela to decibels
dB <- cdTodb(10000/pi) # 0 dB
dB <- cdTodb(1000/pi) # 10 dB
dB <- cdTodb(100/pi) # 20 dB
dB <- cdTodb(10/pi) # 30 dB
dB <- cdTodb(1/pi) # 40 dB
dB <- cdTodb(0.1/pi) # 50 dB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.