![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Functions | |
| def | wfs_to_fits_hdu (sup, wfs_id) |
| Return a fits Header Data Unit (HDU) representation of a single WFS. More... | |
| def | dm_to_fits_hdu (sup, dm_id) |
| Return a fits Header Data Unit (HDU) representation of a single DM. More... | |
| def | dm_influ_to_fits_hdu (sup, dm_id, *influ_index=-1) |
| Return a fits Header Data Unit (HDU) holding the influence functions of a specific DM. More... | |
| def | write_data (file_name, sup, *wfss_indices=None, dms_indices=None, controller_id=0, influ=0, compose_type="controller") |
| Write data for yao compatibility. More... | |
| def common.fits.dm_influ_to_fits_hdu | ( | sup, | |
| dm_id, | |||
| * | influ_index = -1 |
||
| ) |
Return a fits Header Data Unit (HDU) holding the influence functions of a specific DM.
| sup | (compasSSupervisor) : supervisor |
| wfs_id | (int) : index of the DM in the supervisor |
| influ_index | (int) : (optional) default -1, index of the actuator to get the influence function from. -1 : get all influence functions |
Definition at line 60 of file fits.py.
| def common.fits.dm_to_fits_hdu | ( | sup, | |
| dm_id | |||
| ) |
Return a fits Header Data Unit (HDU) representation of a single DM.
| sup | (compasSSupervisor) : supervisor |
| wfs_id | (int) : index of the DM in the supervisor |
Definition at line 36 of file fits.py.
| def common.fits.wfs_to_fits_hdu | ( | sup, | |
| wfs_id | |||
| ) |
Return a fits Header Data Unit (HDU) representation of a single WFS.
| sup | (compasSSupervisor) : supervisor |
| wfs_id | (int) : index of the WFS in the supervisor |
Definition at line 17 of file fits.py.
| def common.fits.write_data | ( | file_name, | |
| sup, | |||
| * | wfss_indices = None, |
||
dms_indices = None, |
|||
controller_id = 0, |
|||
influ = 0, |
|||
compose_type = "controller" |
|||
| ) |
Write data for yao compatibility.
write into a single fits:
| file_name | (str) : data file name |
| sup | (compasSSupervisor) : supervisor |
Definition at line 95 of file fits.py.