~mnemonic-dev/mnemonic/trunk

Viewing all changes in revision 2.

  • Committer: Richard Lawrence
  • Date: 2008-09-19 17:20:01 UTC
  • Revision ID: rwl@psych.upenn.edu-20080919172001-x09x7v03birc6bsp
Removed analyses.helpers.matrixops and replaced it with 
analyses.helpers.arrayops.

arrayops has a generalized version of the old matrixops.apply_by_subj function,
which applies a function to multiple arrays.  This has resulted in the 
following changes:
  - the implementation of apply_by_subj is greatly simplified and more
    consistent: it slices arrays instead of making lists of lists of rows,
    and the documentation is easier to understand
  - arrayops no longer contains an apply_by_row_by_subj function, since
    it wouldn't make much sense to apply a single function to every row of
    multiple matrices containing different kinds of data as a pre-processing
    step.  Any pre-processing can be coordinated by the subject function
    passed to apply_by_subj.
  - analyses.basic.crp.crps has been changed slightly to reflect the new
    implementation of apply_by_subj

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: