flip2center# snake.core.sampling.factories.flip2center(mask_cols, center_value)[source]# Reorder a list by starting by a center_position and alternating left/right. Parameters: mask_cols (list or np.array) – List of columns to reorder. center_pos (int) – Position of the center column. center_value (int) Returns: np.array Return type: reordered columns.