Solar X-ray spectra observed from the ?Intercosmos-4? satellite and the ?Vertical-2? rocket