![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Functions | |
| def | relative_array_error (array1, array2) |
| def | test_initCentro_nvalid () |
| def | test_initCentro_offset () |
| def | test_initCentro_scale () |
| def | test_initCentro_type () |
| def | test_initControl_nslope () |
| def | test_initControl_nactu () |
| def | test_initControl_type () |
| def | test_initControl_delay () |
| def | test_set_npix () |
| def | test_load_validposX () |
| def | test_load_validposY () |
| def | test_set_cmat () |
| def | test_set_gain () |
| def | test_load_img () |
| def | test_set_dark () |
| def | test_set_flat () |
| def | test_calibrate_img () |
| def | test_doCentroids_cog () |
| def | test_do_control_generic () |
| def | test_set_comRange () |
| def | test_clipping () |
| def | test_add_perturb_voltage () |
| def | test_remove_perturb_voltage () |
| def | test_add_perturb () |
| def | test_disable_perturb_voltage () |
| def | test_enable_perturb_voltage () |
| def | test_reset_perturb_voltage () |
| def | test_comp_voltage () |
| def | test_remove_centroider () |
| def | test_doCentroids_tcog () |
| def | test_doCentroids_bpcog () |
Variables | |
| int | precision = 1e-2 |
| config | |
| unitpervolt | |
| push4imat | |
| sup = Supervisor(config) | |
| rtc = Rtc() | |
| idx_centro | |
| ncentro | |
| centro = rtc.d_centro[0] | |
| control = rtc.d_control[0] | |
| xvalid = np.array(sup.rtc.rtc.d_centro[0].d_validx) | |
| yvalid = np.array(sup.rtc.rtc.d_centro[0].d_validy) | |
| cmat = sup.rtc.get_command_matrix(0) | |
| frame = np.array(sup.wfs.wfs.d_wfs[0].d_camimg) | |
| slp = ng.array(rtc.d_control[0].d_centroids) | |
| com = ng.array(rtc.d_control[0].d_com) | |
| dark = np.random.random(frame.shape) | |
| flat = np.random.random(frame.shape) | |
| def test_rtcUFU.relative_array_error | ( | array1, | |
| array2 | |||
| ) |
| def test_rtcUFU.test_add_perturb | ( | ) |
| def test_rtcUFU.test_add_perturb_voltage | ( | ) |
| def test_rtcUFU.test_calibrate_img | ( | ) |
| def test_rtcUFU.test_clipping | ( | ) |
| def test_rtcUFU.test_comp_voltage | ( | ) |
| def test_rtcUFU.test_disable_perturb_voltage | ( | ) |
| def test_rtcUFU.test_do_control_generic | ( | ) |
| def test_rtcUFU.test_doCentroids_bpcog | ( | ) |
| def test_rtcUFU.test_doCentroids_cog | ( | ) |
| def test_rtcUFU.test_doCentroids_tcog | ( | ) |
| def test_rtcUFU.test_enable_perturb_voltage | ( | ) |
| def test_rtcUFU.test_initCentro_nvalid | ( | ) |
Definition at line 61 of file test_rtcUFU.py.
| def test_rtcUFU.test_initCentro_offset | ( | ) |
Definition at line 65 of file test_rtcUFU.py.
| def test_rtcUFU.test_initCentro_scale | ( | ) |
Definition at line 69 of file test_rtcUFU.py.
| def test_rtcUFU.test_initCentro_type | ( | ) |
Definition at line 73 of file test_rtcUFU.py.
| def test_rtcUFU.test_initControl_delay | ( | ) |
Definition at line 89 of file test_rtcUFU.py.
| def test_rtcUFU.test_initControl_nactu | ( | ) |
Definition at line 81 of file test_rtcUFU.py.
| def test_rtcUFU.test_initControl_nslope | ( | ) |
Definition at line 77 of file test_rtcUFU.py.
| def test_rtcUFU.test_initControl_type | ( | ) |
Definition at line 85 of file test_rtcUFU.py.
| def test_rtcUFU.test_load_img | ( | ) |
| def test_rtcUFU.test_load_validposX | ( | ) |
| def test_rtcUFU.test_load_validposY | ( | ) |
| def test_rtcUFU.test_remove_centroider | ( | ) |
Definition at line 237 of file test_rtcUFU.py.
| def test_rtcUFU.test_remove_perturb_voltage | ( | ) |
Definition at line 177 of file test_rtcUFU.py.
| def test_rtcUFU.test_reset_perturb_voltage | ( | ) |
Definition at line 207 of file test_rtcUFU.py.
| def test_rtcUFU.test_set_cmat | ( | ) |
| def test_rtcUFU.test_set_comRange | ( | ) |
Definition at line 153 of file test_rtcUFU.py.
| def test_rtcUFU.test_set_dark | ( | ) |
| def test_rtcUFU.test_set_flat | ( | ) |
| def test_rtcUFU.test_set_gain | ( | ) |
Definition at line 109 of file test_rtcUFU.py.
| def test_rtcUFU.test_set_npix | ( | ) |
Definition at line 93 of file test_rtcUFU.py.
| test_rtcUFU.centro = rtc.d_centro[0] |
Definition at line 33 of file test_rtcUFU.py.
| test_rtcUFU.cmat = sup.rtc.get_command_matrix(0) |
Definition at line 39 of file test_rtcUFU.py.
| test_rtcUFU.com = ng.array(rtc.d_control[0].d_com) |
Definition at line 49 of file test_rtcUFU.py.
| test_rtcUFU.config |
Definition at line 11 of file test_rtcUFU.py.
| test_rtcUFU.control = rtc.d_control[0] |
Definition at line 34 of file test_rtcUFU.py.
| test_rtcUFU.dark = np.random.random(frame.shape) |
Definition at line 51 of file test_rtcUFU.py.
| test_rtcUFU.flat = np.random.random(frame.shape) |
Definition at line 52 of file test_rtcUFU.py.
| test_rtcUFU.frame = np.array(sup.wfs.wfs.d_wfs[0].d_camimg) |
Definition at line 42 of file test_rtcUFU.py.
| test_rtcUFU.idx_centro |
Definition at line 31 of file test_rtcUFU.py.
| test_rtcUFU.ncentro |
Definition at line 32 of file test_rtcUFU.py.
| int test_rtcUFU.precision = 1e-2 |
Definition at line 9 of file test_rtcUFU.py.
| test_rtcUFU.push4imat |
Definition at line 14 of file test_rtcUFU.py.
| test_rtcUFU.rtc = Rtc() |
Definition at line 25 of file test_rtcUFU.py.
| test_rtcUFU.slp = ng.array(rtc.d_control[0].d_centroids) |
Definition at line 47 of file test_rtcUFU.py.
| test_rtcUFU.sup = Supervisor(config) |
Definition at line 17 of file test_rtcUFU.py.
| test_rtcUFU.unitpervolt |
Definition at line 13 of file test_rtcUFU.py.
| test_rtcUFU.xvalid = np.array(sup.rtc.rtc.d_centro[0].d_validx) |
Definition at line 36 of file test_rtcUFU.py.
| test_rtcUFU.yvalid = np.array(sup.rtc.rtc.d_centro[0].d_validy) |
Definition at line 37 of file test_rtcUFU.py.