head	1.1;
branch	1.1.1;
access;
symbols
	FILE5_48:1.1.1.4
	netbsd-11-0-RC4:1.1.1.3
	netbsd-11-0-RC3:1.1.1.3
	netbsd-11-0-RC2:1.1.1.3
	netbsd-11-0-RC1:1.1.1.3
	perseant-exfatfs-base-20250801:1.1.1.3
	netbsd-11:1.1.1.3.0.10
	netbsd-11-base:1.1.1.3
	netbsd-10-1-RELEASE:1.1.1.3
	perseant-exfatfs-base-20240630:1.1.1.3
	perseant-exfatfs:1.1.1.3.0.8
	perseant-exfatfs-base:1.1.1.3
	netbsd-9-4-RELEASE:1.1.1.2
	netbsd-10-0-RELEASE:1.1.1.3
	netbsd-10-0-RC6:1.1.1.3
	netbsd-10-0-RC5:1.1.1.3
	netbsd-10-0-RC4:1.1.1.3
	netbsd-10-0-RC3:1.1.1.3
	netbsd-10-0-RC2:1.1.1.3
	netbsd-10-0-RC1:1.1.1.3
	FILE5_45:1.1.1.3
	netbsd-10:1.1.1.3.0.6
	netbsd-10-base:1.1.1.3
	FILE5_43:1.1.1.3
	netbsd-9-3-RELEASE:1.1.1.2
	cjep_sun2x-base1:1.1.1.3
	cjep_sun2x:1.1.1.3.0.4
	cjep_sun2x-base:1.1.1.3
	cjep_staticlib_x-base1:1.1.1.3
	netbsd-9-2-RELEASE:1.1.1.2
	cjep_staticlib_x:1.1.1.3.0.2
	cjep_staticlib_x-base:1.1.1.3
	FILE5_40:1.1.1.3
	netbsd-9-1-RELEASE:1.1.1.2
	FILE5_39:1.1.1.2
	phil-wifi-20200421:1.1.1.2
	phil-wifi-20200411:1.1.1.2
	is-mlppp:1.1.1.2.0.6
	is-mlppp-base:1.1.1.2
	phil-wifi-20200406:1.1.1.2
	netbsd-9-0-RELEASE:1.1.1.2
	netbsd-9-0-RC2:1.1.1.2
	FILE5_38:1.1.1.2
	netbsd-9-0-RC1:1.1.1.2
	phil-wifi-20191119:1.1.1.2
	netbsd-9:1.1.1.2.0.4
	netbsd-9-base:1.1.1.2
	phil-wifi:1.1.1.2.0.2
	phil-wifi-20190609:1.1.1.2
	FILE5_37:1.1.1.2
	pgoyette-compat-merge-20190127:1.1.1.1.2.2
	pgoyette-compat-20190127:1.1.1.1
	pgoyette-compat-20190118:1.1.1.1
	pgoyette-compat-1226:1.1.1.1
	pgoyette-compat-1126:1.1.1.1
	pgoyette-compat:1.1.1.1.0.2
	pgoyette-compat-1020:1.1.1.1
	FILE5_35:1.1.1.1
	CHRISTOS:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2018.10.18.23.54.09;	author christos;	state Exp;
branches
	1.1.1.1;
next	;
commitid	e8WctwerBeEm4vWA;

1.1.1.1
date	2018.10.18.23.54.09;	author christos;	state Exp;
branches
	1.1.1.1.2.1;
next	1.1.1.2;
commitid	e8WctwerBeEm4vWA;

1.1.1.2
date	2019.05.22.17.19.57;	author christos;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;
commitid	VXeNRYYruN1MWdoB;

1.1.1.3
date	2021.04.09.18.58.01;	author christos;	state Exp;
branches;
next	1.1.1.4;
commitid	W9ddLLbSkHHinEOC;

1.1.1.4
date	2026.06.10.15.59.13;	author christos;	state Exp;
branches;
next	;
commitid	3UWc0DrzTz7bHgJG;

1.1.1.1.2.1
date	2018.10.18.23.54.09;	author pgoyette;	state dead;
branches;
next	1.1.1.1.2.2;
commitid	mTSoqZEZ4arHnFWA;

1.1.1.1.2.2
date	2018.10.20.06.58.20;	author pgoyette;	state Exp;
branches;
next	;
commitid	mTSoqZEZ4arHnFWA;

1.1.1.2.2.1
date	2019.05.22.17.19.57;	author christos;	state dead;
branches;
next	1.1.1.2.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.1.1.2.2.2
date	2019.06.10.21.44.46;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.1
log
@Initial revision
@
text
@
##############################################################################
#
#    Magic ids for biomedical signal file formats 
#    Copyright (C) 2018 Alois Schloegl <alois.schloegl@@gmail.com>
#
#    The list has been derived from biosig projects
#      http://biosig.sourceforge.net
#      https://pub.ist.ac.at/~schloegl/matlab/eeg/
#      http://pub.ist.ac.at/~schloegl/biosig/TESTED
#
##############################################################################
#
0	string  ABF\x20					Biosig/Axon Binary format
!:mime biosig/abf2
0	string  ABF2\0\0				Biosig/Axon Binary format
!:mime biosig/abf2
#
0	string  ATES\x20MEDICA\x20SOFT.\x20EEG\x20for\x20Windows	Biosig/ATES MEDICA SOFT. EEG for Windows
!:mime biosig/ates
#
0	string  ATF\x09					Biosig/Axon Text fomrat
!:mime biosig/atf
#
0	string  ADU1					Biosig/Axona file format
!:mime biosig/axona
0	string  ADU2					Biosig/Axona file format
!:mime biosig/axona
#
0	string  ALPHA-TRACE-MEDICAL			Biosig/alpha trace 
!:mime biosig/alpha
#
0       string  AxGr					Biosig/AXG
0       string  axgx					Biosig/AXG
!:mime biosig/axg
#
0	string  HeaderLen=				Biosig/BCI2000
0	string  BCI2000V				Biosig/BCI2000
!:mime biosig/bci2000
#
### Specification: https://www.biosemi.com/faq/file_format.htm
0	string  \xffBIOSEMI				Biosig/Biosemi data format
!:mime biosig/bdf
#
0	string  Brain\x20Vision\x20Data\x20Exchange\x20Header\x20File			Biosig/Brainvision data file
0	string  Brain\x20Vision\x20V-Amp\x20Data\x20Header\x20File\x20Version		Biosig/Brainvision V-Amp file
0	string  Brain\x20Vision\x20Data\x20Exchange\x20Marker\x20File,\x20Version	Biosig/Brainvision Marker file
!:mime biosig/brainvision
#
0	string  CEDFILE					Biosig/CFS: Cambridge Electronic devices File format 
!:mime biosig/ced
#
### Specification: https://www.edfplus.info/specs/index.html
0	string	0\x20\x20\x20\x20\x20\x20\x20		Biosig/EDF: European Data format
!:mime biosig/edf
#
### Specifications: https://arxiv.org/abs/cs/0608052
0	string  GDF					Biosig/GDF: General data format for biosignals
!:mime biosig/gdf
#
0	string  DATA\0\0\0\0				Biosig/Heka Patchmaster
0	string  DAT1\0\0\0\0				Biosig/Heka Patchmaster
0	string  DAT2\0\0\0\0				Biosig/Heka Patchmaster
!:mime biosig/heka
#
0	string  (C)\x20CED\x2087			Biosig/CED SMR 
!:mime biosig/ced-smr
#
0	string  CFWB\1\0\0\0				Biosig/CFWB
!:mime biosig/cfwb
#
0	string  DEMG					Biosig/DEMG
!:mime biosig/demg
#
0	string  EBS\x94\x0a\x13\x1a\x0d			Biosig/EBS
!:mime biosig/ebs
#
0	string  Embla\x20data\x20file			Biosig/Embla
!:mime biosig/embla
#
0	string  Header\r\nFile Version			Biosig/ETG4000
!:mime biosig/etg4000
#
0	string  GALILEO\x20EEG\x20TRACE\x20FILE		Biosig/Galileo 
!:mime biosig/galileo
#
0	string  IGOR					Biosig/IgorPro ITX file
!:mime biosig/igorpro
#
#	Specification: http://www.ampsmedical.com/uploads/2017-12-7/The_ISHNE_Format.pdf
0	string  ISHNE1.0				Biosig/ISHNE
!:mime biosig/ishne
#
# 	CEN/ISO 11073/22077 series, http://www.mfer.org/en/document.htm
0	string  @@\x20\x20MFER\x20			Biosig/MFER
0	string  @@\x20MFR\x20				Biosig/MFER
!:mime biosig/mfer
#
0	string  NEURALEV				Biosig/NEV
0	string  N.EV.\0					Biosig/NEV
!:mime biosig/nev
#
0	string  NEX1					Biosig/NEX
!:mime biosig/nex1
#
0	string  PLEX 					Biosig/Plexon v1.0
10	string  PLEXON 					Biosig/Plexon v2.0
!:mime biosig/plexon
#
0	string  \x02\x27\x91\xC6			Biosig/RHD2000: Intan RHD2000 format
#
#	Specification: CEN 1064:2005/ISO 11073:91064
16	string  SCPECG\0\0 				Biosig/SCP-ECG format CEN 1064:2005/ISO 11073:91064
!:mime biosig/scpecg
#
0	string  IAvSFo									Biosig/SIGIF
!:mime biosig/sigif
#
0	string  POLY\x20SAMPLE\x20FILEversion\x20					Biosig/TMS32
!:mime biosig/tms32
#
0	string  FileId=TMSi\x20PortiLab\x20sample\x20log\x20file\x0a\x0dVersion=	Biosig/TMSiLOG
!:mime biosig/tmsilog
#
4	string	Synergy\0\48\49\50\46\48\48\51\46\48\48\48\46\48\48\48\0\28\0\0\0\2\0\0\0
>63	string	CRawDataElement
>>85	string	CRawDataBuffer								Biosig/SYNERGY
!:mime biosig/synergy
#
4	string	\40\0\4\1\44\1\102\2\146\3\44\0\190\3					Biosig/UNIPRO
!:mime biosig/unipro
#
0	string	VER=9\r\nCTIME=								Biosig/WCP
!:mime biosig/wcp
#
0	string	\xAF\xFE\xDA\xDA							Biosig/Walter Graphtek
0	string	\xDA\xDA\xFE\xAF							Biosig/Walter Graphtek
0	string	\x55\x55\xFE\xAF							Biosig/Walter Graphtek
!:mime biosig/walter-graphtek
#
0	string  V3.0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
>32	string  [PatInfo]								Biosig/Sigma
!:mime biosig/sigma
#
0	string  \067\069\078\013\010\0x1a\04\0x84					Biosig/File exchange format (FEF)
!:mime biosig/fef
0	string  \67\69\78\0x13\0x10\0x1a\4\0x84						Biosig/File exchange format (FEF)
!:mime biosig/fef
#
0	string  \0\0\0\x64\0\0\0\x1f\0\0\0\x14\0\0\0\0\0\1
>36  	string  \0\0\0\x65\0\0\0\3\0\0\0\4\0\0
>>56	string  \0\0\0\x6a\0\0\0\3\0\0\0\4\0\0\0\0\xff\xff\xff\xff\0\0			Biosig/FIFF
!:mime biosig/fiff
#
@


1.1.1.1
log
@2018-10-18  19:32  Christos Zoulas <christos@@zoulas.com>

	* release 5.35

2018-09-10  20:38  Christos Zoulas <christos@@zoulas.com>

	* Add FreeBSD ELF core file support (John Baldwin)

2018-08-20  18:40  Christos Zoulas <christos@@zoulas.com>

	* PR/30: Allow all parameter values to be set (don't treat 0 specially)
	* handle default annotations on the softmagic match instead at the
	  end.

2018-07-25  10:17  Christos Zoulas <christos@@zoulas.com>

	* PR/23: Recognize JSON files

2018-07-25  10:17  Christos Zoulas <christos@@zoulas.com>

	* PR/18: file --mime-encoding should not print mime-type

2018-07-25   8:50  Christos Zoulas <christos@@zoulas.com>

	* release 5.34

2018-06-22  16:38  Christos Zoulas <christos@@zoulas.com>

	* Add Quad indirect offsets

2018-05-24  14:10  Christos Zoulas <christos@@zoulas.com>

	* Enable parsing of ELF dynamic sections to handle PIE better
@
text
@@


1.1.1.2
log
@2019-05-14  22:26  Christos Zoulas <christos@@zoulas.com>

	* release 5.37

2019-05-09  22:27  Christos Zoulas <christos@@zoulas.com>

	* Make sure that continuation separators are printed
	  with -k within softmagic

2019-05-06  22:27  Christos Zoulas <christos@@zoulas.com>

	* Change SIGPIPE saving and restoring during compression to use
	  sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
	* Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)

