MaskRandom ========== .. currentmodule:: simu.lib.mask_random .. autoclass:: MaskRandom :show-inheritance: .. rubric:: Methods Summary .. autosummary:: ~MaskRandom.add_hit ~MaskRandom.empty_like ~MaskRandom.get_ij_cell_surrounded_no_0 ~MaskRandom.get_nb_cell ~MaskRandom.get_nb_cell_x ~MaskRandom.get_nb_cell_y ~MaskRandom.get_shape ~MaskRandom.get_sizecm ~MaskRandom.get_surface ~MaskRandom.idx2pos ~MaskRandom.idx2pos_inf ~MaskRandom.idx2pos_sup ~MaskRandom.intersection ~MaskRandom.intersection_rect ~MaskRandom.plot ~MaskRandom.plot_ijdet ~MaskRandom.pos2idx ~MaskRandom.pos2idx_inf ~MaskRandom.pos2idx_rect ~MaskRandom.pos2idx_sup ~MaskRandom.pos_center_cells ~MaskRandom.pos_corner_lb ~MaskRandom.pos_corner_ru ~MaskRandom.pos_rect_array ~MaskRandom.pos_rect_cell ~MaskRandom.pos_rect_cells ~MaskRandom.random_mask ~MaskRandom.random_pos ~MaskRandom.random_pos_rect ~MaskRandom.random_value ~MaskRandom.sample_up ~MaskRandom.set_array ~MaskRandom.set_origin ~MaskRandom.set_origin_center ~MaskRandom.set_pos_corner_lb ~MaskRandom.set_val ~MaskRandom.surf_intersection_rect ~MaskRandom.value ~MaskRandom.value_array ~MaskRandom.value_at_pos ~MaskRandom.value_at_pos_check .. rubric:: Methods Documentation .. automethod:: add_hit .. automethod:: empty_like .. automethod:: get_ij_cell_surrounded_no_0 .. automethod:: get_nb_cell .. automethod:: get_nb_cell_x .. automethod:: get_nb_cell_y .. automethod:: get_shape .. automethod:: get_sizecm .. automethod:: get_surface .. automethod:: idx2pos .. automethod:: idx2pos_inf .. automethod:: idx2pos_sup .. automethod:: intersection .. automethod:: intersection_rect .. automethod:: plot .. automethod:: plot_ijdet .. automethod:: pos2idx .. automethod:: pos2idx_inf .. automethod:: pos2idx_rect .. automethod:: pos2idx_sup .. automethod:: pos_center_cells .. automethod:: pos_corner_lb .. automethod:: pos_corner_ru .. automethod:: pos_rect_array .. automethod:: pos_rect_cell .. automethod:: pos_rect_cells .. automethod:: random_mask .. automethod:: random_pos .. automethod:: random_pos_rect .. automethod:: random_value .. automethod:: sample_up .. automethod:: set_array .. automethod:: set_origin .. automethod:: set_origin_center .. automethod:: set_pos_corner_lb .. automethod:: set_val .. automethod:: surf_intersection_rect .. automethod:: value .. automethod:: value_array .. automethod:: value_at_pos .. automethod:: value_at_pos_check