Rename FrequencyDomain.fundamental to FrequencyDomain.harmonic_series, and take frequency peaks and max_partials as parameters.