This file is indexed.

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

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
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# 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
if 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 version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


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_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


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

try:
    _object = object
    _newclass = 1
except AttributeError:
    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:
            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

_biosig.noFile_swigconstant(_biosig)
noFile = _biosig.noFile

_biosig.unknown_swigconstant(_biosig)
unknown = _biosig.unknown

_biosig.ABF_swigconstant(_biosig)
ABF = _biosig.ABF

_biosig.ACQ_swigconstant(_biosig)
ACQ = _biosig.ACQ

_biosig.ACR_NEMA_swigconstant(_biosig)
ACR_NEMA = _biosig.ACR_NEMA

_biosig.AIFC_swigconstant(_biosig)
AIFC = _biosig.AIFC

_biosig.AIFF_swigconstant(_biosig)
AIFF = _biosig.AIFF

_biosig.AINF_swigconstant(_biosig)
AINF = _biosig.AINF

_biosig.alpha_swigconstant(_biosig)
alpha = _biosig.alpha

_biosig.ARFF_swigconstant(_biosig)
ARFF = _biosig.ARFF

_biosig.ASCII_IBI_swigconstant(_biosig)
ASCII_IBI = _biosig.ASCII_IBI

_biosig.ASCII_swigconstant(_biosig)
ASCII = _biosig.ASCII

_biosig.AU_swigconstant(_biosig)
AU = _biosig.AU

_biosig.ASF_swigconstant(_biosig)
ASF = _biosig.ASF

_biosig.ATES_swigconstant(_biosig)
ATES = _biosig.ATES

_biosig.ATF_swigconstant(_biosig)
ATF = _biosig.ATF

_biosig.AVI_swigconstant(_biosig)
AVI = _biosig.AVI

_biosig.Axona_swigconstant(_biosig)
Axona = _biosig.Axona

_biosig.BCI2000_swigconstant(_biosig)
BCI2000 = _biosig.BCI2000

_biosig.BDF_swigconstant(_biosig)
BDF = _biosig.BDF

_biosig.BESA_swigconstant(_biosig)
BESA = _biosig.BESA

_biosig.BIN_swigconstant(_biosig)
BIN = _biosig.BIN

_biosig.BKR_swigconstant(_biosig)
BKR = _biosig.BKR

_biosig.BLSC_swigconstant(_biosig)
BLSC = _biosig.BLSC

_biosig.BMP_swigconstant(_biosig)
BMP = _biosig.BMP

_biosig.BNI_swigconstant(_biosig)
BNI = _biosig.BNI

_biosig.BSCS_swigconstant(_biosig)
BSCS = _biosig.BSCS

_biosig.BrainVision_swigconstant(_biosig)
BrainVision = _biosig.BrainVision

_biosig.BrainVisionVAmp_swigconstant(_biosig)
BrainVisionVAmp = _biosig.BrainVisionVAmp

_biosig.BrainVisionMarker_swigconstant(_biosig)
BrainVisionMarker = _biosig.BrainVisionMarker

_biosig.BZ2_swigconstant(_biosig)
BZ2 = _biosig.BZ2

_biosig.CDF_swigconstant(_biosig)
CDF = _biosig.CDF

_biosig.CFS_swigconstant(_biosig)
CFS = _biosig.CFS

_biosig.CFWB_swigconstant(_biosig)
CFWB = _biosig.CFWB

_biosig.CNT_swigconstant(_biosig)
CNT = _biosig.CNT

_biosig.CTF_swigconstant(_biosig)
CTF = _biosig.CTF

_biosig.DICOM_swigconstant(_biosig)
DICOM = _biosig.DICOM

_biosig.DEMG_swigconstant(_biosig)
DEMG = _biosig.DEMG

_biosig.EBS_swigconstant(_biosig)
EBS = _biosig.EBS

_biosig.EDF_swigconstant(_biosig)
EDF = _biosig.EDF

_biosig.EEG1100_swigconstant(_biosig)
EEG1100 = _biosig.EEG1100

_biosig.EEProbe_swigconstant(_biosig)
EEProbe = _biosig.EEProbe

