xref: /freebsd/contrib/file/magic/Magdir/measure (revision 389e4940069316fe667ffa263fa7d6390d0a960f)
1
2#------------------------------------------------------------------------------
3# $File: measure,v 1.1 2017/11/28 14:01:14 christos Exp $
4# measure: file(1) magic for measurement data
5
6# DIY-Thermocam raw data
70	name	diy-thermocam-parser
8>0	beshort	x	scale %d-
9>2	beshort x	\b%d,
10>4	lefloat	x	spot sensor temperature %f,
11>9	byte	0	unit celsius,
12>9	byte	1	unit fahrenheit,
13>8	byte	x	color scheme %d
14>10	byte	1	\b, show spot sensor
15>11	byte	1	\b, show scale bar
16>12	byte	&1	\b, minimum point enabled
17>12	byte	&2	\b, maximum point enabled
18>13	lefloat	x	\b, calibration: offset %f,
19>17	lefloat x	slope %f
20
210	name	diy-thermocam-checker
22>9	byte	<2
23>>10	byte	<2
24>>>11	byte	<2
25>>>>12	byte	<4
26>>>>>17	lefloat	>0.0001	DIY-Thermocam raw data
27
28# V2 and Leption 3.x:
2938408	byte	<19
30>38400	use	diy-thermocam-checker
31>>38400	default x	(Lepton 3.x),
32>>>38400	use	diy-thermocam-parser
33
34# V1 or Lepton 2.x
359608	byte	<19
36>9600	use	diy-thermocam-checker
37>>9600	default	x	(Lepton 2.x),
38>>>9600	use	diy-thermocam-parser
39
40