extraction-methods function

Extracting and replacing parts of Spectra* objects