SpectraSim Documentation
Parameter · 07 Run Settings

Number of frequencies

acoustics.frequency.count Step 07 · Run Settings

A read-only count of the frequencies the sweep will solve, with the range they cover. It indicates the cost of the sweep before the run: every frequency is one solve.

Last updated

Theory

The count depends on the spacing:

  • Linear: computed from fminf_{min}, fmaxf_{max} and the step, equation (1).
  • Octave and 1/3 octave: the number of distinct solved points of the selected bands (three per band, a shared band edge counted once); the note gives the number of bands.
  • Custom: the length of the list.
  • Logarithmic: not shown; the count is the typed number of frequencies.

The run time of the sweep is approximately this count times the time of one factorisation, divided by the number of parallel workers.

Equations

nf=⌊fmax−fminΔf⌋+1n_f = \left\lfloor \frac{f_{max} - f_{min}}{\Delta f} \right\rfloor + 1
(1)
wheremeaningunit
nfn_fNumber of frequencies shown (linear spacing)-
fmin,fmaxf_{min}, f_{max}Lowest and highest frequencyHz
Δf\Delta fFrequency stepHz

Default and rule

Default
computed (read-only)
Rule

Computed.

Source

The count is displayed on the Run Settings step and is the length of the frequency list the sweep solves.

Valid range read-only

One frequency more

With linear spacing, when fmaxf_{max} is not a whole number of steps above fminf_{min}, the sweep adds fmaxf_{max} as its last point and therefore solves one frequency more than equation (1) gives.