Transfering indexer to spectrum1d class