Changed the trim keyword to region; made better sense to extract a spectrum around a region, than to trim the beginning/end of spectrum.