A heating module keeps a length of erbium-doped optical fiber at a constant temperature.
The heating module includes the erbium-doped optical fiber, a heating element,
and a temperature sensor embedded in a flexible circuit substrate. Insulating and
packaging layers may be placed around the flexible circuit substrate.