@verbose
def __init__(self, input_fname, mrk=None, elp=None, hsp=None, stim='>', slope='-', stimthresh=1, preload=False, stim_code='binary', allow_unknown_format=False, standardize_names=None, verbose=None):
    logger.info(('Extracting SQD Parameters from %s...' % input_fname))
    input_fname = op.abspath(input_fname)
    self.preload = False
    logger.info('Creating Raw.info structure...')
    (info, kit_info) = get_kit_info(input_fname, allow_unknown_format, standardize_names)
    kit_info['slope'] = slope
    kit_info['stimthresh'] = stimthresh
    if (kit_info['acq_type'] != KIT.CONTINUOUS):
        raise TypeError('SQD file contains epochs, not raw data. Wrong reader.')
    logger.info('Creating Info structure...')
    last_samps = [(kit_info['n_samples'] - 1)]
    self._raw_extras = [kit_info]
    self._set_stimchannels(info, stim, stim_code)
    super(RawKIT, self).__init__(info, preload, last_samps=last_samps, filenames=[input_fname], raw_extras=self._raw_extras, verbose=verbose)
    self.info = _call_digitization(info=self.info, mrk=mrk, elp=elp, hsp=hsp, kit_info=kit_info)
    logger.info('Ready.')
@verbose
def __init__(self, input_fname, mrk=None, elp=None, hsp=None, stim='>', slope='-', stimthresh=1, preload=False, stim_code='binary', allow_unknown_format=False, standardize_names=None, verbose=None):
    logger.info(('Extracting SQD Parameters from %s...' % input_fname))
    input_fname = op.abspath(input_fname)
    self.preload = False
    logger.info('Creating Raw.info structure...')
    (info, kit_info) = get_kit_info(input_fname, allow_unknown_format, standardize_names)
    kit_info['slope'] = slope
    kit_info['stimthresh'] = stimthresh
    if (kit_info['acq_type'] != KIT.CONTINUOUS):
        raise TypeError('SQD file contains epochs, not raw data. Wrong reader.')
    logger.info('Creating Info structure...')
    last_samps = [(kit_info['n_samples'] - 1)]
    self._raw_extras = [kit_info]
    self._set_stimchannels(info, stim, stim_code)
    super(RawKIT, self).__init__(info, preload, last_samps=last_samps, filenames=[input_fname], raw_extras=self._raw_extras, verbose=verbose)
    self.info = _call_digitization(info=self.info, mrk=mrk, elp=elp, hsp=hsp, kit_info=kit_info)
    logger.info('Ready.')