Skip to content

Commit

Permalink
points to stim are automatically added back after sample calib done.
Browse files Browse the repository at this point in the history
  • Loading branch information
raacampbell committed Oct 24, 2023
1 parent 85fa7ce commit eaaab2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -28,6 +28,9 @@ NOTE: the version number of the software is taken from the last version number i
2023/08/23 -- v0.13.1
* BUGFIX: Zap all coords works with fewer than three locations.
* BUGFIX: Gracefully handle lack of Instrument Control Toolbox.
* Overlaid stim points are created as soon as a new stim config is loaded. They are
disabled automatically when a new sample calib is initiated and refreshed after the
calib is complete.

2023/08/23 -- v0.13.0
* MAJOR: Add ability to set a fixed stimulus duration with `sendSamples`.
Expand Down
Expand Up @@ -47,7 +47,6 @@ function calibrateSample_Callback(obj,~,~)

while obj.nInd<3
pause(0.05)

end


Expand Down Expand Up @@ -82,6 +81,13 @@ function calibrateSample_Callback(obj,~,~)
obj.plotOverlayHandles.brainOutlineCalibrated = ...
plot(calib(:,1), calib(:,2), '-g', 'linewidth', 2, 'parent', obj.hImAx);
hold(obj.hImAx,'off')

% Overlay stim points
if obj.model.isReadyToStim
obj.OverlaystimsitesButton.Value=1; % Checks button
obj.overlayStimSites_Callback; % Adds points
end

end


Expand Down

0 comments on commit eaaab2f

Please sign in to comment.