_biosig.EEProbe2_swigconstant(_biosig)
EEProbe2 = _biosig.EEProbe2

_biosig.EEProbeAvr_swigconstant(_biosig)
EEProbeAvr = _biosig.EEProbeAvr

_biosig.EGI_swigconstant(_biosig)
EGI = _biosig.EGI

_biosig.EGIS_swigconstant(_biosig)
EGIS = _biosig.EGIS

_biosig.ELF_swigconstant(_biosig)
ELF = _biosig.ELF

_biosig.EMBLA_swigconstant(_biosig)
EMBLA = _biosig.EMBLA

_biosig.ePrime_swigconstant(_biosig)
ePrime = _biosig.ePrime

_biosig.ET_MEG_swigconstant(_biosig)
ET_MEG = _biosig.ET_MEG

_biosig.ETG4000_swigconstant(_biosig)
ETG4000 = _biosig.ETG4000

_biosig.EVENT_swigconstant(_biosig)
EVENT = _biosig.EVENT

_biosig.EXIF_swigconstant(_biosig)
EXIF = _biosig.EXIF

_biosig.FAMOS_swigconstant(_biosig)
FAMOS = _biosig.FAMOS

_biosig.FEF_swigconstant(_biosig)
FEF = _biosig.FEF

_biosig.FITS_swigconstant(_biosig)
FITS = _biosig.FITS

_biosig.FLAC_swigconstant(_biosig)
FLAC = _biosig.FLAC

_biosig.GDF_swigconstant(_biosig)
GDF = _biosig.GDF

_biosig.GDF1_swigconstant(_biosig)
GDF1 = _biosig.GDF1

_biosig.GIF_swigconstant(_biosig)
GIF = _biosig.GIF

_biosig.GTF_swigconstant(_biosig)
GTF = _biosig.GTF

_biosig.GZIP_swigconstant(_biosig)
GZIP = _biosig.GZIP

_biosig.HDF_swigconstant(_biosig)
HDF = _biosig.HDF

_biosig.HL7aECG_swigconstant(_biosig)
HL7aECG = _biosig.HL7aECG

_biosig.HEKA_swigconstant(_biosig)
HEKA = _biosig.HEKA

_biosig.ISHNE_swigconstant(_biosig)
ISHNE = _biosig.ISHNE

_biosig.ITX_swigconstant(_biosig)
ITX = _biosig.ITX

_biosig.JPEG_swigconstant(_biosig)
JPEG = _biosig.JPEG

_biosig.JSON_swigconstant(_biosig)
JSON = _biosig.JSON

_biosig.Lexicor_swigconstant(_biosig)
Lexicor = _biosig.Lexicor

_biosig.Matlab_swigconstant(_biosig)
Matlab = _biosig.Matlab

_biosig.MFER_swigconstant(_biosig)
MFER = _biosig.MFER

_biosig.MIDI_swigconstant(_biosig)
MIDI = _biosig.MIDI

_biosig.MIT_swigconstant(_biosig)
MIT = _biosig.MIT

_biosig.MM_swigconstant(_biosig)
MM = _biosig.MM

_biosig.MSI_swigconstant(_biosig)
MSI = _biosig.MSI

_biosig.MSVCLIB_swigconstant(_biosig)
MSVCLIB = _biosig.MSVCLIB

_biosig.MS_LNK_swigconstant(_biosig)
MS_LNK = _biosig.MS_LNK

_biosig.native_swigconstant(_biosig)
native = _biosig.native

_biosig.NeuroLoggerHEX_swigconstant(_biosig)
NeuroLoggerHEX = _biosig.NeuroLoggerHEX

_biosig.NetCDF_swigconstant(_biosig)
NetCDF = _biosig.NetCDF

_biosig.NEURON_swigconstant(_biosig)
NEURON = _biosig.NEURON

_biosig.NEX1_swigconstant(_biosig)
NEX1 = _biosig.NEX1

_biosig.NIFTI_swigconstant(_biosig)
NIFTI = _biosig.NIFTI

_biosig.OGG_swigconstant(_biosig)
OGG = _biosig.OGG

_biosig.OpenXDF_swigconstant(_biosig)
OpenXDF = _biosig.OpenXDF

_biosig.PBMA_swigconstant(_biosig)
PBMA = _biosig.PBMA

_biosig.PBMN_swigconstant(_biosig)
PBMN = _biosig.PBMN

_biosig.PDF_swigconstant(_biosig)
PDF = _biosig.PDF

_biosig.PDP_swigconstant(_biosig)
PDP = _biosig.PDP

_biosig.Persyst_swigconstant(_biosig)
Persyst = _biosig.Persyst

_biosig.PGMA_swigconstant(_biosig)
PGMA = _biosig.PGMA

_biosig.PGMB_swigconstant(_biosig)
PGMB = _biosig.PGMB

_biosig.PLEXON_swigconstant(_biosig)
PLEXON = _biosig.PLEXON

_biosig.PNG_swigconstant(_biosig)
PNG = _biosig.PNG

_biosig.PNM_swigconstant(_biosig)
PNM = _biosig.PNM

_biosig.POLY5_swigconstant(_biosig)
POLY5 = _biosig.POLY5

_biosig.PPMA_swigconstant(_biosig)
PPMA = _biosig.PPMA

_biosig.PPMB_swigconstant(_biosig)
PPMB = _biosig.PPMB

_biosig.PS_swigconstant(_biosig)
PS = _biosig.PS

_biosig.RDF_swigconstant(_biosig)
RDF = _biosig.RDF

_biosig.RIFF_swigconstant(_biosig)
RIFF = _biosig.RIFF

_biosig.SASXPT_swigconstant(_biosig)
SASXPT = _biosig.SASXPT

_biosig.SCP_ECG_swigconstant(_biosig)
SCP_ECG = _biosig.SCP_ECG

_biosig.SIGIF_swigconstant(_biosig)
SIGIF = _biosig.SIGIF

_biosig.Sigma_swigconstant(_biosig)
Sigma = _biosig.Sigma

_biosig.SMA_swigconstant(_biosig)
SMA = _biosig.SMA

_biosig.SND_swigconstant(_biosig)
SND = _biosig.SND

_biosig.SQLite_swigconstant(_biosig)
SQLite = _biosig.SQLite

_biosig.SPSS_swigconstant(_biosig)
SPSS = _biosig.SPSS

_biosig.STATA_swigconstant(_biosig)
STATA = _biosig.STATA

_biosig.SVG_swigconstant(_biosig)
SVG = _biosig.SVG

_biosig.SXI_swigconstant(_biosig)
SXI = _biosig.SXI

_biosig.SYNERGY_swigconstant(_biosig)
SYNERGY = _biosig.SYNERGY

_biosig.TIFF_swigconstant(_biosig)
TIFF = _biosig.TIFF

_biosig.TMS32_swigconstant(_biosig)
TMS32 = _biosig.TMS32

_biosig.TMSiLOG_swigconstant(_biosig)
TMSiLOG = _biosig.TMSiLOG

_biosig.TRC_swigconstant(_biosig)
TRC = _biosig.TRC

_biosig.UNIPRO_swigconstant(_biosig)
UNIPRO = _biosig.UNIPRO

_biosig.VRML_swigconstant(_biosig)
VRML = _biosig.VRML

_biosig.VTK_swigconstant(_biosig)
VTK = _biosig.VTK

_biosig.WAV_swigconstant(_biosig)
WAV = _biosig.WAV

_biosig.WG1_swigconstant(_biosig)
WG1 = _biosig.WG1

_biosig.WinEEG_swigconstant(_biosig)
WinEEG = _biosig.WinEEG

_biosig.WMF_swigconstant(_biosig)
WMF = _biosig.WMF

_biosig.XML_swigconstant(_biosig)
XML = _biosig.XML

_biosig.XPM_swigconstant(_biosig)
XPM = _biosig.XPM

_biosig.Z_swigconstant(_biosig)
Z = _biosig.Z

_biosig.ZIP_swigconstant(_biosig)
ZIP = _biosig.ZIP

_biosig.ZIP2_swigconstant(_biosig)
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:
            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:
            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.