Skip to content
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

Error displaying roisignals in roimanager for piezo (multiplane) recordings #6

Open
ehennestad opened this issue Sep 22, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@ehennestad
Copy link
Collaborator

Warning: Error occurred while executing the listener callback for event roiSelectionChanged defined for class roimanager.roiGroup:
Index exceeds the number of array elements. Index must not exceed 0.
Error in nansen.twophoton.roisignals.extractF>validateInputDimensions (line 169)
    roiSize = roiArray(1).imagesize;
Error in nansen.twophoton.roisignals.extractF (line 79)
    validateInputDimensions(imageStack, roiArray) % Local function
Error in nansen.roisignals.RoiSignalArray/extractSignals (line 621)
            signalData = extractF(imageStack, roiArray, options, 'roiInd', roiInd, 'channelNum', channelNum);
Error in nansen.roisignals.RoiSignalArray/updateSignals (line 567)
                        obj.extractSignals(roiInd, chNo, options);
Error in nansen.roisignals.RoiSignalArray/getSignals (line 424)
                obj.updateSignals(roiInd(isMissingSignal), signalName, options)
Error in roisignalviewer.App/updateSignalPlot (line 777)
                signalData = obj.RoiSignalArray.getSignals(roiInd, signalName, obj.Parameters, [], forceUpdate);
Error in roisignalviewer.App/onRoiSelectionChanged (line 520)
                obj.updateSignalPlot(selectedRoiIdx, 'append');
Error in roimanager/roiDisplay>@(s,e)onRoiSelectionChanged(obj,e) (line 240)
                'roiSelectionChanged', @(s, e) onRoiSelectionChanged(obj, e));
Error in roimanager/roiGroup/changeRoiSelection (line 499)
            obj.notify('roiSelectionChanged', eventData)
Error in roimanager/roiMap/selectRois (line 1755)
                obj.RoiGroup.changeRoiSelection(oldSelection, newSelection, obj)
Error in roimanager/roiMap/hittest (line 1635)
            obj.selectRois(roiInd, hFig.SelectionType, true)
Error in roimanager.pointerTool.selectObject/onButtonDown (line 71)
            [isRoiSelected, roiInd] = obj.RoiDisplay.hittest(src, event);
Error in uim.interface.pointerManager/onButtonDown (line 192)
                    obj.currentPointerTool.onButtonDown(src, event)
Error in uim.interface.pointerManager>@(varargin)obj.onButtonDown(varargin{:}) (line 74)
            hAxes.ButtonDownFcn = @obj.onButtonDown; % Use button down callback of axes..
> In roimanager/roiGroup/changeRoiSelection (line 499)
In roimanager/roiMap/selectRois (line 1755)
In roimanager/roiMap/hittest (line 1635)
In roimanager.pointerTool/selectObject/onButtonDown (line 71)
In uim.interface/pointerManager/onButtonDown (line 192)
In uim.interface.pointerManager>@(varargin)obj.onButtonDown(varargin{:}) (line 74)

Needs debugging

@ehennestad
Copy link
Collaborator Author

Signal extraction for multiplane recordings are currently not supported in the roimanager

@ehennestad ehennestad added bug Something isn't working enhancement New feature or request labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant