Learn R Programming

OPI (version 1.6)

cdTodb: Convert cd/$\mbox{m}^2$ to Humphrey dB

Description

Given a value in cd/$\mbox{m}^2$, return the Humphrey dB equivalent.

Usage

cdTodb(cd)

Arguments

cd
Value to convert in cd/$\mbox{m}^2$

Value

  • Returns dB value.

References

Please cite: A. Turpin, P.H. Artes and A.M. McKendrick "The Open Perimetry Interface: An enabling tool for clinical visual psychophysics", Journal of Vision 12(11) 2012.

http://perimetry.org/OPI

See Also

dbTocd

Examples

Run this code
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

Run the code above in your browser using DataLab