2019-05-06  17:25  Christos Zoulas <christos@@zoulas.com>

	* PR/77: Handle --mime-type and -k correctly.

2019-05-03  15:26  Christos Zoulas <christos@@zoulas.com>

	* Switch decompression code to use vfork() because
	  tools like rpmdiff and rpmbuild call libmagic
	  with large process footprints (Denys Vlasenko)

2019-04-07  14:05  Christos Zoulas <christos@@zoulas.com>

	* PR/75: --enable-zlib, did not work.

2019-02-27  11:54  Christos Zoulas <christos@@zoulas.com>

	* Improve regex efficiency (Michael Schroeder) by:
		1. Prefixing regex searches with regular search
		   for keywords where possible
		2. Using memmem(3) where available
@
text
@d10 1
a10 1
#      https://pub.ist.ac.at/~schloegl/biosig/TESTED
@


1.1.1.3
log
@2021-03-30  20:21  Christos Zoulas <christos@@zoulas.com>

	* release 5.40

2021-02-05  16:31  Christos Zoulas <christos@@zoulas.com>

	* PR/234: Add limit to the number of bytes to scan for encoding
	* PR/230: Fix /T (trim flag) for regex

2021-02-01  12:31  Christos Zoulas <christos@@zoulas.com>
	* PR/77: Trim trailing separator.

2020-12-17  15:44  Christos Zoulas <christos@@zoulas.com>

	* PR/211: Convert system read errors from corrupt ELF
	  files into human readable error messages

2020-12-08  16:24  Christos Zoulas <christos@@zoulas.com>

	* fix multithreaded decompression file descriptor issue
	  by using close-on-exec (Denys Vlasenko)

2020-06-27  11:58  Christos Zoulas <christos@@zoulas.com>

	* Exclude surrogate pairs from utf-8 detection (Michael Liu)

2020-06-25  12:53  Christos Zoulas <christos@@zoulas.com>

	* Include # to the list of ignored format chars (Werner Fink)
@
text
@d22 1
a22 1
0	string  ATF\x09					Biosig/Axon Text format
@


1.1.1.4
log
@Import file-5.48 (previous was file-5.45)

2026-05-07  11:32  Christos Zoulas <christos@@zoulas.com>

	* release 5.48

2026-05-11  15:55 Christos Zoulas <christos@@zoulas.com>

	* add landlock support (valoq)

2026-04-19  15:55 Christos Zoulas <christos@@zoulas.com>

	* add BE/LE GUID

2026-04-17  11:05 Christos Zoulas <christos@@zoulas.com>

	* multiple fixes to prevent integer overflow in 32 bits (kerwin)

2026-04-15  12:40 Christos Zoulas <christos@@zoulas.com>

	* PR/745: streamout: Don't flush when trying to set negative offsets
	          on pipes, just continue, fixes 'cat file.zip | file -'
	* PR/753: vmihalko: Fix race is magic_getpath()

2026-03-11  15:14 Christos Zoulas <christos@@zoulas.com>

	* PR/728: Anton Monroe: Reinstate regex/c

2026-02-26  11:32  Christos Zoulas <christos@@zoulas.com>

	* release 5.47

2026-02-04  09:54  Christos Zoulas <christos@@zoulas.com>
	* Better multi-compound document identification by following the
	  order of the directories entries. (Thomas Ledoux)

2026-01-19  14:00  Christos Zoulas <christos@@zoulas.com>
	* if stat fails, don't attempt to restore times (Steven Grubb)

