utils

Alignment Util Fcns

Author: Zac Spalding Cogan & Viventi Labs, Duke University

cnd_avg(data, labels)

Averages data trials along first axis by condition type present in labels.

decoding_data_from_dict(data_dict, pt, p_ind)

get_features_labels(data, p_ind, lab_type, ...)

label2str(labels)

load_pkl(filename)

phon_to_artic(phon_idx, phon_to_artic_conv)

phon_to_artic_seq(phon_seq)

save_pkl(data, filename)