ntrodeGroups.m 671 B

12345678910111213141516171819202122232425262728
  1. function output = ntrodeGroups(ccf)
  2. % ntrodeGroups
  3. %
  4. % This script takes in a CCF file and displays the information on the
  5. % ntrode groups within the data file.
  6. %
  7. % ccf: Pass the CCF of interest. If no CCF is passed, the user will
  8. % be prompted to choose a CCF file.
  9. % DEFAULT: Will open Open File UI.
  10. %
  11. % Kian Torab
  12. % ktorab@blackrockmicro.com
  13. % Blackrock Microsystems
  14. % Version 1.1.0.0
  15. %
  16. if ~exist('ccf', 'var')
  17. ccf = openCCF;
  18. end
  19. for idx = 1:length(ccf.NTrodeInfo.NTrodeID)
  20. fprintf('NTrode group %d members: %s\n', idx, int2str(ccf.NTrodeInfo.NTrodeMembers{idx}));
  21. end
  22. output = ccf.NTrodeInfo.NTrodeMembers;