Package qubx :: Module data_gpatch
[hide private]
[frames] | no frames]

Module data_gpatch

source code

Reads .gpatch data files.

Copyright 2008-2011 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  GPatchWSweep
  GPatchMSweep
  QubData_Gpatch_Analog
  QubData_GPatch
One open GPATCH dat file.
Functions [hide private]
 
open_mmap_readonly(path) source code
Variables [hide private]
  GPM_headerSize = 2048
  GPM_maxPulses = 64
  GPM_maxTriggers = 8
  GPM_maxCharSize = 16
  GPM_currSizeUsed = 1336
  GPATCH_MAX_SIGNALS = 8
  COPY_ROWS_ALL = 0
  COPY_ROWS_CHECKED = 3
  COPY_ROWS_CRITERIA = 2
  COPY_ROWS_GROUP = 1
  DATASOURCE_FILE = 0
  DATASOURCE_LIST = 2
  DATASOURCE_SCREEN = 1
  STIM_TYPE_CONST = 0
  STIM_TYPE_EXPR = 2
  STIM_TYPE_SIGNAL = 1
  __package__ = 'qubx'
  e = 2.71828182846
  pi = 3.14159265359
  rdbk = 'Expired.'
  rdbreak = 'supporting'
  rdname = 'qubfast.txt'