Comparison of DEM results from four methods. The methods include: the regularized inversion code, the XRT_dem_iterative2, the original sparse inversion code, and the sparse inversion code with new settings. The AIA images used here were taken at ∼2013 November 13 09:01:30 UT (Figure 2(a)). (a) Comparison of plasma EM distribution over T. The curves are integrated in the region marked by the white rectangle in Figures 1(c). (b) Thermal X-ray spectra calculated from the EM results as would be observed by RHESSI. The observed, background-subtracted count spectrum (histogram in black) is made from RHESSI detector 6. (c) EM-weighted temperature (TEM) maps. All of the negative DEMs in the solutions of the regularization inversion code are set to 0. The errors on DEM/EM are calculated from a Monte Carlo method, which runs the new code for 100 times by adding random noises to the observed intensities.