OPD Map

Overview

OPD_map is a lightweight wrapper around a static 2-D OPD array. It inserts an arbitrary wavefront aberration into the propagation chain using the * operator, without the overhead of the NCPA modal basis computation.

API reference

class OOPAO.OPD_map.OPD_map(OPD)[source]

Static OPD element for the propagation chain.

Parameters:

OPD (numpy.ndarray) – 2-D optical path difference array in metres, matching the telescope resolution.

OPD: numpy.ndarray

The OPD array. Can be reassigned between propagations.

tag: str

Always 'OPD_map'.

Operator summary

Expression

Effect

src * tel * opd_map * wfs

Adds OPD to the cumulative OPD

Example

from OOPAO.OPD_map import OPD_map
import numpy as np

static_aber = np.zeros([tel.resolution, tel.resolution])
static_aber[100:120, 100:120] = 50e-9   # 50 nm flat zone

opd = OPD_map(static_aber)
src * tel * opd * wfs