![]() |
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 | |
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_rtcUHF.relative_array_error | ( | array1, | |
array2 | |||
) |
def test_rtcUHF.test_add_perturb | ( | ) |
def test_rtcUHF.test_add_perturb_voltage | ( | ) |
def test_rtcUHF.test_calibrate_img | ( | ) |
def test_rtcUHF.test_clipping | ( | ) |
def test_rtcUHF.test_comp_voltage | ( | ) |
def test_rtcUHF.test_disable_perturb_voltage | ( | ) |
def test_rtcUHF.test_do_control_generic | ( | ) |
def test_rtcUHF.test_doCentroids_bpcog | ( | ) |
def test_rtcUHF.test_doCentroids_cog | ( | ) |
def test_rtcUHF.test_doCentroids_tcog | ( | ) |
def test_rtcUHF.test_enable_perturb_voltage | ( | ) |
def test_rtcUHF.test_initCentro_nvalid | ( | ) |
Definition at line 59 of file test_rtcUHF.py.
def test_rtcUHF.test_initCentro_offset | ( | ) |
Definition at line 63 of file test_rtcUHF.py.
def test_rtcUHF.test_initCentro_scale | ( | ) |
Definition at line 67 of file test_rtcUHF.py.
def test_rtcUHF.test_initCentro_type | ( | ) |
Definition at line 71 of file test_rtcUHF.py.
def test_rtcUHF.test_initControl_delay | ( | ) |
Definition at line 87 of file test_rtcUHF.py.
def test_rtcUHF.test_initControl_nactu | ( | ) |
Definition at line 79 of file test_rtcUHF.py.
def test_rtcUHF.test_initControl_nslope | ( | ) |
Definition at line 75 of file test_rtcUHF.py.
def test_rtcUHF.test_initControl_type | ( | ) |
Definition at line 83 of file test_rtcUHF.py.
def test_rtcUHF.test_load_img | ( | ) |
def test_rtcUHF.test_load_validposX | ( | ) |
def test_rtcUHF.test_load_validposY | ( | ) |
def test_rtcUHF.test_remove_centroider | ( | ) |
Definition at line 232 of file test_rtcUHF.py.
def test_rtcUHF.test_remove_perturb_voltage | ( | ) |
Definition at line 175 of file test_rtcUHF.py.
def test_rtcUHF.test_reset_perturb_voltage | ( | ) |
Definition at line 205 of file test_rtcUHF.py.
def test_rtcUHF.test_set_cmat | ( | ) |
def test_rtcUHF.test_set_comRange | ( | ) |
Definition at line 151 of file test_rtcUHF.py.
def test_rtcUHF.test_set_dark | ( | ) |
def test_rtcUHF.test_set_flat | ( | ) |
def test_rtcUHF.test_set_gain | ( | ) |
Definition at line 107 of file test_rtcUHF.py.
def test_rtcUHF.test_set_npix | ( | ) |
Definition at line 91 of file test_rtcUHF.py.
test_rtcUHF.centro = rtc.d_centro[0] |
Definition at line 31 of file test_rtcUHF.py.
test_rtcUHF.cmat = sup.rtc.get_command_matrix(0) |
Definition at line 37 of file test_rtcUHF.py.
test_rtcUHF.com = ng.array(rtc.d_control[0].d_com) |
Definition at line 47 of file test_rtcUHF.py.
test_rtcUHF.config |
Definition at line 11 of file test_rtcUHF.py.
test_rtcUHF.control = rtc.d_control[0] |
Definition at line 32 of file test_rtcUHF.py.
test_rtcUHF.dark = np.random.random(frame.shape) |
Definition at line 49 of file test_rtcUHF.py.
test_rtcUHF.flat = np.random.random(frame.shape) |
Definition at line 50 of file test_rtcUHF.py.
test_rtcUHF.frame = np.array(sup.wfs.wfs.d_wfs[0].d_camimg) |
Definition at line 40 of file test_rtcUHF.py.
test_rtcUHF.idx_centro |
Definition at line 29 of file test_rtcUHF.py.
test_rtcUHF.ncentro |
Definition at line 30 of file test_rtcUHF.py.
int test_rtcUHF.precision = 1e-2 |
Definition at line 9 of file test_rtcUHF.py.
test_rtcUHF.rtc = Rtc() |
Definition at line 23 of file test_rtcUHF.py.
test_rtcUHF.slp = ng.array(rtc.d_control[0].d_centroids) |
Definition at line 45 of file test_rtcUHF.py.
test_rtcUHF.sup = Supervisor(config) |
Definition at line 14 of file test_rtcUHF.py.
test_rtcUHF.xvalid = np.array(sup.rtc.rtc.d_centro[0].d_validx) |
Definition at line 34 of file test_rtcUHF.py.
test_rtcUHF.yvalid = np.array(sup.rtc.rtc.d_centro[0].d_validy) |
Definition at line 35 of file test_rtcUHF.py.