2025-05-28  15:20  Christos Zoulas <christos@@zoulas.com>

	* PR/622: Odd_Bloke: Handle negative offsets in file_buffer(),
	  when fd is not available.

2025-05-28  12:50  Christos Zoulas <christos@@zoulas.com>

	* PR/655: jsummers: Obey str_flags in strings like we do for search
	  and regex
	* PR/659: Pitzl: Apply MAGIC_CONTINUE to annotations; i.e. print
	  only the first, unless -k is specified.

2024-12-19  14:44  Christos Zoulas <christos@@zoulas.com>

	* PR/592: allow + in format strings
	* PR/592: signed operations should be done in signed context

2024-12-05  13:50 Christos Zoulas <christos@@zoulas.com>

	* PR/578: jsummers: Don't crash on cygwin when tm_mon == -1
	* PR/579: net147: Fix stack overrun.

2024-11-27  14:44  Christos Zoulas <christos@@zoulas.com>

	* release 5.46
	* Add OFFPOSITIVE

2024-11-25  13:56  Christos Zoulas <christos@@zoulas.com>

	* avoid leaking symbols in libmagic

2024-11-10  13:56  Christos Zoulas <christos@@zoulas.com>

	* PR/562: jsummers: Search/regex offsets are absolute to the
	  beginning of the file, so adjust them by subtracting the
	  offset that the "use" starts so that we don't double-count it.


2024-11-09  19:30  Christos Zoulas <christos@@zoulas.com>
 	* PR/543: matshch: bump nbuf so we can get the flags into the buffer.


2024-11-02  14:34  Christos Zoulas <christos@@zoulas.com>

 	* Add Android elf notes (enh)

2023-12-29  12:55  Christos Zoulas <christos@@zoulas.com>

	* Add limit for number of magic warnings allowed

2023-07-29  12:55  Christos Zoulas <christos@@zoulas.com>

	* check regex bounds (found by clusterfuzz)
@
text
@d2 3
a4 3
#------------------------------------------------------------------------------
# $File: biosig,v 1.4 2024/06/10 23:09:52 christos Exp $
#    file(1) magic for biomedical signal file formats 
@


1.1.1.2.2.1
log
@file biosig was added on branch phil-wifi on 2019-06-10 21:44:46 +0000
@
text
@d1 154
@


1.1.1.2.2.2
log
@Sync with HEAD
@
text
@a0 154

