The thermal shift of dense-wavelength-division-multiplexing (DWTM) filters that is caused by nonconstant temperature during fabrication invokes a spectrum shift and an error in the optical thickness of the layer before the matching layer. The relation bet