You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.
When attempting to run the software with the density in core_calc_psd.m set less than 10 (eg 1, 3, 9) I get an error after the calculations are finished when the program attempts to do the pcolor plot in the GUI.
Error using pcolor (line 57)
Matrix dimensions must agree.
Error in core_calc_psd (line 58)
pcolor(sample(ix).scale,sample(ix).locations,sample(ix).dist')
Error while evaluating uicontrol Callback
Looking at the attributes of sample after a failed run, I see that locations is a 1x1918 matrix, scale is a 1x73 matrix, and dist is a 73x1917 matrix. If I export the data from the run, the csv is blank except for the headers and I get an additional error again resulting from matrix dimensions not agreeing. Runs with the density set at 10 and above (eg 10, 15, 100) do not have this disagreement in dimensions.
The text was updated successfully, but these errors were encountered:
This problem does not reproduce itself on all images. Also some images tested ran successfully at density=5 but failed at density=9 .
I saw that the dimensions of sample.dist are determined by the dimensions of sample.roi so I changed sample.locations to be set based off the dimensions of sample.roi as well (line 52 of core_calc_psd.m). This seems to have solved my problem for now.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When attempting to run the software with the density in core_calc_psd.m set less than 10 (eg 1, 3, 9) I get an error after the calculations are finished when the program attempts to do the pcolor plot in the GUI.
Looking at the attributes of
sample
after a failed run, I see thatlocations
is a 1x1918 matrix,scale
is a 1x73 matrix, anddist
is a 73x1917 matrix. If I export the data from the run, the csv is blank except for the headers and I get an additional error again resulting from matrix dimensions not agreeing. Runs with the density set at 10 and above (eg 10, 15, 100) do not have this disagreement in dimensions.The text was updated successfully, but these errors were encountered: