and
Is  is this the algorithm where you hypothesize a fundamental , and then get the energy for all the harmonics of that fundamental ?
No , no it 's  No  No. No.
And then hypothesize a new fundamental and get the energy