1. In an optical transceiver that includes at least one processor, a persistent memory and a system memory, the performance of the optical transceiver being sensitive to fluctuations in an environmental parameter, the optical transceiver including a sensor for sensing the environmental parameter, a method for the optical transceiver to self-calibrate to the operational parameter, the method comprising the following: an act of loading microcode from the persistent memory to the system memory; an act of executing the microcode using the at least one processor, wherein the microcode is structured such that the optical transceiver performs the following when executed by the at least one processor: an act of sensing multiple values of an environmental parameter under environmental circumstances in which the environmental parameter changes; based on the act of sensing, an act of approximating a function that relates the multiple values of the environmental parameter to multiple values of an operational parameter; and an act of recording a representation of the approximated function in the persistent memory.