|
def | __init__ (self, str=None, N_preloop=1000, gamma=1.) |
| Initializes an instance of Roket class. More...
|
|
def | init_config (self) |
| Initializes the COMPASS simulation and the ROKET buffers. More...
|
|
def | next (self, **kwargs) |
|
def | loop (self, monitoring_freq=100, **kwargs) |
| Performs the AO loop for n iterations. More...
|
|
def | error_breakdown (self) |
|
def | save_in_hdf5 (self, savename) |
| Saves all the ROKET buffers + simuation parameters in a HDF5 file. More...
|
|
def | cov_cor (self) |
| Computes covariance matrix and correlation matrix between all the contributors. More...
|
|
def | __init__ (self, config, bool cacao=False) |
|
None | next (self, *bool move_atmos=True, int nControl=0, Iterable[int] tar_trace=None, Iterable[int] wfs_trace=None, bool do_control=True, bool apply_control=True, bool compute_tar_psf=True) |
| Iterates the AO loop, with optional parameters. More...
|
|
def | record_ao_circular_buffer (self, int cb_count, np.ndarray projection_matrix, int sub_sample=1, int controller_index=0, int tar_index=0, bool see_atmos=True, str cube_data_type=None, str cube_data_file_path="", int ncpa=0, np.ndarray ncpa_wfs=None, np.ndarray ref_slopes=None, bool ditch_strehl=True) |
| Used to record a synchronized circular buffer AO loop data. More...
|
|
def | __init__ (self, config) |
|
def | get_config (self) |
| Returns the configuration in use, in a supervisor specific format ? More...
|
|
int | get_frame_counter (self) |
| Return the current iteration number of the loop. More...
|
|
None | force_context (self) |
| Active all the GPU devices specified in the parameters file. More...
|
|
def | loop (self, int number_of_iter, *int monitoring_freq=100, bool compute_tar_psf=True, **kwargs) |
| Perform the AO loop for <number_of_iter> iterations. More...
|
|
def | reset (self) |
| Reset the simulation to return to its original state. More...
|
|
Definition at line 33 of file roket.py.