Advertisement
Guest User

Untitled

a guest
Mar 16th, 2018
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. **Example RAW Data**
  2.  
  3. ╔═══════════╦══════════╦═════════════╦═════════════════╗
  4. ║ Timestamp ║ DensityX ║ WaveLngth ║ Temp (K) ║
  5. ╠═══════════╬══════════╬═════════════╬═════════════════╣
  6. ║ 1 ║ 0.1 ║ 2 ║ 200 ║
  7. ║ 2 ║ 0.9 ║ 3 ║ 150 ║
  8. ║ 3 ║ -0.5 ║ 1 ║ 175 ║
  9. ║ 4 ║ 0 ║ 6 ║ 154 ║
  10. ║ 5 ║ 1 ║ 8 ║ 155 ║
  11. ║ 6 ║ 1.3 ║ 1.5 ║ 220 ║
  12. ║ 7 ║ -0.5 ║ 3.4 ║ 250 ║
  13. ║ 8 ║ 0.2 ║ 2 ║ 255 ║
  14. ║ 9 ║ 0.1 ║ 1 ║ 180 ║
  15. ╚═══════════╩══════════╩═════════════╩═════════════════╝
  16.  
  17. **Processed Data**
  18.  
  19. ╔═════════╦══════╦════╦══════╦═════╦════╦════╦════════╦═════════╗
  20. ║ Pattern ║ I1 ║ I2 ║ I3 ║ I4 ║ O1 ║ O2 ║ Class ║ Used TS ║
  21. ╠═════════╬══════╬════╬══════╬═════╬════╬════╬════════╬═════════╣
  22. ║ 1 ║ 0.1 ║ 2 ║ 0.9 ║ 3 ║ 0 ║ 1 ║ Down ║ 1 to 5 ║
  23. ║ 2 ║ 0.9 ║ 3 ║ -0.5 ║ 1 ║ -1 ║ -1 ║ Up ║ 2 to 6 ║
  24. ║ 3 ║ -0.5 ║ 1 ║ 0 ║ 6 ║ -1 ║ -1 ║ Up ║ 3 to 7 ║
  25. ║ 4 ║ 0 ║ 6 ║ 1 ║ 8 ║ 1 ║ 0 ║ Stable ║ 4 to 8 ║
  26. ║ 5 ║ 1 ║ 8 ║ 1.3 ║ 1.5 ║ 1 ║ 0 ║ Stable ║ 5 to 9 ║
  27. ╚═════════╩══════╩════╩══════╩═════╩════╩════╩════════╩═════════╝
  28.  
  29. **Reciprocal normalization**
  30.  
  31. Every value is processed to its reciprocal (x=1/x). Calculated values for density x would be:
  32. ╔═══════════╦════════════════════╗
  33. ║ Timestamp ║ Reciprocal Density ║
  34. ╠═══════════╬════════════════════╣
  35. ║ 1 ║ 10 ║
  36. ║ 2 ║ 1.111111111 ║
  37. ║ 3 ║ -2 ║
  38. ║ 4 ║ #DIV/0! ║
  39. ║ 5 ║ 1 ║
  40. ║ 6 ║ 0.769230769 ║
  41. ║ 7 ║ -2 ║
  42. ║ 8 ║ 5 ║
  43. ║ 9 ║ 10 ║
  44. ╚═══════════╩════════════════════╝
  45.  
  46. The starting point was Timestamp 1 where the Delta equals 0.
  47. For each timestamp the delta percentage is calculated evaluating the previous value. So calculating the time series delta percentages would turn out to:
  48. ╔═══════════╦═══════════════════╗
  49. ║ Timestamp ║ "Delta Density X" ║
  50. ╠═══════════╬═══════════════════╣
  51. ║ 1 ║ 0 ║
  52. ║ 2 ║ 0.9 ║
  53. ║ 3 ║ -0.555555556 ║
  54. ║ 4 ║ 0 ║
  55. ║ 5 ║ #DIV/0! ║
  56. ║ 6 ║ 1.3 ║
  57. ║ 7 ║ -0.384615385 ║
  58. ║ 8 ║ -0.4 ║
  59. ║ 9 ║ 0.5 ║
  60. ╚═══════════╩═══════════════════╝
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement