Materials can handle the following arguments:
(n at 540 nm): this function returns the real part of the refractive index of the object at 540 nm. You can use alternative spectral units like 1/cm or eV if you like.
(k at 540 nm): this function returns the imaginary part of the refractive index of the object at 540 nm.
(alpha at 540 nm): this function returns the absorption coefficient (in 1/cm) of the object at 540 nm.