/nociceptive-detection

Files for custom components used in nociceptive detection behavior

Primary LanguageMATLAB

nociceptive-detection

This repository contains associated data used and acquired during the development of the nociceptive detection assay.
For assembly and use, please see the materials and methods section in the Scientific Reports paper.

This directory contains matlab scripts pertaining to custom functions used to analyze behavioral data.

euclidean_distance

Calculates the euclidean distance between the self-report and reflex report for each stimulation intensity in a given session.

input

  • data: struct containing self-reports (1x360 data.self_rep), video scores (1x360 data.rflx_rep), number of trials (data.num_trials), and the stimulus intensities (1x360 data.stim_vals)

output

  • euclid_d: nx2 matrix containing the range of stimulation intensities and corresponding euclidean distances

This directory contains the files for custom components used in building the nociceptive detection behavioral rig.

grated floor

The grated floor has a 5x5 grid of 4mm holes, with 1mm spacing for delivery of sensory stimuli to the hindpaw.

behavioral base

The behavioral base is designed to be secured via M6 screws to a M6 compatible breadboard (ex. from Thorlabs). The base also has an opening to accomodate custom grated floors.

This directory contains raw data associated with figures from the nociceptive detection assay manuscript.

Data is saved as a struct in a .mat file, and contains the following fields:

  • times: timestamps for continuous data (ms)
  • data: continuous (mV)
  • fs: sampling rate (S/s)
  • events: timestamps for events (ms)