rms_a

rms_a(fs[, area])

Computes the area weighted root mean square for each field in fs.

Parameters
  • fs (Fieldset) – input fieldset

  • area (list) – area as [N,W,S,E] to perform the computations

Return type

number or list

If the area is not specified the whole field will be used in the calculation. The result is a number for a single field or a list for a multi-field Fieldset.

Note

The computations are implemented via integrate() and the following lines are equivalent:

y = mv.rms_a(x)
y = mv.sqrt(mv.integrate(x*x))

Note

See also integrate(), rms(), var_a() and stdev_a().