updated peaks_from_model docstring