A spectrum manipulation library.