extract_mspct function

Extract or replace members of a collection of spectra