Add some fizz to your neural and peripheral physiological analyses.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
img
.gitattributes
.gitignore
LICENCE.txt
README.md
phzBiopac_readJournalMarkers.m
phzBiopac_transform.m
phzFFR_equalizeTrials.m
phzFFR_exportBT.m
phzFFR_plot.m
phzFFR_summary.m
phzFeature_fft.m
phzFeature_itrc.m
phzFeature_src.m
phzUtil_binmean.m
phzUtil_fft.m
phzUtil_findAudioMarkers.m
phzUtil_getUniqueProcName.m
phzUtil_getUniqueSaveName.m
phzUtil_getind.m
phzUtil_num2strRegion.m
phzUtil_progressbar.m
phzUtil_readFilename.m
phzUtil_savefig.m
phzUtil_sigstar.m
phzUtil_struct2pairs.m
phzUtil_unstack2.m
phz_blsub.m
phz_check.m
phz_combine.m
phz_create.m
phz_discard.m
phz_epoch.m
phz_feature.m
phz_field.m
phz_filter.m
phz_history.m
phz_labels.m
phz_load.m
phz_norm.m
phz_plot.m
phz_proc.m
phz_rectify.m
phz_region.m
phz_reject.m
phz_review.m
phz_save.m
phz_smooth.m
phz_subset.m
phz_summary.m
phz_transform.m
phz_writetable.m
phzlab.m

README.md

PHZLAB: A MATLAB toolbox for analyzing physiological data.

PHZLAB Logo

PHZLAB is a MATLAB Toolbox for analyzing physiological data, both peripheral (e.g., EDA, EMG) and neural (i.e., ABR). Really, it is good for any multiple-trial time-series data. It has been designed with the following goals in mind:

  • make it easy and fast to try different analyses
  • easy presentation-ready figures and stats-ready data frames
  • be simple enough to act as an introduction to MATLAB
  • be hackable enough so as not to be a hindrance, while still adding value

See the wiki for a proper introduction, quickstart guide, example pipeline scripts, and other reference pages.

Installation in Three Steps

1. System Requirements

PHZLAB requires MATLAB to run. Since PHZLAB uses the table and categorical variable types, it will only run on MATLAB versions R2014a and later. Also for this reason, it won't run in Octave.

Some PHZLAB functions depend on MATLAB Toolboxes. Details about the dependencies can be found in the help section of the functions themselves.

  • phzBiopac_readJournalMarkers requires the Statistics and Machine Learning Toolbox.

  • phz_filter requires the Signal Processing Toolbox.

2. Download

Manual download. Use the download link in the upper-right corner of this webpage (https://github.com/gabenespoli/phzlab). Unzip the file and put it somewhere where you can easily add it to your MATLAB path (like ~/Documents/MATLAB).

Install using git. From a terminal, move to the directory where you want to put PHZLAB (like ~/Documents/MATLAB) and clone the git repository there. You may need to install git first (e.g., on a Mac you'll need the XCode Command Line Tools, which you can obtain by running xcode-select install in a terminal).

cd ~/Documents/MATLAB
git clone https://github.com/gabenespoli/phzlab

This makes it easy to update PHZLAB:

cd ~/Documents/MATLAB/phzlab
git pull

3. Add to the MATLAB path

Use the MATLAB menu to add the phzlab folder to your path, or type the following in the command window or your scripts:

addpath('~/Documents/MATLAB/phzlab')

Acknowledgements

I would like to thank the SMART Lab (especially Frank Russo, Ella Dubinsky, and Fran Copelli), Alex Andrews, and Carson Pun for their invaluable thoughts, suggestions, inspiration, and feedback.

PHZLAB contains an adapted version of sigstar.

License

This software is covered by the GNU General Public Licence v3.