Skip to content

Commit

Permalink
more cleanups on the svn properties
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@2782 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
  • Loading branch information
robertoostenveld committed Feb 3, 2011
1 parent d2b408d commit 71b727b
Show file tree
Hide file tree
Showing 171 changed files with 15,731 additions and 15,731 deletions.
Empty file modified COPYING 100755 → 100644
Empty file.
Empty file modified README 100755 → 100644
Empty file.
Empty file modified external/COPYING 100755 → 100644
Empty file.
Empty file modified external/README 100755 → 100644
Empty file.
Empty file modified external/afni/README 100755 → 100644
Empty file.
Empty file modified external/bci2000/README 100755 → 100644
Empty file.
Empty file modified external/besa/COPYING 100755 → 100644
Empty file.
Empty file modified external/besa/README 100755 → 100644
Empty file.
Empty file modified external/ctf/README 100755 → 100644
Empty file.
Empty file modified external/dipoli/README 100755 → 100644
Empty file.
472 changes: 236 additions & 236 deletions external/eeglab/COPYING 100755 → 100644

Large diffs are not rendered by default.

Empty file modified external/eeglab/README 100755 → 100644
Empty file.
Empty file modified external/eeprobe/README 100755 → 100644
Empty file.
Empty file modified external/fastica/README 100755 → 100644
Empty file.
94 changes: 47 additions & 47 deletions external/neuroshare/libraries/plexon/PlexonNeuroshare.txt 100755 → 100644
@@ -1,47 +1,47 @@
Notes on the Plexon Neuroshare DLL implementation:
- When returning Ext Events through the ns_GetEventInfo & ns_GetEventData Neuroshare APIs, each individual
event code is returned as an individual entity, and all strobed event codes are returned as a single entity.
For all events, a 2-byte data value is always returned.
For individual events, the data value is the event code.
For strobed events, the data value is the strobe value.
- For Segment entities, the timestamp reported is the time of the first sample. However, for Neural entities,
the timestamp reported is the trigger time (including the prethreshold time). Note that this means that timestamps
of Segment entities will not in general match the timestamp for the corresponding Neural entity.
- Stereotrode/tetrode data is handled for PLX files with Version 103 or later. The Neuroshare DLL uses the
'Data' trodalness and not the 'True' trodalness. This means that for stereotrode/tetrode files acquired
directly from the Plexon MAP system, the Neuroshare DLL will report the data as being single electrode
because the 'Data' trodalness is 1. This still allows full access to the stereotrode/tetrode data, except
it is delivered in a single-channel format. To convert a 'raw' stereotrode/tetrode PLX file to have a 'Data'
trodalness of 2 or 4 (corresponding to stereotrode/tetrode data), the PLX file can be opened and re-saved
in Offline Sorter.
- ns_FILEINFO.dwTime_DayofWeek is not filled, as this item will be removed.
- Months are filled assuming Jan == 1
Release History:
1.0 Released 12/3/03
- initial release
1.1 Released 7/26/04
- fix problems with GetTimeByIndex, GetIndexByTime for analog entries
1.2 Released 1/17/05
- support for version 105 PLX file with changes in gain handling
Limitations:
The DLL only supports PLX files. DDT file support will follow shortly.
The DLL only supports PLX files that are less than 2^32 bytes long.


Notes on the Plexon Neuroshare DLL implementation:


- When returning Ext Events through the ns_GetEventInfo & ns_GetEventData Neuroshare APIs, each individual
event code is returned as an individual entity, and all strobed event codes are returned as a single entity.
For all events, a 2-byte data value is always returned.
For individual events, the data value is the event code.
For strobed events, the data value is the strobe value.

- For Segment entities, the timestamp reported is the time of the first sample. However, for Neural entities,
the timestamp reported is the trigger time (including the prethreshold time). Note that this means that timestamps
of Segment entities will not in general match the timestamp for the corresponding Neural entity.

- Stereotrode/tetrode data is handled for PLX files with Version 103 or later. The Neuroshare DLL uses the
'Data' trodalness and not the 'True' trodalness. This means that for stereotrode/tetrode files acquired
directly from the Plexon MAP system, the Neuroshare DLL will report the data as being single electrode
because the 'Data' trodalness is 1. This still allows full access to the stereotrode/tetrode data, except
it is delivered in a single-channel format. To convert a 'raw' stereotrode/tetrode PLX file to have a 'Data'
trodalness of 2 or 4 (corresponding to stereotrode/tetrode data), the PLX file can be opened and re-saved
in Offline Sorter.

- ns_FILEINFO.dwTime_DayofWeek is not filled, as this item will be removed.

- Months are filled assuming Jan == 1




Release History:

1.0 Released 12/3/03
- initial release

1.1 Released 7/26/04
- fix problems with GetTimeByIndex, GetIndexByTime for analog entries

1.2 Released 1/17/05
- support for version 105 PLX file with changes in gain handling



Limitations:

The DLL only supports PLX files. DDT file support will follow shortly.
The DLL only supports PLX files that are less than 2^32 bytes long.
18 changes: 9 additions & 9 deletions external/neuroshare/readme.txt 100755 → 100644
@@ -1,9 +1,9 @@
To use:
1) Put all of the Neuroshare '.m' scripts into a directory
2) Put the mexprog.dll into the same directory
3) Put the NeuroshareDLL into the same directory
4) Change your matlab path to this directory
-or-
Add this directory to your Matlab path
5) Done.
To use:

