Display Tools¶
Overview¶
The displayTools module provides matplotlib-based helpers for visualising phase maps, pupil images, and WFS frames.
Selected API reference¶
- OOPAO.tools.displayTools.displayMap(A, norma=False, axis=2, mask=0, returnOutput=False)[source]¶
Display a 2-D phase/OPD map or a 3-D image cube.
- Parameters:
A (numpy.ndarray) – Input array (2-D or 3-D).
norma (bool) – If
True, normalise each frame independently. DefaultFalse.axis (int) – Cube axis to iterate over. Default
2.mask (int) – If
1, apply a pupil mask before display. Default0.returnOutput (bool) – If
True, return the display array instead of plotting. DefaultFalse.