The invention relates to a method of treating manure such that odor from the manure is significantly reduced or eliminated and producing therefrom recyclable water, value-added biosolids and ammonia. A fiber Bragg grating or Long-Period grating written in a section of single mode fused silica fiber is incorporated into a fiber loop. Each transmit antenna hypothesis in a stored list represents how many transmit antennas were used.