![]() |
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 () |
def | test_publish_calPix () |
def | test_publish_loopData () |
Variables | |
int | precision = 1e-5 |
config | |
sup = Supervisor(config) | |
rtc = Rtc("compass_calPix", "compass_loopData") | |
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 = sup.wfs.get_wfs_image(0) | |
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_rtc_cacao.relative_array_error | ( | array1, | |
array2 | |||
) |
def test_rtc_cacao.test_add_perturb | ( | ) |
def test_rtc_cacao.test_add_perturb_voltage | ( | ) |
def test_rtc_cacao.test_calibrate_img | ( | ) |
def test_rtc_cacao.test_clipping | ( | ) |
def test_rtc_cacao.test_comp_voltage | ( | ) |
def test_rtc_cacao.test_disable_perturb_voltage | ( | ) |
def test_rtc_cacao.test_do_control_generic | ( | ) |
def test_rtc_cacao.test_doCentroids_bpcog | ( | ) |
def test_rtc_cacao.test_doCentroids_cog | ( | ) |
def test_rtc_cacao.test_doCentroids_tcog | ( | ) |
def test_rtc_cacao.test_enable_perturb_voltage | ( | ) |
def test_rtc_cacao.test_initCentro_nvalid | ( | ) |
Definition at line 58 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initCentro_offset | ( | ) |
Definition at line 62 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initCentro_scale | ( | ) |
Definition at line 66 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initCentro_type | ( | ) |
Definition at line 70 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initControl_delay | ( | ) |
Definition at line 86 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initControl_nactu | ( | ) |
Definition at line 78 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initControl_nslope | ( | ) |
Definition at line 74 of file test_rtc_cacao.py.
def test_rtc_cacao.test_initControl_type | ( | ) |
Definition at line 82 of file test_rtc_cacao.py.
def test_rtc_cacao.test_load_img | ( | ) |
def test_rtc_cacao.test_load_validposX | ( | ) |
def test_rtc_cacao.test_load_validposY | ( | ) |
def test_rtc_cacao.test_publish_calPix | ( | ) |
def test_rtc_cacao.test_publish_loopData | ( | ) |
def test_rtc_cacao.test_remove_centroider | ( | ) |
Definition at line 231 of file test_rtc_cacao.py.
def test_rtc_cacao.test_remove_perturb_voltage | ( | ) |
Definition at line 174 of file test_rtc_cacao.py.
def test_rtc_cacao.test_reset_perturb_voltage | ( | ) |
Definition at line 204 of file test_rtc_cacao.py.
def test_rtc_cacao.test_set_cmat | ( | ) |
def test_rtc_cacao.test_set_comRange | ( | ) |
Definition at line 150 of file test_rtc_cacao.py.
def test_rtc_cacao.test_set_dark | ( | ) |
def test_rtc_cacao.test_set_flat | ( | ) |
def test_rtc_cacao.test_set_gain | ( | ) |
Definition at line 106 of file test_rtc_cacao.py.
def test_rtc_cacao.test_set_npix | ( | ) |
Definition at line 90 of file test_rtc_cacao.py.
test_rtc_cacao.centro = rtc.d_centro[0] |
Definition at line 29 of file test_rtc_cacao.py.
test_rtc_cacao.cmat = sup.rtc.get_command_matrix(0) |
Definition at line 35 of file test_rtc_cacao.py.
test_rtc_cacao.com = ng.array(rtc.d_control[0].d_com) |
Definition at line 46 of file test_rtc_cacao.py.
test_rtc_cacao.config |
Definition at line 14 of file test_rtc_cacao.py.
test_rtc_cacao.control = rtc.d_control[0] |
Definition at line 30 of file test_rtc_cacao.py.
test_rtc_cacao.dark = np.random.random(frame.shape) |
Definition at line 48 of file test_rtc_cacao.py.
test_rtc_cacao.flat = np.random.random(frame.shape) |
Definition at line 49 of file test_rtc_cacao.py.
test_rtc_cacao.frame = sup.wfs.get_wfs_image(0) |
Definition at line 38 of file test_rtc_cacao.py.
test_rtc_cacao.idx_centro |
Definition at line 27 of file test_rtc_cacao.py.
test_rtc_cacao.ncentro |
Definition at line 28 of file test_rtc_cacao.py.
int test_rtc_cacao.precision = 1e-5 |
Definition at line 12 of file test_rtc_cacao.py.
test_rtc_cacao.rtc = Rtc("compass_calPix", "compass_loopData") |
Definition at line 21 of file test_rtc_cacao.py.
test_rtc_cacao.slp = ng.array(rtc.d_control[0].d_centroids) |
Definition at line 44 of file test_rtc_cacao.py.
test_rtc_cacao.sup = Supervisor(config) |
Definition at line 16 of file test_rtc_cacao.py.
test_rtc_cacao.xvalid = np.array(sup.rtc.rtc.d_centro[0].d_validx) |
Definition at line 32 of file test_rtc_cacao.py.
test_rtc_cacao.yvalid = np.array(sup.rtc.rtc.d_centro[0].d_validy) |
Definition at line 33 of file test_rtc_cacao.py.