Skip to content

Commit

Permalink
fix trial index
Browse files Browse the repository at this point in the history
  • Loading branch information
egmcbride committed Dec 3, 2024
1 parent d2a4716 commit 990faee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamic_routing_analysis/decoding_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,7 @@ def concat_trialwise_decoder_results(files,savepath=None,return_table=False,n_un
decoder_confidence_all_trials['probe'].append(probe_name)
decoder_confidence_all_trials['cross_modal_dprime'].append(performance['cross_modal_dprime'].mean())
decoder_confidence_all_trials['n_good_blocks'].append(np.sum(performance['cross_modal_dprime']>=1.0))
decoder_confidence_all_trials['trial_index'].append(trials_middle['original_index'].values)
decoder_confidence_all_trials['trial_index'].append(trials['original_index'].values)
decoder_confidence_all_trials['confidence'].append(confidence_all_trials)
decoder_confidence_all_trials['predict_proba'].append(predict_proba_all_trials)
decoder_confidence_all_trials['n_units'].append(decoder_results[session_id]['results'][aa]['n_units'])
Expand Down

0 comments on commit 990faee

Please sign in to comment.