##############################################################################
#
#    Magic ids for biomedical signal file formats 
#    Copyright (C) 2018 Alois Schloegl <alois.schloegl@@gmail.com>
#
#    The list has been derived from biosig projects
#      http://biosig.sourceforge.net
#      https://pub.ist.ac.at/~schloegl/matlab/eeg/
#      https://pub.ist.ac.at/~schloegl/biosig/TESTED
#
##############################################################################
#
0	string  ABF\x20					Biosig/Axon Binary format
!:mime biosig/abf2
0	string  ABF2\0\0				Biosig/Axon Binary format
!:mime biosig/abf2
#
0	string  ATES\x20MEDICA\x20SOFT.\x20EEG\x20for\x20Windows	Biosig/ATES MEDICA SOFT. EEG for Windows
!:mime biosig/ates
#
0	string  ATF\x09					Biosig/Axon Text fomrat
!:mime biosig/atf
#
0	string  ADU1					Biosig/Axona file format
!:mime biosig/axona
0	string  ADU2					Biosig/Axona file format
!:mime biosig/axona
#
0	string  ALPHA-TRACE-MEDICAL			Biosig/alpha trace 
!:mime biosig/alpha
#
0       string  AxGr					Biosig/AXG
0       string  axgx					Biosig/AXG
!:mime biosig/axg
#
0	string  HeaderLen=				Biosig/BCI2000
0	string  BCI2000V				Biosig/BCI2000
!:mime biosig/bci2000
#
### Specification: https://www.biosemi.com/faq/file_format.htm
0	string  \xffBIOSEMI				Biosig/Biosemi data format
!:mime biosig/bdf
#
0	string  Brain\x20Vision\x20Data\x20Exchange\x20Header\x20File			Biosig/Brainvision data file
0	string  Brain\x20Vision\x20V-Amp\x20Data\x20Header\x20File\x20Version		Biosig/Brainvision V-Amp file
0	string  Brain\x20Vision\x20Data\x20Exchange\x20Marker\x20File,\x20Version	Biosig/Brainvision Marker file
!:mime biosig/brainvision
#
0	string  CEDFILE					Biosig/CFS: Cambridge Electronic devices File format 
!:mime biosig/ced
#
### Specification: https://www.edfplus.info/specs/index.html
0	string	0\x20\x20\x20\x20\x20\x20\x20		Biosig/EDF: European Data format
!:mime biosig/edf
#
### Specifications: https://arxiv.org/abs/cs/0608052
0	string  GDF					Biosig/GDF: General data format for biosignals
!:mime biosig/gdf
#
0	string  DATA\0\0\0\0				Biosig/Heka Patchmaster
0	string  DAT1\0\0\0\0				Biosig/Heka Patchmaster
0	string  DAT2\0\0\0\0				Biosig/Heka Patchmaster
!:mime biosig/heka
#
0	string  (C)\x20CED\x2087			Biosig/CED SMR 
!:mime biosig/ced-smr
#
0	string  CFWB\1\0\0\0				Biosig/CFWB
!:mime biosig/cfwb
#
0	string  DEMG					Biosig/DEMG
!:mime biosig/demg
#
0	string  EBS\x94\x0a\x13\x1a\x0d			Biosig/EBS
!:mime biosig/ebs
#
0	string  Embla\x20data\x20file			Biosig/Embla
!:mime biosig/embla
#
0	string  Header\r\nFile Version			Biosig/ETG4000
!:mime biosig/etg4000
#
0	string  GALILEO\x20EEG\x20TRACE\x20FILE		Biosig/Galileo 
!:mime biosig/galileo
#
0	string  IGOR					Biosig/IgorPro ITX file
!:mime biosig/igorpro
#
#	Specification: http://www.ampsmedical.com/uploads/2017-12-7/The_ISHNE_Format.pdf
0	string  ISHNE1.0				Biosig/ISHNE
!:mime biosig/ishne
#
# 	CEN/ISO 11073/22077 series, http://www.mfer.org/en/document.htm
0	string  @@\x20\x20MFER\x20			Biosig/MFER
0	string  @@\x20MFR\x20				Biosig/MFER
!:mime biosig/mfer
#
0	string  NEURALEV				Biosig/NEV
0	string  N.EV.\0					Biosig/NEV
!:mime biosig/nev
#
0	string  NEX1					Biosig/NEX
!:mime biosig/nex1
#
0	string  PLEX 					Biosig/Plexon v1.0
10	string  PLEXON 					Biosig/Plexon v2.0
!:mime biosig/plexon
#
0	string  \x02\x27\x91\xC6			Biosig/RHD2000: Intan RHD2000 format
#
#	Specification: CEN 1064:2005/ISO 11073:91064
16	string  SCPECG\0\0 				Biosig/SCP-ECG format CEN 1064:2005/ISO 11073:91064
!:mime biosig/scpecg
#
0	string  IAvSFo									Biosig/SIGIF
!:mime biosig/sigif
#
0	string  POLY\x20SAMPLE\x20FILEversion\x20					Biosig/TMS32
!:mime biosig/tms32
#
0	string  FileId=TMSi\x20PortiLab\x20sample\x20log\x20file\x0a\x0dVersion=	Biosig/TMSiLOG
!:mime biosig/tmsilog
#
4	string	Synergy\0\48\49\50\46\48\48\51\46\48\48\48\46\48\48\48\0\28\0\0\0\2\0\0\0
>63	string	CRawDataElement
>>85	string	CRawDataBuffer								Biosig/SYNERGY
!:mime biosig/synergy
#
4	string	\40\0\4\1\44\1\102\2\146\3\44\0\190\3					Biosig/UNIPRO
!:mime biosig/unipro
#
0	string	VER=9\r\nCTIME=								Biosig/WCP
!:mime biosig/wcp
#
0	string	\xAF\xFE\xDA\xDA							Biosig/Walter Graphtek
0	string	\xDA\xDA\xFE\xAF							Biosig/Walter Graphtek
0	string	\x55\x55\xFE\xAF							Biosig/Walter Graphtek
!:mime biosig/walter-graphtek
#
0	string  V3.0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
>32	string  [PatInfo]								Biosig/Sigma
!:mime biosig/sigma
#
0	string  \067\069\078\013\010\0x1a\04\0x84					Biosig/File exchange format (FEF)
!:mime biosig/fef
0	string  \67\69\78\0x13\0x10\0x1a\4\0x84						Biosig/File exchange format (FEF)
!:mime biosig/fef
#
0	string  \0\0\0\x64\0\0\0\x1f\0\0\0\x14\0\0\0\0\0\1
>36  	string  \0\0\0\x65\0\0\0\3\0\0\0\4\0\0
>>56	string  \0\0\0\x6a\0\0\0\3\0\0\0\4\0\0\0\0\xff\xff\xff\xff\0\0			Biosig/FIFF
!:mime biosig/fiff
#
@


