def load_synapses(path=HOME + "<STR_LIT>",<EOL>scaling=(<NUM_LIT:1>, <NUM_LIT:1>, <NUM_LIT:1>)):
scaling = np.array(list(scaling))<EOL>df = pd.read_csv(path)<EOL>locs = np.array(df[["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]])<EOL>mask = ~np.any(np.isnan(locs), axis=<NUM_LIT:1>)<EOL>df = df[mask]<EOL>df['<STR_LIT>'] = list((np.array(df[['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']]) / scaling).astype(np.int))<EOL>df['<STR_LIT>'] = list((np.array(df[['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']]) / scaling).astype(np.int))<EOL>df['<STR_LIT>'] = list((np.array(df[['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']]) / scaling).astype(np.int))<EOL>df = df[['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:size>']]<EOL>return df<EOL>
Test scenario using real synapses