We present a parameter estimate for continua, and He-like triplets of the high resolution X-ray spectra with a Bayesian inference and a Markov Chain Monte Carlo (MCMC) tool. The method is applied for Vela X-1 with three different orbital phases ($\unicode[STIX]{x1D719}$), Eclipse, $\unicode[STIX]{x1