Skip to content

imageseries stats

Donald Boyce edited this page Jun 9, 2020 · 1 revision

Stats Module

The stats module is for computing pixel statistics over groups of frames.

Functions are below. The argument ims refers to an imageseries. The nframes argument is the number of frames to use; a value of 0 means use all of them. The typical use is for finding a dark image. For example:

dark = stats.median(ims, nframes=200)
  • max(ims, nframes=0)

  • average(ims, nframes=0)

  • percentile(ims, pct, nframes=0)

  • median(ims, nframes=0)

Clone this wiki locally