X-ray data collection and model building