Spinal Cord Research Centre







SCRC Data Capture and Analysis Software
New & Updated Analysis Scripts

A number of new scripts were added to the script archives on our site in the past seven years:

addi2run
This script is used to add imaging data, as analyzed in the Brownstone lab, to runs of data bearing sync pulses for aligning the imported data. markers.
addwfs2run
This script is used to add waveform data from other runs to a run file.
burstbars
This script can modify the format of a raw waveform plot, to show the cycle active phases as horizontal bars rather than vertical burst start and end markers.
condtest
This script runs a trace average based on tag value to calculate condition+test comparisons, using qm's Run/Calc to calculate the difference.
ecgfrq
This script plots ECG spike frequencies and calculates the average, by performing a spike frequency analysis on a range of data in a run. Though written for processing ECG/EKG data, it should be generally applicable to other spike data.
hpgl2svg
This script was added to convert HPGL plot files to the now commonly-supported SVG vector graphics file format. Many of the other HPGL conversion scripts, like hpgl2pdf, were fixed to better support labels as text, and support the text conversion and layout options like -f, -t, -r and -m as for hpgl2psc.
lininterp
This script can perform linear interpolation of data in CSV files to "upsample" it.
powersp
regcomp
These analysis scripts were added to assist Dr. Slawinska's lab in analyzing FFT power spectra of waveforms in a run, and for statistically comparing regression lines in two sets of X-Y data pairs.
proa2run
stickfig
These scripts were added to convert ProAnalyst export text file to our runfile format, so that kinematic X-Y position and angle data can be analyzed using the SCRC software, and to get stick-figure plots of limb coordinates over time.
tore2run
convtore
These scripts were written to convert data from the U. of Goteborg.
wfampls
This script provides new capabilities for exporting and plotting waveform amplitudes for normalized cycles. Data are extracted from runs as CSV files, and are plotted as HPGL. You can quickly do a batch-mode export and plot of several waveforms from multiple run files at once.

In that time, we also updated several scripts from the script archives on our site:

burstareas
This script for calculating the area under the curve for activity bursts has been updated with the addition of these new options:
-d specifies the data columns to be exported rather than the default start, end, mean and area, you can now also select burst duration, cycle duration and peak amplitude, and select any order for the output.
-f specifies an alternate field separator, rather than the default comma.
-h specifies that a heading will appear at the top of each column of data.
gensspp
This script for generating start-stop time polar plots has been updated with the addition of these new options: -ym and -yw specify the marker symbol and its width for each data point on the plot.
getrundata
This script for generating import data summaries for our FileMaker experiment databases will now add a date field if it can determine the experiment's date from the experiment date or from any ABF files associated with the experiment.
getwfdata
This script for exporting waveforms as CSV files now has a -h option to get a heading with the time range and frequency, and some bug fixes and better error checking.
sdump
This script for saving and printing screen dumps can now save in a number of common image formats, supports colour images, and printing to colour PostScript printers. We fixed a bug in the dump file number incrementing that caused it to lose digits in some cases.
spfrqpeel
spfrqramps
The spfrqpeel script for calculating spike frequency curves now has a -f option to export the curve as a .frm file, for further analysis by the peel program. The spfrqramps script for analyzing frequencies on current ramps can export the currents and frequencies as ASCII data, using the new -a option, and the new -cd option can specify the minimum crossing delay for burst detection.
wf2sp
This script for exporting waveform data to the Spike Discriminator program in Matlab now has a -t option to specify the range of data to export.
wf2mp3
This script for exporting waveform data as sound now has a -t option to specify the range of data to export, and a number of bug fixes. It can also be called as wf2dsp to directly output sound to the Linux audio output.

Be sure to check out our script archives for further updates as they become available, and please let us know if you have any scripts to contribute. See our 2006 list of script updates for highlights of previous developments.


See also: SCRC Software On-line Documentation, SCRC Software Tutorials





© Copyright 2013 G. R. Detillieux, Spinal Cord Research Centre, University of Manitoba. All Rights Reserved. Contact Us for more information.
Revised December 17, 2013.