-
Notifications
You must be signed in to change notification settings - Fork 0
2 step soundcat arpit #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
arpit99ag
wants to merge
156
commits into
main
Choose a base branch
from
2_step_soundcat_arpit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
replace specific rig ID with NaN
- Adjust figure position to center on screen - Make figure visible by default - Update position calculations
Clarifying excluded directories and files
- Replace deprecated JavaFrame usage with WindowStyle property - Remove commented-out legacy code - Improve compatibility with future MATLAB releases
- reposition ToggleParam for stimulus visibility to make it visible in the GUI - Simplify axis labels and font sizes for consistency
* Copy plots to new figure in StimulusSection.m - Add copyobj calls to duplicate axes and plots - Enhance responsiveness by copying plot objects - Improve GUI management with copied elements - Note: This is a hacky workaround since plots don't display correctly on the original figure - Optimize figure positioning and sizing - Update axis labels and tick marks * Improve figure positioning and sizing - Center PokesPlotSection figure while maintaining original aspect ratio - Center AthenaDelayComp protocol figure on screen while preserving original size - Use dynamic positioning based on screen size for better cross-platform compatibility * clearing axes, creating axes in loop * Refactor StimulusSection plotting of pairs - Implement new axes (ax2 and axperf2) for pairs performance - Copy of ax and axperf axes content to ax2 and axperf2
* updating AthenaDelayComp with opto settings * adding SoundCatContinuous protocol from rig 31
removing irrelevant windows 7 instructions
* modernize StateMachineAssembler - Replace hardcoded input mappings with dynamic configuration - Add support for variable number of input lines - Implement input validation and error handling - Update state matrix dimensions to accommodate flexible input count * add fifth sound channel support - Add new sound parameters (A5_sigma) - Implement SoundManagerSection integration for fifth sound - Add Toggle parameter for fifth sound channel - Add corresponding callback function implementation * improve GUI layout and code structure * Refactor GUI initialization logic for better organization * Implement dynamic GUI sizing based on monitor dimensions * Standardize indentation and spacing throughout the file * improving code structure * GUI aesthetic tweeks
* djust sigma values in SoundCalibration.m - Updated A1_sigma to 0.007. - Modified A2_sigma to use geometric mean of 0.05 and 0.007. - Set A3_sigma, A4_sigma, and A5_sigma to 0.05. - Retained previous values as comments for reference. * Update calibration values max, min, mean and middle between mean&max and mean&min --------- Co-authored-by: ledapent <[email protected]> Co-authored-by: Leda Pentousi <[email protected]>
…col: 1 step for cenre poke
…ted training stages, renamed overall performance section to sessionperformance with some added data to be tracked over sessions and among others
…lation from SMA to ParamsSection
… plot as well as new module for ephys to control both spikeglx and openephys. Work in progress and could see another big update
…tSoundCatContniuous
8afe54a
to
bc9d19b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Merge Request: Introduce Arpit_CentrePokeTraining Protocol
This merge request introduces a new protocol,
Arpit_CentrePokeTraining
, designed to automate the training of rats to perform centre pokes. This protocol is based on the existingSoundCatContinuous
protocol but incorporates several significant modifications and improvements.Key Changes and Features:
New Automated Training Protocol:
Arpit_CentrePokeTraining
for centre poke training.sessionmodel2
instead of the previoussessionmodel
.Configurable Training Stages:
SessionDefinition
.SessionDefinition
or configured via a.mat
file:Arpit_CentrePokeTraining_SessionDefinition_AutoTrainingStages.m
..m
file, remember to load it before making changes and save it afterward for the changes to take effect.Flexible Stimulus Presentation:
Updated State Machine Logic:
Time-Limited Reward Collection:
New Panel To Change Training Params::
Improved Performance Tracking:
Enhanced Stimuli Configuration (Work in Progress):
This new protocol aims to provide a more robust and flexible framework for automated centre poke training.
Additionally, edited the m file in Plugin>sessionmodel2>CreateHelperVars as there was a conflict with same name for a variable and a function and therefore changed the name of the variable.
Type of Change
Checklist
Related Issues
Closes # (issue number)