The data is generated from the simulation of Rayleigh backscattering noise in Sagnac loop. It contains the code I use and the result under different conditions, such as changing duty cycle, considering insertion loss, discad or not discard pulses. It also contains the distance limit with and without signal patterning.