Shape-based clustering of synthetic Stokes profiles using k-means and k-Shape Thore E. Moe, Tiago M. D. Pereira, Flavio Calvo and Jorrit Leenaarts A&A, 675 (2023) A130 Published online: 10 July 2023 DOI: 10.1051/0004-6361/202346724