NCPA¶
__init__ ¶
Initialize a NCPA generator.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
telescope
|
Telescope
|
Telescope object to which the WFS is attached. |
required |
load ¶
Load the NCPA OPD from a H5 file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename
|
str
|
Path and base filename (with extension) of the H5 file to load. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if loaded successfully. |
setOPD ¶
set the NCPA OPD directly from a variable
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input_opd
|
ndarray
|
Input OPD in [m] |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if loaded successfully,. |
getPhase ¶
Return the current NCPA OPD.
Returns:
| Type | Description |
|---|---|
ndarray
|
NCPA OPD in meters [m]. |