The possibility of reconstructing the internal structure of a phase object by dynamical diffraction of a spherical X-ray wave in a crystal using a temperature gradient was investigated. It is shown that the use of a temperature gradient directed perpendicular to the crystal surface makes it possible to obtain a focal distribution of all point inhomogeneities in the phase object on the exit surface of the crystal. By moving the phase object along the direction of the diffraction vector and registering the entire map of obtained data, one can restore the additional phase of the wave and the internal structure of the phase object section.