An electrically variable optical attenuator and associated methods are
disclosed. In one aspect, the attenuator includes at least one sensor
that provides a sensor output with respect to a variable that affects
attenuation. Methods of characterizing the attenuator include obtaining a
set of attenuation/sensed variable data, and generating a relationship
(such as a look-up table or mathematical function) relating the sensed
variable to the attenuation. Aspects of the invention also include
characterizing the control input/attenuation output to be related by a
selected mathematical function.