The process of data formation for the Spectrometer/Telescope for Imaging X-rays (STIX) in solar orbiter