A baryon sweep was a procedure used to eliminate baryon particles from a starship. The baryons accumulated as a natural side-effect of warp travel and generally needed to be removed every five years to keep harmful radiation from building up.
The sweep could be accomplished at specialized space stations such as the Remmler Array. The sweep was green in color and resembled a force field, capable of passing through solid matter. The strength of the sweep could be adjusted and made more effective for a ship which had made heavy use of its warp drive. The sweep was deadly to organic matter, and all lifeforms aboard a ship were evacuated to a safe location before the sweep was initiated. Additionally, the sweep could be damaging to certain areas such as the bridge and computer core, so field diverters could be installed in order to deflect the sweep and protect the sensitive equipment. Once the diverters were installed and the crew evacuated, an auto shutdown sequence was initiated, the ship powered down, and the sweep began. The sweep took a few hours to complete and was generally conducted from stern to bow.
The USS Enterprise-D docked at the Remmler Array for its first sweep in 2369. It needed a stronger than usual sweep because it had spent more time at warp in five years than most ships did in ten. (TNG: "Starship Mine")
During his time at Starfleet Academy, Harry Kim would order baryon sweeps of his dorm room. In 2376, he told Lyndsay Ballard, his then-neighbor, that it was a consequence of "living across the hall from a slob". (VOY: "Ashes to Ashes")