2 #------------------------------------------------------------------------------
3 # $File: measure,v 1.2 2018/06/23 16:13:15 christos Exp $
4 # measure: file(1) magic for measurement data
6 # DIY-Thermocam raw data
7 0 name diy-thermocam-parser
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
21 0 name diy-thermocam-checker
26 >>>>>17 lefloat >0.0001 DIY-Thermocam raw data
30 >38400 use diy-thermocam-checker
31 >>38400 default x (Lepton 3.x),
32 >>>38400 use diy-thermocam-parser
36 >9600 use diy-thermocam-checker
37 >>9600 default x (Lepton 2.x),
38 >>>9600 use diy-thermocam-parser