Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

getOnOffTracesCellArraysFromTable.m 589 B

1234567891011
  1. function allNeuronsOnOffTraces = getOnOffTracesCellArraysFromTable(StimTableNeuronStim)
  2. allNeuronsOnOffTraces = cell(1, size(StimTableNeuronStim, 1));
  3. for iNeuron = 1: size(StimTableNeuronStim, 1)
  4. allOnOffTracesCell = cat(1, StimTableNeuronStim{iNeuron, 1}.paddedEpochStacks{:});
  5. allOnOffTracesCell = cellfun(@(x) x', allOnOffTracesCell, 'uni', 0);
  6. allOffTraces = cat(1, allOnOffTracesCell{:, 1});
  7. allOnTraces = cat(1, allOnOffTracesCell{:, 2});
  8. allOnOffTracesArray = [allOffTraces allOnTraces];
  9. allNeuronsOnOffTraces{iNeuron} = allOnOffTracesArray;
  10. end