This file is indexed.

/usr/lib/python2.7/dist-packages/biosig.py is in python-biosig 1.3.0-2.2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_biosig')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_biosig')
    _biosig = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_biosig', [dirname(__file__)])
        except ImportError:
            import _biosig
            return _biosig
        if fp is not None:
            try:
                _mod = imp.load_module('_biosig', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _biosig = swig_import_helper()
    del swig_import_helper
else:
    import _biosig
del _swig_python_version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0

class imaxdiv_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, imaxdiv_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, imaxdiv_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["quot"] = _biosig.imaxdiv_t_quot_set
    __swig_getmethods__["quot"] = _biosig.imaxdiv_t_quot_get
    if _newclass:
        quot = _swig_property(_biosig.imaxdiv_t_quot_get, _biosig.imaxdiv_t_quot_set)
    __swig_setmethods__["rem"] = _biosig.imaxdiv_t_rem_set
    __swig_getmethods__["rem"] = _biosig.imaxdiv_t_rem_get
    if _newclass:
        rem = _swig_property(_biosig.imaxdiv_t_rem_get, _biosig.imaxdiv_t_rem_set)

    def __init__(self):
        this = _biosig.new_imaxdiv_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _biosig.delete_imaxdiv_t
    __del__ = lambda self: None
imaxdiv_t_swigregister = _biosig.imaxdiv_t_swigregister
imaxdiv_t_swigregister(imaxdiv_t)


def imaxabs(n):
    return _biosig.imaxabs(n)
imaxabs = _biosig.imaxabs

def imaxdiv(numer, denom):
    return _biosig.imaxdiv(numer, denom)
imaxdiv = _biosig.imaxdiv

def wcstoimax(nptr, endptr, base):
    return _biosig.wcstoimax(nptr, endptr, base)
wcstoimax = _biosig.wcstoimax

def wcstoumax(nptr, endptr, base):
    return _biosig.wcstoumax(nptr, endptr, base)
wcstoumax = _biosig.wcstoumax

def strtoimax(nptr, endptr, base):
    return _biosig.strtoimax(nptr, endptr, base)
strtoimax = _biosig.strtoimax

def strtoumax(nptr, endptr, base):
    return _biosig.strtoumax(nptr, endptr, base)
strtoumax = _biosig.strtoumax
noFile = _biosig.noFile
unknown = _biosig.unknown
ABF = _biosig.ABF
ACQ = _biosig.ACQ
ACR_NEMA = _biosig.ACR_NEMA
AIFC = _biosig.AIFC
AIFF = _biosig.AIFF
AINF = _biosig.AINF
alpha = _biosig.alpha
ARFF = _biosig.ARFF
ASCII_IBI = _biosig.ASCII_IBI
ASCII = _biosig.ASCII
AU = _biosig.AU
ASF = _biosig.ASF
ATES = _biosig.ATES
ATF = _biosig.ATF
AVI = _biosig.AVI
Axona = _biosig.Axona
BCI2000 = _biosig.BCI2000
BDF = _biosig.BDF
BESA = _biosig.BESA
BIN = _biosig.BIN
BKR = _biosig.BKR
BLSC = _biosig.BLSC
BMP = _biosig.BMP
BNI = _biosig.BNI
BSCS = _biosig.BSCS
BrainVision = _biosig.BrainVision
BrainVisionVAmp = _biosig.BrainVisionVAmp
BrainVisionMarker = _biosig.BrainVisionMarker
BZ2 = _biosig.BZ2
CDF = _biosig.CDF
CFS = _biosig.CFS
CFWB = _biosig.CFWB
CNT = _biosig.CNT
CTF = _biosig.CTF
DICOM = _biosig.DICOM
DEMG = _biosig.DEMG
EBS = _biosig.EBS
EDF = _biosig.EDF
EEG1100 = _biosig.EEG1100
EEProbe = _biosig.EEProbe
EEProbe2 = _biosig.EEProbe2
EEProbeAvr = _biosig.EEProbeAvr
EGI = _biosig.EGI
EGIS = _biosig.EGIS
ELF = _biosig.ELF
EMBLA = _biosig.EMBLA
ePrime = _biosig.ePrime
ET_MEG = _biosig.ET_MEG
ETG4000 = _biosig.ETG4000
EVENT = _biosig.EVENT
EXIF = _biosig.EXIF
FAMOS = _biosig.FAMOS
FEF = _biosig.FEF
FITS = _biosig.FITS
FLAC = _biosig.FLAC
GDF = _biosig.GDF
GDF1 = _biosig.GDF1
GIF = _biosig.GIF
GTF = _biosig.GTF
GZIP = _biosig.GZIP
HDF = _biosig.HDF
HL7aECG = _biosig.HL7aECG
HEKA = _biosig.HEKA
ISHNE = _biosig.ISHNE
ITX = _biosig.ITX
JPEG = _biosig.JPEG
JSON = _biosig.JSON
Lexicor = _biosig.Lexicor
Matlab = _biosig.Matlab
MFER = _biosig.MFER
MIDI = _biosig.MIDI
MIT = _biosig.MIT
MM = _biosig.MM
MSI = _biosig.MSI
MSVCLIB = _biosig.MSVCLIB
MS_LNK = _biosig.MS_LNK
native = _biosig.native
NeuroLoggerHEX = _biosig.NeuroLoggerHEX
NetCDF = _biosig.NetCDF
NEURON = _biosig.NEURON
NEX1 = _biosig.NEX1
NIFTI = _biosig.NIFTI
OGG = _biosig.OGG
OpenXDF = _biosig.OpenXDF
PBMA = _biosig.PBMA
PBMN = _biosig.PBMN
PDF = _biosig.PDF
PDP = _biosig.PDP
Persyst = _biosig.Persyst
PGMA = _biosig.PGMA
PGMB = _biosig.PGMB
PLEXON = _biosig.PLEXON
PNG = _biosig.PNG
PNM = _biosig.PNM
POLY5 = _biosig.POLY5
PPMA = _biosig.PPMA
PPMB = _biosig.PPMB
PS = _biosig.PS
RDF = _biosig.RDF
RIFF = _biosig.RIFF
SASXPT = _biosig.SASXPT
SCP_ECG = _biosig.SCP_ECG
SIGIF = _biosig.SIGIF
Sigma = _biosig.Sigma
SMA = _biosig.SMA
SND = _biosig.SND
SQLite = _biosig.SQLite
SPSS = _biosig.SPSS
STATA = _biosig.STATA
SVG = _biosig.SVG
SXI = _biosig.SXI
SYNERGY = _biosig.SYNERGY
TIFF = _biosig.TIFF
TMS32 = _biosig.TMS32
TMSiLOG = _biosig.TMSiLOG
TRC = _biosig.TRC
UNIPRO = _biosig.UNIPRO
VRML = _biosig.VRML
VTK = _biosig.VTK
WAV = _biosig.WAV
WG1 = _biosig.WG1
WinEEG = _biosig.WinEEG
WMF = _biosig.WMF
XML = _biosig.XML
XPM = _biosig.XPM
Z = _biosig.Z
ZIP = _biosig.ZIP
ZIP2 = _biosig.ZIP2
class CHANNEL_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, CHANNEL_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, CHANNEL_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["PhysMin"] = _biosig.CHANNEL_TYPE_PhysMin_set
    __swig_getmethods__["PhysMin"] = _biosig.CHANNEL_TYPE_PhysMin_get
    if _newclass:
        PhysMin = _swig_property(_biosig.CHANNEL_TYPE_PhysMin_get, _biosig.CHANNEL_TYPE_PhysMin_set)
    __swig_setmethods__["PhysMax"] = _biosig.CHANNEL_TYPE_PhysMax_set
    __swig_getmethods__["PhysMax"] = _biosig.CHANNEL_TYPE_PhysMax_get
    if _newclass:
        PhysMax = _swig_property(_biosig.CHANNEL_TYPE_PhysMax_get, _biosig.CHANNEL_TYPE_PhysMax_set)
    __swig_setmethods__["DigMin"] = _biosig.CHANNEL_TYPE_DigMin_set
    __swig_getmethods__["DigMin"] = _biosig.CHANNEL_TYPE_DigMin_get
    if _newclass:
        DigMin = _swig_property(_biosig.CHANNEL_TYPE_DigMin_get, _biosig.CHANNEL_TYPE_DigMin_set)
    __swig_setmethods__["DigMax"] = _biosig.CHANNEL_TYPE_DigMax_set
    __swig_getmethods__["DigMax"] = _biosig.CHANNEL_TYPE_DigMax_get
    if _newclass:
        DigMax = _swig_property(_biosig.CHANNEL_TYPE_DigMax_get, _biosig.CHANNEL_TYPE_DigMax_set)
    __swig_setmethods__["Cal"] = _biosig.CHANNEL_TYPE_Cal_set
    __swig_getmethods__["Cal"] = _biosig.CHANNEL_TYPE_Cal_get
    if _newclass:
        Cal = _swig_property(_biosig.CHANNEL_TYPE_Cal_get, _biosig.CHANNEL_TYPE_Cal_set)
    __swig_setmethods__["Off"] = _biosig.CHANNEL_TYPE_Off_set
    __swig_getmethods__["Off"] = _biosig.CHANNEL_TYPE_Off_get
    if _newclass:
        Off = _swig_property(_biosig.CHANNEL_TYPE_Off_get, _biosig.CHANNEL_TYPE_Off_set)
    __swig_setmethods__["OnOff"] = _biosig.CHANNEL_TYPE_OnOff_set
    __swig_getmethods__["OnOff"] = _biosig.CHANNEL_TYPE_OnOff_get
    if _newclass:
        OnOff = _swig_property(_biosig.CHANNEL_TYPE_OnOff_get, _biosig.CHANNEL_TYPE_OnOff_set)
    __swig_setmethods__["Label"] = _biosig.CHANNEL_TYPE_Label_set
    __swig_getmethods__["Label"] = _biosig.CHANNEL_TYPE_Label_get
    if _newclass:
        Label = _swig_property(_biosig.CHANNEL_TYPE_Label_get, _biosig.CHANNEL_TYPE_Label_set)
    __swig_setmethods__["LeadIdCode"] = _biosig.CHANNEL_TYPE_LeadIdCode_set
    __swig_getmethods__["LeadIdCode"] = _biosig.CHANNEL_TYPE_LeadIdCode_get
    if _newclass:
        LeadIdCode = _swig_property(_biosig.CHANNEL_TYPE_LeadIdCode_get, _biosig.CHANNEL_TYPE_LeadIdCode_set)
    __swig_setmethods__["Transducer"] = _biosig.CHANNEL_TYPE_Transducer_set
    __swig_getmethods__["Transducer"] = _biosig.CHANNEL_TYPE_Transducer_get
    if _newclass:
        Transducer = _swig_property(_biosig.CHANNEL_TYPE_Transducer_get, _biosig.CHANNEL_TYPE_Transducer_set)
    __swig_setmethods__["PhysDim"] = _biosig.CHANNEL_TYPE_PhysDim_set
    __swig_getmethods__["PhysDim"] = _biosig.CHANNEL_TYPE_PhysDim_get
    if _newclass:
        PhysDim = _swig_property(_biosig.CHANNEL_TYPE_PhysDim_get, _biosig.CHANNEL_TYPE_PhysDim_set)
    __swig_setmethods__["PhysDimCode"] = _biosig.CHANNEL_TYPE_PhysDimCode_set
    __swig_getmethods__["PhysDimCode"] = _biosig.CHANNEL_TYPE_PhysDimCode_get
    if _newclass:
        PhysDimCode = _swig_property(_biosig.CHANNEL_TYPE_PhysDimCode_get, _biosig.CHANNEL_TYPE_PhysDimCode_set)
    __swig_setmethods__["TOffset"] = _biosig.CHANNEL_TYPE_TOffset_set
    __swig_getmethods__["TOffset"] = _biosig.CHANNEL_TYPE_TOffset_get
    if _newclass:
        TOffset = _swig_property(_biosig.CHANNEL_TYPE_TOffset_get, _biosig.CHANNEL_TYPE_TOffset_set)
    __swig_setmethods__["LowPass"] = _biosig.CHANNEL_TYPE_LowPass_set
    __swig_getmethods__["LowPass"] = _biosig.CHANNEL_TYPE_LowPass_get
    if _newclass:
        LowPass = _swig_property(_biosig.CHANNEL_TYPE_LowPass_get, _biosig.CHANNEL_TYPE_LowPass_set)
    __swig_setmethods__["HighPass"] = _biosig.CHANNEL_TYPE_HighPass_set
    __swig_getmethods__["HighPass"] = _biosig.CHANNEL_TYPE_HighPass_get
    if _newclass:
        HighPass = _swig_property(_biosig.CHANNEL_TYPE_HighPass_get, _biosig.CHANNEL_TYPE_HighPass_set)
    __swig_setmethods__["Notch"] = _biosig.CHANNEL_TYPE_Notch_set
    __swig_getmethods__["Notch"] = _biosig.CHANNEL_TYPE_Notch_get
    if _newclass:
        Notch = _swig_property(_biosig.CHANNEL_TYPE_Notch_get, _biosig.CHANNEL_TYPE_Notch_set)
    __swig_setmethods__["XYZ"] = _biosig.CHANNEL_TYPE_XYZ_set
    __swig_getmethods__["XYZ"] = _biosig.CHANNEL_TYPE_XYZ_get
    if _newclass:
        XYZ = _swig_property(_biosig.CHANNEL_TYPE_XYZ_get, _biosig.CHANNEL_TYPE_XYZ_set)
    __swig_setmethods__["GDFTYP"] = _biosig.CHANNEL_TYPE_GDFTYP_set
    __swig_getmethods__["GDFTYP"] = _biosig.CHANNEL_TYPE_GDFTYP_get
    if _newclass:
        GDFTYP = _swig_property(_biosig.CHANNEL_TYPE_GDFTYP_get, _biosig.CHANNEL_TYPE_GDFTYP_set)
    __swig_setmethods__["SPR"] = _biosig.CHANNEL_TYPE_SPR_set
    __swig_getmethods__["SPR"] = _biosig.CHANNEL_TYPE_SPR_get
    if _newclass:
        SPR = _swig_property(_biosig.CHANNEL_TYPE_SPR_get, _biosig.CHANNEL_TYPE_SPR_set)

    def __getitem__(self, index):
        return _biosig.CHANNEL_TYPE___getitem__(self, index)

    def __init__(self):
        this = _biosig.new_CHANNEL_TYPE()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _biosig.delete_CHANNEL_TYPE
    __del__ = lambda self: None
CHANNEL_TYPE_swigregister = _biosig.CHANNEL_TYPE_swigregister
CHANNEL_TYPE_swigregister(CHANNEL_TYPE)

class HDRTYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, HDRTYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, HDRTYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["TYPE"] = _biosig.HDRTYPE_TYPE_set
    __swig_getmethods__["TYPE"] = _biosig.HDRTYPE_TYPE_get
    if _newclass:
        TYPE = _swig_property(_biosig.HDRTYPE_TYPE_get, _biosig.HDRTYPE_TYPE_set)
    __swig_setmethods__["VERSION"] = _biosig.HDRTYPE_VERSION_set
    __swig_getmethods__["VERSION"] = _biosig.HDRTYPE_VERSION_get
    if _newclass:
        VERSION = _swig_property(_biosig.HDRTYPE_VERSION_get, _biosig.HDRTYPE_VERSION_set)
    __swig_setmethods__["FileName"] = _biosig.HDRTYPE_FileName_set
    __swig_getmethods__["FileName"] = _biosig.HDRTYPE_FileName_get
    if _newclass:
        FileName = _swig_property(_biosig.HDRTYPE_FileName_get, _biosig.HDRTYPE_FileName_set)
    __swig_setmethods__["HeadLen"] = _biosig.HDRTYPE_HeadLen_set
    __swig_getmethods__["HeadLen"] = _biosig.HDRTYPE_HeadLen_get
    if _newclass:
        HeadLen = _swig_property(_biosig.HDRTYPE_HeadLen_get, _biosig.HDRTYPE_HeadLen_set)
    __swig_setmethods__["NS"] = _biosig.HDRTYPE_NS_set
    __swig_getmethods__["NS"] = _biosig.HDRTYPE_NS_get
    if _newclass:
        NS = _swig_property(_biosig.HDRTYPE_NS_get, _biosig.HDRTYPE_NS_set)
    __swig_setmethods__["SPR"] = _biosig.HDRTYPE_SPR_set
    __swig_getmethods__["SPR"] = _biosig.HDRTYPE_SPR_get
    if _newclass:
        SPR = _swig_property(_biosig.HDRTYPE_SPR_get, _biosig.HDRTYPE_SPR_set)
    __swig_setmethods__["NRec"] = _biosig.HDRTYPE_NRec_set
    __swig_getmethods__["NRec"] = _biosig.HDRTYPE_NRec_get
    if _newclass:
        NRec = _swig_property(_biosig.HDRTYPE_NRec_get, _biosig.HDRTYPE_NRec_set)
    __swig_setmethods__["SampleRate"] = _biosig.HDRTYPE_SampleRate_set
    __swig_getmethods__["SampleRate"] = _biosig.HDRTYPE_SampleRate_get
    if _newclass:
        SampleRate = _swig_property(_biosig.HDRTYPE_SampleRate_get, _biosig.HDRTYPE_SampleRate_set)
    __swig_setmethods__["IPaddr"] = _biosig.HDRTYPE_IPaddr_set
    __swig_getmethods__["IPaddr"] = _biosig.HDRTYPE_IPaddr_get
    if _newclass:
        IPaddr = _swig_property(_biosig.HDRTYPE_IPaddr_get, _biosig.HDRTYPE_IPaddr_set)
    __swig_setmethods__["LOC"] = _biosig.HDRTYPE_LOC_set
    __swig_getmethods__["LOC"] = _biosig.HDRTYPE_LOC_get
    if _newclass:
        LOC = _swig_property(_biosig.HDRTYPE_LOC_get, _biosig.HDRTYPE_LOC_set)
    __swig_setmethods__["T0"] = _biosig.HDRTYPE_T0_set
    __swig_getmethods__["T0"] = _biosig.HDRTYPE_T0_get
    if _newclass:
        T0 = _swig_property(_biosig.HDRTYPE_T0_get, _biosig.HDRTYPE_T0_set)
    __swig_setmethods__["tzmin"] = _biosig.HDRTYPE_tzmin_set
    __swig_getmethods__["tzmin"] = _biosig.HDRTYPE_tzmin_get
    if _newclass:
        tzmin = _swig_property(_biosig.HDRTYPE_tzmin_get, _biosig.HDRTYPE_tzmin_set)
    __swig_setmethods__["CHANNEL"] = _biosig.HDRTYPE_CHANNEL_set
    __swig_getmethods__["CHANNEL"] = _biosig.HDRTYPE_CHANNEL_get
    if _newclass:
        CHANNEL = _swig_property(_biosig.HDRTYPE_CHANNEL_get, _biosig.HDRTYPE_CHANNEL_set)
    __swig_setmethods__["aECG"] = _biosig.HDRTYPE_aECG_set
    __swig_getmethods__["aECG"] = _biosig.HDRTYPE_aECG_get
    if _newclass:
        aECG = _swig_property(_biosig.HDRTYPE_aECG_get, _biosig.HDRTYPE_aECG_set)

    def __init__(self):
        this = _biosig.new_HDRTYPE()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _biosig.delete_HDRTYPE
    __del__ = lambda self: None
HDRTYPE_swigregister = _biosig.HDRTYPE_swigregister
HDRTYPE_swigregister(HDRTYPE)


def constructHDR(NS, N_EVENT):
    return _biosig.constructHDR(NS, N_EVENT)
constructHDR = _biosig.constructHDR

def destructHDR(hdr):
    return _biosig.destructHDR(hdr)
destructHDR = _biosig.destructHDR

def sopen(FileName, MODE, hdr):
    return _biosig.sopen(FileName, MODE, hdr)
sopen = _biosig.sopen

def sclose(hdr):
    return _biosig.sclose(hdr)
sclose = _biosig.sclose

def swrite(data, nelem, hdr):
    return _biosig.swrite(data, nelem, hdr)
swrite = _biosig.swrite

def seof(hdr):
    return _biosig.seof(hdr)
seof = _biosig.seof

def srewind(hdr):
    return _biosig.srewind(hdr)
srewind = _biosig.srewind

def sseek(hdr, offset, whence):
    return _biosig.sseek(hdr, offset, whence)
sseek = _biosig.sseek

def stell(hdr):
    return _biosig.stell(hdr)
stell = _biosig.stell

def serror():
    return _biosig.serror()
serror = _biosig.serror

def RerefCHANNEL(hdr, ReRef, rrtype):
    return _biosig.RerefCHANNEL(hdr, ReRef, rrtype)
RerefCHANNEL = _biosig.RerefCHANNEL

def GetFileTypeString(FMT):
    return _biosig.GetFileTypeString(FMT)
GetFileTypeString = _biosig.GetFileTypeString

def PhysDimCode(PhysDim0):
    return _biosig.PhysDimCode(PhysDim0)
PhysDimCode = _biosig.PhysDimCode

def PhysDim(PhysDimCode, PhysDimText):
    return _biosig.PhysDim(PhysDimCode, PhysDimText)
PhysDim = _biosig.PhysDim

def sort_eventtable(hdr):
    return _biosig.sort_eventtable(hdr)
sort_eventtable = _biosig.sort_eventtable

def convert2to4_eventtable(hdr):
    return _biosig.convert2to4_eventtable(hdr)
convert2to4_eventtable = _biosig.convert2to4_eventtable

def convert4to2_eventtable(hdr):
    return _biosig.convert4to2_eventtable(hdr)
convert4to2_eventtable = _biosig.convert4to2_eventtable

def sread(*args):
    return _biosig.sread(*args)
sread = _biosig.sread

def hdr2ascii(*args):
    return _biosig.hdr2ascii(*args)
hdr2ascii = _biosig.hdr2ascii
# This file is compatible with both classic and new-style classes.