Auerbach-Lab/Behavior-autoanalysis

Naming change in Gap Detection files

Closed this issue · 1 comments

Issue

We have change the naming convention for Gap Detection files to now include the difference in decibels between the steady (background) noise and the 'gap'.

⚠️ Gap files are not always sound vs. no sound. They are sometimes sound vs. quieter sound. The naming convention now makes this explicit.

Expected Behavior

Gap files need to have their generated name (canonical name in the run_archive) be in the format of:
gap_<steady noise volume in decibels>_<difference in decibels between the steady noise and the the gap>_<length of the gap in millisecond>_<lock out time on no go trials in seconds>
This should produce a name match between assigned files and the the generated name.

❗ Notes ❗

  • Currently the files use an absolute 2 digits for the difference in decibels between the steady noise and the the gap. So in the attached files, where the gap difference is 5dB, the name is gap_30dB_05dB_1-100ms_12s
  • There is currently no way to determine the difference in decibels between the steady noise and the the gap from the stim or result tables. It must be pulled from the file title. I am working to get this changed.

Steps to reproduce

New gap naming files.zip
Import attached file using the attached matlab, rat_archive, and run_archive

Fixed and working. Not sure why this didn't get closed.