measure 1000 B

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