a solution for implementing gratings with optical sources where polarization - maintaining fiber is required or desirable utilizes polarization - maintaining fiber between the grating and the optical source . the grating , however , is actually written in regular , or non - polarization - maintaining fiber . the polarization - maintaining fiber is spliced to the non - pm fiber . since this splice exists in the commercial components , it can be performed in laboratory conditions .