There is no tutorial, only the function description under "Filters" and the example script spectrum.c.

With low time frames the spectrum becomes flat and loses its peaks. Spectral analysis works best with time frames in the hour or day range.