![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Functions | |
def | get_subap_pos_pixel (wfs) |
Return the coordinates of the valid subapertures of a given WFS. More... | |
def | get_subap_pos_meter (sup, wfs_id) |
Return the coordinates of the valid subapertures of a given WFS. More... | |
def | wfs_to_json (wfs, geom, type, *x_pos=None, y_pos=None) |
return a json description of a wfs More... | |
def | wfs_json_notice (type) |
Return the notice of the wfs json representation. More... | |
def common.wfs.get_subap_pos_meter | ( | sup, | |
wfs_id | |||
) |
Return the coordinates of the valid subapertures of a given WFS.
these coordinates are given in meters and centered
sup | (compassSupervisor) : supervisor |
wfs_id | (int) : index of the WFS |
Definition at line 35 of file util/writers/common/wfs.py.
def common.wfs.get_subap_pos_pixel | ( | wfs | ) |
Return the coordinates of the valid subapertures of a given WFS.
these coordinates are given in pixels
wfs | Param_wfs : wfs to get the subapertures position from |
Definition at line 16 of file util/writers/common/wfs.py.
def common.wfs.wfs_json_notice | ( | type | ) |
Return the notice of the wfs json representation.
type | (string) : wfs type ("lgs", "ngs" or "target") |
Definition at line 127 of file util/writers/common/wfs.py.
def common.wfs.wfs_to_json | ( | wfs, | |
geom, | |||
type, | |||
* | x_pos = None , |
||
y_pos = None |
|||
) |
return a json description of a wfs
wfs | (Param_wfs) : wfs to represent as json |
geom | (Param_geom) : geom settings |
type | (string) : wfs type ("lgs", "ngs" "target" or "ts") |
Definition at line 61 of file util/writers/common/wfs.py.