P r o g r e s s

Awk scripts for different kinds of data munging

XML Excel Sheet

Two-way IO command pipeline

Two-way IO command pipeline to run R Scripts

  • Awk script to calculate descriptive statistics for specified time-windows in the input EMG data. Uses the two-way IO pipeline feature of Gawk, and calls an executable R Script to calculate basic descriptive statistics. The principle is that awk does what it does best and sends the output data frame to R, which does what it does best, and sends its output back to awk, and awk parses this output to produce the ultimate output table. See also the R section for the R scripts that go hand in hand with this script.
    AWK_Calculate-Windowed-Stats-EMG.html
  • Awk script to calculate standard deviation of the max-min range over all trials. Another example similar to the above; only, this one runs two different R scripts for two purposes. See also the R section for the R scripts that go hand in hand with this script.
    AWK_Calculate-SD-Range-Over-Trials.html
  • Awk script to calculate standard deviation of the max-min range over all trials. One more example or running R scripts; this one runs a moving window scan of the data using a supportive R script. See also the R section for the R scripts that go hand in hand with this script.
    AWK_Scan-Data-for-Outlier-Ranges-using-Moving-Window.html

Parsing and processing Presentation logfiles of various types

Filter the ERP Anova output texfile and generate a gist of all significant effects

  • Awk script step 1 to filter out significant effects from the Tex file generated by ERP Anova (using the main.R method)
    AWK_Extract-Sig-Effects-Step1-from-Texfile.html
    This script calls the step 2 script below, since step 2 depends fully upon the output of step 1 and should work in tandem with it.

Miscellaneous

  • Awk script to process praat-generated output to generate an output file that could be fed into R for plotting approximate auditory contours
    AWK_T_Pitchplot.html

Processing EEProbe Trigger files



Page is a work in Progress...;-)

Disclaimer

Any and all scripts available on these pages or snippets thereof can be freely copied, reused, redistributed and modified, provided it is exclusively for non-commercial scientific research purposes. Unless otherwise explicitly mentioned in the header block, none of the scripts or snippets provided on these pages involve copyrighted material from or intellectual property of other unacknowledged sources.

Presentation is a registered trademark, owned by Neurobehavioral Systems, Inc., CA, USA.

Whilst the scripts and code snippets provided here are intended to be useful in the broader pursuit of science, they are provided 'as is', with no warranty of any sort, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author(s) or the Institute be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the scripts provided on these pages or the use or other dealings in the scripts. Comments, criticisms and suggestions for improvements are always welcome. Please get in touch with Dr. R. Muralikrishnan in this regard. Copyleft (ↄ) R. Muralikrishnan (only for the scripts and code snippets on these pages).