![]() |
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_rtcFHU.relative_array_error | ( | array1, | |
array2 | |||
) |
def test_rtcFHU.test_add_perturb | ( | ) |
def test_rtcFHU.test_add_perturb_voltage | ( | ) |
def test_rtcFHU.test_calibrate_img | ( | ) |
def test_rtcFHU.test_clipping | ( | ) |
def test_rtcFHU.test_comp_voltage | ( | ) |
def test_rtcFHU.test_disable_perturb_voltage | ( | ) |
def test_rtcFHU.test_do_control_generic | ( | ) |
def test_rtcFHU.test_doCentroids_bpcog | ( | ) |
def test_rtcFHU.test_doCentroids_cog | ( | ) |
def test_rtcFHU.test_doCentroids_tcog | ( | ) |
def test_rtcFHU.test_enable_perturb_voltage | ( | ) |
def test_rtcFHU.test_initCentro_nvalid | ( | ) |
Definition at line 63 of file test_rtcFHU.py.
def test_rtcFHU.test_initCentro_offset | ( | ) |
Definition at line 67 of file test_rtcFHU.py.
def test_rtcFHU.test_initCentro_scale | ( | ) |
Definition at line 71 of file test_rtcFHU.py.
def test_rtcFHU.test_initCentro_type | ( | ) |
Definition at line 75 of file test_rtcFHU.py.
def test_rtcFHU.test_initControl_delay | ( | ) |
Definition at line 91 of file test_rtcFHU.py.
def test_rtcFHU.test_initControl_nactu | ( | ) |
Definition at line 83 of file test_rtcFHU.py.
def test_rtcFHU.test_initControl_nslope | ( | ) |
Definition at line 79 of file test_rtcFHU.py.
def test_rtcFHU.test_initControl_type | ( | ) |
Definition at line 87 of file test_rtcFHU.py.
def test_rtcFHU.test_load_img | ( | ) |
def test_rtcFHU.test_load_validposX | ( | ) |
def test_rtcFHU.test_load_validposY | ( | ) |
def test_rtcFHU.test_remove_centroider | ( | ) |
Definition at line 238 of file test_rtcFHU.py.
def test_rtcFHU.test_remove_perturb_voltage | ( | ) |
Definition at line 179 of file test_rtcFHU.py.
def test_rtcFHU.test_reset_perturb_voltage | ( | ) |
Definition at line 209 of file test_rtcFHU.py.
def test_rtcFHU.test_set_cmat | ( | ) |
def test_rtcFHU.test_set_comRange | ( | ) |
Definition at line 155 of file test_rtcFHU.py.
def test_rtcFHU.test_set_dark | ( | ) |
def test_rtcFHU.test_set_flat | ( | ) |
def test_rtcFHU.test_set_gain | ( | ) |
Definition at line 111 of file test_rtcFHU.py.
def test_rtcFHU.test_set_npix | ( | ) |
Definition at line 95 of file test_rtcFHU.py.
test_rtcFHU.centro = rtc.d_centro[0] |
Definition at line 35 of file test_rtcFHU.py.
test_rtcFHU.cmat = sup.rtc.get_command_matrix(0) |
Definition at line 41 of file test_rtcFHU.py.
test_rtcFHU.com = ng.array(rtc.d_control[0].d_com) |
Definition at line 51 of file test_rtcFHU.py.
test_rtcFHU.config |
Definition at line 11 of file test_rtcFHU.py.
test_rtcFHU.control = rtc.d_control[0] |
Definition at line 36 of file test_rtcFHU.py.
test_rtcFHU.dark = np.random.random(frame.shape) |
Definition at line 53 of file test_rtcFHU.py.
test_rtcFHU.flat = np.random.random(frame.shape) |
Definition at line 54 of file test_rtcFHU.py.
test_rtcFHU.frame = np.array(sup.wfs.wfs.d_wfs[0].d_camimg) |
Definition at line 44 of file test_rtcFHU.py.
test_rtcFHU.idx_centro |
Definition at line 33 of file test_rtcFHU.py.
test_rtcFHU.ncentro |
Definition at line 34 of file test_rtcFHU.py.
int test_rtcFHU.precision = 1e-2 |
Definition at line 9 of file test_rtcFHU.py.
test_rtcFHU.push4imat |
Definition at line 15 of file test_rtcFHU.py.
test_rtcFHU.rtc = Rtc() |
Definition at line 27 of file test_rtcFHU.py.
test_rtcFHU.slp = ng.array(rtc.d_control[0].d_centroids) |
Definition at line 49 of file test_rtcFHU.py.
test_rtcFHU.sup = Supervisor(config) |
Definition at line 18 of file test_rtcFHU.py.
test_rtcFHU.unitpervolt |
Definition at line 14 of file test_rtcFHU.py.
test_rtcFHU.xvalid = np.array(sup.rtc.rtc.d_centro[0].d_validx) |
Definition at line 38 of file test_rtcFHU.py.
test_rtcFHU.yvalid = np.array(sup.rtc.rtc.d_centro[0].d_validy) |
Definition at line 39 of file test_rtcFHU.py.