Returns the weight of the spectrum with the given index. Spectra are counted like 1, 2, 3, ...
The following VBA command fills a certain cell with the weight of the 2nd spectrum:
Range("results").Offset(2, 1) = wcd.spectrum_weight(2)
Setting this property changes the weight of the indexed spectrum.