Temperature scanning techniques with tunable X-ray photons