Spectral measurements of radiation from a microsecond gas Z-pinch