ENH: make read_raw_segment into a method called read_segment

ENH: pep8