cf.FieldAncillary.var

FieldAncillary.var()[source]

The unweighted sample variance of the data array.

See also

collapse, max, mean, mid_range, min, range, sample_size, sd, sum

Examples 1:
>>> d = f.var()
Returns:
out: cf.Data

The unweighted variance of the data array.

Examples 2:
>>> f.data
<CF Data: [[[236.512756348, ..., 256.93371582]]] K>
>>> f.var()
514.611608515
>>> f.var().data
<CF Data: 514.611608515 K2>