1.1.1.1.2.1
log
@file biosig was added on branch pgoyette-compat on 2018-10-20 06:58:20 +0000
@
text
@d1 154
@


1.1.1.1.2.2
log
@Sync with head
@
text
@a0 154

##############################################################################
#
#    Magic ids for biomedical signal file formats 
#    Copyright (C) 2018 Alois Schloegl <alois.schloegl@@gmail.com>
#
#    The list has been derived from biosig projects
#      http://biosig.sourceforge.net
#      https://pub.ist.ac.at/~schloegl/matlab/eeg/
#      http://pub.ist.ac.at/~schloegl/biosig/TESTED
#
##############################################################################
#
0	string  ABF\x20					Biosig/Axon Binary format
!:mime biosig/abf2
0	string  ABF2\0\0				Biosig/Axon Binary format
!:mime biosig/abf2
#
0	string  ATES\x20MEDICA\x20SOFT.\x20EEG\x20for\x20Windows	Biosig/ATES MEDICA SOFT. EEG for Windows
!:mime biosig/ates
#
0	string  ATF\x09					Biosig/Axon Text fomrat
!:mime biosig/atf
#
0	string  ADU1					Biosig/Axona file format
!:mime biosig/axona
0	string  ADU2					Biosig/Axona file format
!:mime biosig/axona
#
0	string  ALPHA-TRACE-MEDICAL			Biosig/alpha trace 
!:mime biosig/alpha
#
0       string  AxGr					Biosig/AXG
0       string  axgx					Biosig/AXG
!:mime biosig/axg
#
0	string  HeaderLen=				Biosig/BCI2000
0	string  BCI2000V				Biosig/BCI2000
!:mime biosig/bci2000
#
### Specification: https://www.biosemi.com/faq/file_format.htm
0	string  \xffBIOSEMI				Biosig/Biosemi data format
!:mime biosig/bdf
#
0	string  Brain\x20Vision\x20Data\x20Exchange\x20Header\x20File			Biosig/Brainvision data file
0	string  Brain\x20Vision\x20V-Amp\x20Data\x20Header\x20File\x20Version		Biosig/Brainvision V-Amp file
0	string  Brain\x20Vision\x20Data\x20Exchange\x20Marker\x20File,\x20Version	Biosig/Brainvision Marker file
!:mime biosig/brainvision
#
0	string  CEDFILE					Biosig/CFS: Cambridge Electronic devices File format 
!:mime biosig/ced
#
### Specification: https://www.edfplus.info/specs/index.html
0	string	0\x20\x20\x20\x20\x20\x20\x20		Biosig/EDF: European Data format
!:mime biosig/edf
#
### Specifications: https://arxiv.org/abs/cs/0608052
0	string  GDF					Biosig/GDF: General data format for biosignals
!:mime biosig/gdf
#
0	string  DATA\0\0\0\0				Biosig/Heka Patchmaster
0	string  DAT1\0\0\0\0				Biosig/Heka Patchmaster
0	string  DAT2\0\0\0\0				Biosig/Heka Patchmaster
!:mime biosig/heka
#
0	string  (C)\x20CED\x2087			Biosig/CED SMR 
!:mime biosig/ced-smr
#
0	string  CFWB\1\0\0\0				Biosig/CFWB
!:mime biosig/cfwb
#
0	string  DEMG					Biosig/DEMG
!:mime biosig/demg
#
0	string  EBS\x94\x0a\x13\x1a\x0d			Biosig/EBS
!:mime biosig/ebs
#
0	string  Embla\x20data\x20file			Biosig/Embla
!:mime biosig/embla
#
0	string  Header\r\nFile Version			Biosig/ETG4000
!:mime biosig/etg4000
#
0	string  GALILEO\x20EEG\x20TRACE\x20FILE		Biosig/Galileo 
!:mime biosig/galileo
#
0	string  IGOR					Biosig/IgorPro ITX file
!:mime biosig/igorpro
#
#	Specification: http://www.ampsmedical.com/uploads/2017-12-7/The_ISHNE_Format.pdf
0	string  ISHNE1.0				Biosig/ISHNE
!:mime biosig/ishne
#
# 	CEN/ISO 11073/22077 series, http://www.mfer.org/en/document.htm
0	string  @@\x20\x20MFER\x20			Biosig/MFER
0	string  @@\x20MFR\x20				Biosig/MFER
!:mime biosig/mfer
#
0	string  NEURALEV				Biosig/NEV
0	string  N.EV.\0					Biosig/NEV
!:mime biosig/nev
#
0	string  NEX1					Biosig/NEX
!:mime biosig/nex1
#
0	string  PLEX 					Biosig/Plexon v1.0
10	string  PLEXON 					Biosig/Plexon v2.0
!:mime biosig/plexon
#
0	string  \x02\x27\x91\xC6			Biosig/RHD2000: Intan RHD2000 format
#
#	Specification: CEN 1064:2005/ISO 11073:91064
16	string  SCPECG\0\0 				Biosig/SCP-ECG format CEN 1064:2005/ISO 11073:91064
!:mime biosig/scpecg
#
0	string  IAvSFo									Biosig/SIGIF
!:mime biosig/sigif
#
0	string  POLY\x20SAMPLE\x20FILEversion\x20					Biosig/TMS32
!:mime biosig/tms32
#
0	string  FileId=TMSi\x20PortiLab\x20sample\x20log\x20file\x0a\x0dVersion=	Biosig/TMSiLOG
!:mime biosig/tmsilog
#
4	string	Synergy\0\48\49\50\46\48\48\51\46\48\48\48\46\48\48\48\0\28\0\0\0\2\0\0\0
>63	string	CRawDataElement
>>85	string	CRawDataBuffer								Biosig/SYNERGY
!:mime biosig/synergy
#
4	string	\40\0\4\1\44\1\102\2\146\3\44\0\190\3					Biosig/UNIPRO
!:mime biosig/unipro
#
0	string	VER=9\r\nCTIME=								Biosig/WCP
!:mime biosig/wcp
#
0	string	\xAF\xFE\xDA\xDA							Biosig/Walter Graphtek
0	string	\xDA\xDA\xFE\xAF							Biosig/Walter Graphtek
0	string	\x55\x55\xFE\xAF							Biosig/Walter Graphtek
!:mime biosig/walter-graphtek
#
0	string  V3.0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
>32	string  [PatInfo]								Biosig/Sigma
!:mime biosig/sigma
#
0	string  \067\069\078\013\010\0x1a\04\0x84					Biosig/File exchange format (FEF)
!:mime biosig/fef
0	string  \67\69\78\0x13\0x10\0x1a\4\0x84						Biosig/File exchange format (FEF)
!:mime biosig/fef
#
0	string  \0\0\0\x64\0\0\0\x1f\0\0\0\x14\0\0\0\0\0\1
>36  	string  \0\0\0\x65\0\0\0\3\0\0\0\4\0\0
>>56	string  \0\0\0\x6a\0\0\0\3\0\0\0\4\0\0\0\0\xff\xff\xff\xff\0\0			Biosig/FIFF
!:mime biosig/fiff
#
@


