def cluster_tf_list(curve_list, coa): from essentials import load2Col tf_files = [coa.tss_force_files[x] for x in curve_list] tf_list = [] for file in tf_files: tf_list.append(load2Col(file)) return tf_list
def cluster_lcd_list(curve_list, coa): from essentials import load2Col coa_files = coa.list_density_files() lcd_files = [coa_files[x] for x in curve_list] lcd_list = [] for file in lcd_files: lcd_list.append(load2Col(file)) return lcd_list