Skip to content

Commit

Permalink
v3.2.5
Browse files Browse the repository at this point in the history
# Bug fixes
1. Centered cluster average waveforms are properly saved.
  `trWav_spk_clu` for filtered waveforms and `trWav_raw_clu` for raw waveforms
  `tmrWav_spk_clu` and `tmrWav_raw_clu` have worked properly, which saves waveforms at all sites.

2. Selecting 'vpp' (peak-to-peak voltage) calcultes different values depending on whether you are displaying filtered or raw waveforms.
* When 'pca' or 'ppca' (private pca) features are selected, PCA values are computed for the filtered waveforms whether or not the raw waveforms are displayed.

3. Manual GUI: The x-axis labels on the waveform view are displayed properly without overlapping for smaller monitor size.
* To prevent overlapping displays, the text size is decreased and text angle is rotated (new feature since Matlab 2016b).

# New features
1. Manual GUI: 'ppca' (private PCA) option is added under "Projection" menu.
* When one unit is selected, filtered spike waveforms are projected to the first and second principal vectors of the selected unit for each site.
* When two units are selected, filtered spike waveforms are projected to the first principal axes of the two selected units for each site.

2. "jrc export-chan myparam.prm chan-list" exports channel(s) on "chan-list" to the Matlab workspace and to a binary file (_ch#.jrc).
* To export more than one channel, use "," or ":" without space.
* For example, run "jrc export-chan 33,34,35" or "jrc export-chan 33:35" to export channels 33-35.

3. "jrc export-lfp" to export the LFP waveforms (ordered by the site numbers) to the Matlab workspace.
*  "mnLfp" has a nSamples x nSites dimension, and stores the LFP waveforms in the original data type (16-bit integer by default).
*  "mrSiteXY" has a nSites x 2 dimension, and stores x and y coordinate for the sites (in micrometers)
* To extract a column of sites located at x=0, run "mnLfp(:, mrSiteXY(:,1)==0)"
  • Loading branch information
jamesjun committed Jan 9, 2018
1 parent 8ba4bb8 commit 8a21848
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 77 deletions.
28 changes: 28 additions & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@
J. James Jun

--------------------------------------------------------------------
[2019/1/5: v3.2.5]
Centered cluster average waveforms are properly saved.
`trWav_spk_clu` for filtered waveforms and `trWav_raw_clu` for raw waveforms
`tmrWav_spk_clu` and `tmrWav_raw_clu` have worked properly, which saves
waveforms at all sites.
Selecting 'vpp' (peak-to-peak voltage) calcultes different values
depending on whether you are displaying filtered or raw waveforms.
When 'pca' or 'ppca' (private pca) features are selected, PCA values are computed for the filtered waveforms whether or not the raw waveforms are displayed.
Manual GUI: The x-axis labels on the waveform view are displayed without overlapping for smaller sized monitors.
To avoid overlapping, the text size is decresased and text angle is rotated (new feature since Matlab 2016b).

# New features
Manual GUI: 'ppca' (private PCA) option is added under "Projection" menu.
When one unit is selected, filtered spike waveforms are projected to the first and second principal vectors of the selected unit for each site.
When two units are selected, filtered spike waveforms are projected to the first principal axes of the two selected units for each site.
"jrc export-chan myparam.prm chan-list" exports channel(s) on "chan-list" to the Matlab workspace and to a binary file (_ch#.jrc).
To export more than one channel, use "," or ":" without space.
For example, run "jrc export-chan 33,34,35" or "jrc export-chan 33:35" to export channels 33-35.
"jrc export-lfp" to export the LFP waveforms (ordered by the site numbers) to the Matlab workspace
"mnLfp" has a nSamples x nSites dimension, and stores the LFP waveforms in the original data type (16-bit integer by default).
"mrSiteXY" has a nSites x 2 dimension, and stores x and y coordinate for the sites (in micrometers)
To extract a column of sites located at x=0, run "mnLfp(:, mrSiteXY(:,1)==0)"

[2019/1/4: v3.2.4]
# Bug fixes
Manual GUI: projection display is correctly updated.
Previously the second unit selection (shown in red) required two right clicks to update.

[2019/1/3: v3.2.3]
Bugfix: incorrect "gather" function was called for R2017b when Bigdata toolbox is installed.
Faster and more robust fft_clean operation (run if `fft_thresh` > 0)
Expand Down
4 changes: 2 additions & 2 deletions default.prm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fInverse_file = 0; % Set to 1 to flip the polarity of the signal
header_offset = 0; % File header offset (set to 0 for files containing no header info (e.g. WHISPER format)

% #Execution parameters
version = 'v3.2.3'; % JRCLUST version. Updated on Jan 3, 2018
version = 'v3.2.5'; % JRCLUST version. Updated on Jan 8, 2018
fVerbose = 0; % Verbose flag, set to 0 to suppress displaying extra information
fParfor = 1; % Use Multiple CPU cores (if parallel processing toolbox is installed)
fGpu = 1; % Use GPU if parallel processing toolbox is installed
Expand Down Expand Up @@ -50,7 +50,7 @@ fText = 1; % Show spike count per unit (*, press 'n' to toggle

% #Pre-processing (run "jrc spikesort" after change)
tlim_load = []; % Time range to load in sec (uses all time range if set to empty)
vcFilter = 'ndiff'; % {'ndiff', 'sgdiff', 'bandpass', 'fir1', 'user', 'none'}
vcFilter = 'ndiff'; % {'ndiff', 'sgdiff', 'bandpass', 'fir1', 'user', 'fftdiff', 'none'}
nDiff_filt = 2; % Differentiation filter for vcFilter='sgdiff', ignored otherwise. Set to [] to disable. 2n+1 samples used for centered differentiation
freqLim = [300, 3000]; % Frequency cut-off limit for vcFilter='bandpass', ignored otherwise.
filtOrder = 3; % Bandpass filter order
Expand Down
Loading

0 comments on commit 8a21848

Please sign in to comment.