Voigtian and gaussian fit - resolution on the fly