Slot sensors and optical windows