xref: /dragonfly/contrib/file/magic/Magdir/scientific (revision 9ddb8543)
1#------------------------------------------------------------------------------
2# scientific:  file(1) magic for scientific formats
3#
4# From: Joe Krahn <krahn@niehs.nih.gov>
5
6########################################################
7# CCP4 data and plot files:
80	string		MTZ\040		MTZ reflection file
9
1092	string		PLOT%%84	Plot84 plotting file
11>52	byte		1		, Little-endian
12>55	byte		1		, Big-endian
13
14########################################################
15# Electron density MAP/MASK formats
16
170	string		EZD_MAP	NEWEZD Electron Density Map
18109	string		MAP\040(  Old EZD Electron Density Map
19
200	string/c	:-)\040Origin	BRIX Electron Density Map
21>170	string		>0	, Sigma:%.12s
22#>4	string		>0	%.178s
23#>4	addr		x	%.178s
24
257	string		18\040!NTITLE	XPLOR ASCII Electron Density Map
269	string		\040!NTITLE\012\040REMARK	CNS ASCII electron density map
27
28208	string		MAP\040	CCP4 Electron Density Map
29# Assumes same stamp for float and double (normal case)
30>212	byte		17	\b, Big-endian
31>212	byte		34	\b, VAX format
32>212	byte		68	\b, Little-endian
33>212	byte		85	\b, Convex native
34
35############################################################
36# X-Ray Area Detector images
370	string	R-AXIS4\ \ \ 	R-Axis Area Detector Image:
38>796	lelong	<20		Little-endian, IP #%d,
39>>768	lelong	>0		Size=%dx
40>>772	lelong	>0		\b%d
41>796	belong	<20		Big-endian, IP #%d,
42>>768	belong	>0		Size=%dx
43>>772	belong	>0		\b%d
44
450	string	RAXIS\ \ \ \ \ 	R-Axis Area Detector Image, Win32:
46>796	lelong	<20		Little-endian, IP #%d,
47>>768	lelong	>0		Size=%dx
48>>772	lelong	>0		\b%d
49>796	belong	<20		Big-endian, IP #%d,
50>>768	belong	>0		Size=%dx
51>>772	belong	>0		\b%d
52
53
541028	string	MMX\000\000\000\000\000\000\000\000\000\000\000\000\000	MAR Area Detector Image,
55>1072	ulong	>1		Compressed(%d),
56>1100	ulong	>1		%d headers,
57>1104	ulong	>0		%d x
58>1108	ulong	>0		%d,
59>1120	ulong	>0		%d bits/pixel
60
61# Type: GEDCOM genealogical (family history) data
62# From: Giuseppe Bilotta
630       search/1/c	0\ HEAD         GEDCOM genealogy text
64>&0     search		1\ GEDC
65>>&0    search		2\ VERS         version
66>>>&1   search/1	>\0		%s
67# From: Phil Endecott <phil05@chezphil.org>
680	string	\000\060\000\040\000\110\000\105\000\101\000\104		GEDCOM data
690	string	\060\000\040\000\110\000\105\000\101\000\104\000		GEDCOM data
700	string	\376\377\000\060\000\040\000\110\000\105\000\101\000\104	GEDCOM data
710	string	\377\376\060\000\040\000\110\000\105\000\101\000\104\000	GEDCOM data
72