xref: /freebsd/contrib/file/magic/Magdir/measure (revision 29fc4075e69fd27de0cded313ac6000165d99f8b)
1
2#------------------------------------------------------------------------------
3# $File: measure,v 1.3 2021/03/25 17:30:10 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	ubyte	0	unit celsius,
12>9	ubyte	1	unit fahrenheit,
13>8	ubyte	x	color scheme %d
14>10	ubyte	1	\b, show spot sensor
15>11	ubyte	1	\b, show scale bar
16>12	ubyte	&1	\b, minimum point enabled
17>12	ubyte	&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	ubyte	<2
23>>10	ubyte	<2
24>>>11	ubyte	<2
25>>>>12	ubyte	<4
26>>>>>17	lefloat	>0.0001	DIY-Thermocam raw data
27
28# V2 and Leption 3.x:
2938408	ubyte	<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	ubyte	<19
36>9600	use	diy-thermocam-checker
37>>9600	default	x	(Lepton 2.x),
38>>>9600	use	diy-thermocam-parser
39
40# Becker & Hickl Photon Counting (PMS) data file
41# format documentation: https://www.becker-hickl.com/wp-content/uploads/2018/11/opm-pms400-v01.pdf (page 57)
42(0x02.l)	string	*IDENTIFICATION		Becker & Hickl PMS Data File
43>0x12		short	x			(%d data blocks)
44!:ext sdt
45