Tools
Tools are useful functions and objects that help with setting up decoding analyses and plot results. The Neural Decoding Toolbox comes with the following tools:
-
create_binned_data_from_raster_data
A function takes the name of a directory that contains files in raster-format and creates data that is in binned-format from these files.
-
find_sites_with_k_label_repetitions
A function takes in labels in binned-format, and an integer k, and returns the indices for all sites (e.g. neurons) that have at least k repetitions of each experimental condition.
-
log_code_object
A helper object saves information about the exact code that was run so that one has a record of how particular results were generated.
-
create_pvalues_from_nulldist_files
-
plot_standard_results_object
This object plots DECODING_RESULTS files that were created by running the standard_resample_CV.run_cv_decoding method, as a function of time.
-
plot_standard_results_TCT_object
This object allows one to display the results for training and testing at different time points in the experiment, i.e., temporal cross-training (TCT) results, for results that were created using the standard_resample_CV.run_cv_decoding method.