def get_col_row_tot_array_from_data_record_array(array):  
def get_col_row_tot_1_array_from_data_record_array(value):<EOL><INDENT>return np.right_shift(np.bitwise_and(value, <NUM_LIT>), <NUM_LIT>), np.right_shift(np.bitwise_and(value, <NUM_LIT>), <NUM_LIT:8>), np.right_shift(np.bitwise_and(value, <NUM_LIT>), <NUM_LIT:4>)<EOL><DEDENT>def get_col_row_tot_2_array_from_data_record_array(value):<EOL><INDENT>return np.right_shift(np.bitwise_and(value, <NUM_LIT>), <NUM_LIT>), np.add(np.right_shift(np.bitwise_and(value, <NUM_LIT>), <NUM_LIT:8>), <NUM_LIT:1>), np.bitwise_and(value, <NUM_LIT>)<EOL><DEDENT>col_row_tot_1_array = np.column_stack(get_col_row_tot_1_array_from_data_record_array(array))<EOL>col_row_tot_2_array = np.column_stack(get_col_row_tot_2_array_from_data_record_array(array))<EOL>col_row_tot_array = np.vstack((col_row_tot_1_array.T, col_row_tot_2_array.T)).reshape((<NUM_LIT:3>, -<NUM_LIT:1>), order='<STR_LIT:F>').T  <EOL>try:<EOL><INDENT>col_row_tot_array_filtered = col_row_tot_array[col_row_tot_array[:, <NUM_LIT:2>] < <NUM_LIT>]  <EOL><DEDENT>except IndexError:<EOL><INDENT>return np.array([], dtype=np.dtype('<STR_LIT>')), np.array([], dtype=np.dtype('<STR_LIT>')), np.array([], dtype=np.dtype('<STR_LIT>'))<EOL><DEDENT>return col_row_tot_array_filtered[:, <NUM_LIT:0>], col_row_tot_array_filtered[:, <NUM_LIT:1>], col_row_tot_array_filtered[:, <NUM_LIT:2>]<EOL>
Convert raw data array to column, row, and ToT array.

    Parameters
    ----------
    array : numpy.array
        Raw data array.

    Returns
    -------
    Tuple of arrays.