AttocubeScan.stddev(weights=None, _box=False, _metadata='first')

Calculate weighted standard deviation for stack.

Keyword Arguments
  • _box (crop box) – Specifies the region of the array to be averaged. Default - entire image

  • _metadata (str) – Specifies how to generate metadata for the averaged image. - “first”: Just ise the first image’s metadata - “common”: Find the common metadata across all images - “none’: no metadata from images.

This is a biased standard deviation, may not be appropriate for small sample sizes