1) Put all of the Neuroshare '.m' scripts into a directory
2) Put the mexprog.dll into the same directory
3) Put the NeuroshareDLL into the same directory
4) Change your matlab path to this directory
-or-
Add this directory to your Matlab path
5) Done.
Empty file modified external/openmeeg/COPYING 100755 → 100644
Empty file.
Empty file modified external/openmeeg/README 100755 → 100644
Empty file.
Empty file modified external/spm2/COPYING 100755 → 100644
Empty file.
Empty file modified external/spm2/README 100755 → 100644
Empty file.
Empty file modified external/spm2/spm_brainwarp.c 100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion external/spm8/@nifti/private/nifti_stats_mex.c
@@ -1,5 +1,5 @@
#ifndef lint
static char svnid[] = "$Id: nifti_stats_mex.c 253 2005-10-13 15:31:34Z guillaume $";
static char svnid[] = "$Id$";
#endif
/*
* This is a Matlab mex interface for Bob Cox's extensive nifti_stats.c
Expand Down
Empty file modified external/yokogawa/README 100755 → 100644
Empty file.
Empty file modified fileio/COPYING 100755 → 100644
Empty file.
Empty file modified fileio/README 100755 → 100644
Empty file.
Empty file modified fileio/private/mxDeserialize.c 100755 → 100644
Empty file.
Empty file modified fileio/private/mxSerialize.c 100755 → 100644
Empty file.
Empty file modified multivariate/COPYING 100755 → 100644
Empty file.
86 changes: 43 additions & 43 deletions multivariate/external/PQN/KPM/mexutil.c 100755 → 100644
@@ -1,43 +1,43 @@
#include "mexutil.h"

/* Functions to create uninitialized arrays. */

mxArray *mxCreateNumericArrayE(int ndim, const int *dims,
mxClassID class, mxComplexity ComplexFlag)
{
mxArray *a;
int i, *dims1 = mxMalloc(ndim*sizeof(int));
size_t sz = 1;
for(i=0;i<ndim;i++) {
sz *= dims[i];
dims1[i] = 1;
}
a = mxCreateNumericArray(ndim,dims1,class,ComplexFlag);
sz *= mxGetElementSize(a);
mxSetDimensions(a, dims, ndim);
mxFree(dims1);
mxSetData(a, mxRealloc(mxGetData(a), sz));
if(ComplexFlag == mxCOMPLEX) {
mxSetPi(a, mxRealloc(mxGetPi(a),sz));
}
return a;
}
mxArray *mxCreateNumericMatrixE(int m, int n, mxClassID class,
mxComplexity ComplexFlag)
{
size_t sz = m*n*sizeof(double);
mxArray *a = mxCreateNumericMatrix(1, 1, class, ComplexFlag);
mxSetM(a,m);
mxSetN(a,n);
mxSetPr(a, mxRealloc(mxGetPr(a),sz));
if(ComplexFlag == mxCOMPLEX) {
mxSetPi(a, mxRealloc(mxGetPi(a),sz));
}
return a;
}
mxArray *mxCreateDoubleMatrixE(int m, int n,
mxComplexity ComplexFlag)
{
return mxCreateNumericMatrixE(m,n,mxDOUBLE_CLASS,ComplexFlag);
}
#include "mexutil.h"

/* Functions to create uninitialized arrays. */

mxArray *mxCreateNumericArrayE(int ndim, const int *dims,
mxClassID class, mxComplexity ComplexFlag)
{
mxArray *a;
int i, *dims1 = mxMalloc(ndim*sizeof(int));
size_t sz = 1;
for(i=0;i<ndim;i++) {
sz *= dims[i];
dims1[i] = 1;
}
a = mxCreateNumericArray(ndim,dims1,class,ComplexFlag);
sz *= mxGetElementSize(a);
mxSetDimensions(a, dims, ndim);
mxFree(dims1);
mxSetData(a, mxRealloc(mxGetData(a), sz));
if(ComplexFlag == mxCOMPLEX) {
mxSetPi(a, mxRealloc(mxGetPi(a),sz));
}
return a;
}
mxArray *mxCreateNumericMatrixE(int m, int n, mxClassID class,
mxComplexity ComplexFlag)
{
size_t sz = m*n*sizeof(double);
mxArray *a = mxCreateNumericMatrix(1, 1, class, ComplexFlag);
mxSetM(a,m);
mxSetN(a,n);
mxSetPr(a, mxRealloc(mxGetPr(a),sz));
if(ComplexFlag == mxCOMPLEX) {
mxSetPi(a, mxRealloc(mxGetPi(a),sz));
}
return a;
}
mxArray *mxCreateDoubleMatrixE(int m, int n,
mxComplexity ComplexFlag)
{
return mxCreateNumericMatrixE(m,n,mxDOUBLE_CLASS,ComplexFlag);
}

16 changes: 8 additions & 8 deletions multivariate/external/PQN/KPM/mexutil.h 100755 → 100644
@@ -1,8 +1,8 @@
#include "mex.h"

mxArray *mxCreateNumericArrayE(int ndim, const int *dims,
mxClassID class, mxComplexity ComplexFlag);
mxArray *mxCreateNumericMatrixE(int m, int n, mxClassID class,
mxComplexity ComplexFlag);
mxArray *mxCreateDoubleMatrixE(int m, int n,
mxComplexity ComplexFlag);
#include "mex.h"

mxArray *mxCreateNumericArrayE(int ndim, const int *dims,
mxClassID class, mxComplexity ComplexFlag);
mxArray *mxCreateNumericMatrixE(int m, int n, mxClassID class,
mxComplexity ComplexFlag);
mxArray *mxCreateDoubleMatrixE(int m, int n,
mxComplexity ComplexFlag);

0 comments on commit 71b727b

Please sign in to comment.