scientific 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #------------------------------------------------------------------------------
  2. # scientific: file(1) magic for scientific formats
  3. #
  4. # From: Joe Krahn <krahn@niehs.nih.gov>
  5. ########################################################
  6. # CCP4 data and plot files:
  7. 0 string MTZ\040 MTZ reflection file
  8. 92 string PLOT%%84 Plot84 plotting file
  9. >52 byte 1 , Little-endian
  10. >55 byte 1 , Big-endian
  11. ########################################################
  12. # Electron density MAP/MASK formats
  13. 0 string EZD_MAP NEWEZD Electron Density Map
  14. 109 string MAP\040( Old EZD Electron Density Map
  15. 0 string/c :-)\040Origin BRIX Electron Density Map
  16. >170 string >0 , Sigma:%.12s
  17. #>4 string >0 %.178s
  18. #>4 addr x %.178s
  19. 7 string 18\040!NTITLE XPLOR ASCII Electron Density Map
  20. 9 string \040!NTITLE\012\040REMARK CNS ASCII electron density map
  21. 208 string MAP\040 CCP4 Electron Density Map
  22. # Assumes same stamp for float and double (normal case)
  23. >212 byte 17 \b, Big-endian
  24. >212 byte 34 \b, VAX format
  25. >212 byte 68 \b, Little-endian
  26. >212 byte 85 \b, Convex native
  27. ############################################################
  28. # X-Ray Area Detector images
  29. 0 string R-AXIS4\ \ \ R-Axis Area Detector Image:
  30. >796 lelong <20 Little-endian, IP #%d,
  31. >>768 lelong >0 Size=%dx
  32. >>772 lelong >0 \b%d
  33. >796 belong <20 Big-endian, IP #%d,
  34. >>768 belong >0 Size=%dx
  35. >>772 belong >0 \b%d
  36. 0 string RAXIS\ \ \ \ \ R-Axis Area Detector Image, Win32:
  37. >796 lelong <20 Little-endian, IP #%d,
  38. >>768 lelong >0 Size=%dx
  39. >>772 lelong >0 \b%d
  40. >796 belong <20 Big-endian, IP #%d,
  41. >>768 belong >0 Size=%dx
  42. >>772 belong >0 \b%d
  43. 1028 string MMX\000\000\000\000\000\000\000\000\000\000\000\000\000 MAR Area Detector Image,
  44. >1072 ulong >1 Compressed(%d),
  45. >1100 ulong >1 %d headers,
  46. >1104 ulong >0 %d x
  47. >1108 ulong >0 %d,
  48. >1120 ulong >0 %d bits/pixel