diff --git a/csv/VehicleSpeed_HS.csv b/csv/VehicleSpeed_HS.csv new file mode 100644 index 0000000..275479f --- /dev/null +++ b/csv/VehicleSpeed_HS.csv @@ -0,0 +1,599 @@ +5.93 +5.92 +5.9 +5.9 +5.89 +5.89 +5.87 +5.84 +5.83 +5.81 +5.79 +5.78 +5.76 +5.75 +5.74 +5.74 +5.73 +5.73 +5.72 +5.71 +5.71 +5.69 +5.69 +5.68 +5.66 +5.63 +5.62 +5.6 +5.58 +5.57 +5.55 +5.53 +5.51 +5.5 +5.47 +5.45 +5.42 +5.4 +5.38 +5.35 +5.31 +5.28 +5.27 +5.24 +5.19 +5.16 +5.14 +7.67 +5.06 +5.02 +5 +4.97 +4.92 +4.88 +4.86 +4.82 +4.77 +4.74 +4.7 +4.66 +4.62 +4.58 +4.54 +4.48 +4.43 +4.37 +4.31 +4.24 +4.18 +4.13 +4.06 +3.98 +3.91 +3.83 +3.77 +3.72 +3.64 +3.57 +3.51 +3.44 +3.39 +3.33 +3.28 +3.24 +3.17 +3.11 +3.06 +3.01 +2.96 +2.92 +2.88 +2.83 +2.79 +2.75 +2.71 +2.68 +2.64 +2.61 +2.59 +2.56 +5.11 +2.52 +2.51 +2.49 +2.48 +2.46 +2.46 +2.45 +2.44 +2.43 +2.42 +2.41 +2.4 +2.41 +2.39 +2.38 +2.35 +2.31 +2.26 +2.21 +2.16 +2.1 +2.05 +2.01 +1.94 +1.91 +1.84 +1.77 +1.73 +1.65 +1.59 +1.58 +1.55 +1.52 +1.53 +1.52 +1.5 +1.49 +1.47 +1.47 +1.47 +1.47 +1.48 +1.48 +1.48 +1.48 +1.48 +1.46 +1.44 +1.44 +1.43 +1.41 +1.41 +1.4 +1.38 +1.37 +1.36 +1.35 +1.33 +1.32 +1.31 +1.28 +1.27 +1.26 +1.24 +1.22 +1.21 +1.21 +1.19 +1.17 +1.16 +1.16 +1.13 +1.12 +1.12 +1.11 +1.09 +1.08 +1.07 +1.07 +1.05 +1.04 +1.03 +1.02 +1.01 +0.99 +0.98 +0.96 +0.95 +0.94 +0.9 +0.87 +0.84 +0.8 +0.79 +0.78 +0.75 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 diff --git a/csv/myfile.csv b/csv/myfile.csv deleted file mode 100644 index 3324c59..0000000 --- a/csv/myfile.csv +++ /dev/null @@ -1,2402 +0,0 @@ -956.014 -955.485 -955.488 -955.846 -955.711 -955.464 -955.554 -955.549 -955.518 -955.715 -955.659 -955.656 -955.782 -955.627 -955.771 -955.79 -955.498 -955.611 -955.702 -955.543 -955.702 -955.557 -955.506 -955.778 -955.722 -955.616 -955.654 -955.7 -955.707 -955.839 -955.723 -955.643 -955.62 -955.555 -955.761 -955.758 -955.779 -955.63 -955.535 -955.633 -955.67 -955.753 -955.545 -955.69 -955.917 -955.704 -955.888 -955.99 -955.708 -955.744 -955.937 -955.888 -955.641 -955.694 -955.863 -955.92 -955.993 -956.156 -955.725 -955.605 -955.979 -955.776 -955.97 -956.348 -956.166 -955.718 -956.262 -956.249 -955.96 -956.205 -955.989 -956.045 -956.021 -956.065 -956.227 -956.14 -956.044 -955.752 -955.851 -956.122 -956.111 -955.989 -955.895 -956.172 -956.082 -955.899 -956.312 -956.347 -956.145 -956.31 -956.34 -956.304 -956.527 -956.288 -956.231 -956.607 -956.534 -956.317 -956.184 -956.19 -956.405 -956.403 -956.641 -956.827 -956.43 -956.417 -956.384 -956.387 -956.514 -956.443 -956.404 -956.436 -956.642 -956.516 -956.724 -956.581 -956.118 -956.15 -956.422 -956.133 -955.931 -956.431 -956.219 -955.946 -956.089 -956.1 -956.297 -956.096 -956.01 -956.153 -955.848 -956.14 -956.306 -955.969 -955.981 -956.084 -956.209 -956.063 -955.896 -955.933 -956.084 -956.076 -956.094 -956.126 -955.762 -955.846 -956.159 -955.894 -955.859 -955.787 -955.76 -956.38 -956.072 -955.744 -956.095 -956.139 -955.755 -955.676 -955.724 -955.603 -955.78 -955.625 -955.762 -955.725 -955.632 -955.962 -955.637 -955.797 -955.686 -955.538 -956.043 -955.841 -955.785 -955.827 -955.777 -955.893 -955.615 -955.599 -955.967 -955.951 -955.867 -955.69 -955.567 -955.97 -955.791 -955.69 -955.798 -955.856 -956.157 -955.822 -955.615 -955.966 -955.954 -955.612 -955.711 -955.986 -955.783 -955.745 -955.909 -955.895 -955.734 -955.839 -955.824 -955.778 -956.08 -955.938 -955.804 -955.872 -956.044 -956.24 -956.201 -955.972 -955.704 -955.925 -956.169 -956.13 -956.092 -955.898 -956.02 -956.183 -955.948 -956.144 -956.291 -956.086 -955.956 -956.25 -956.584 -956.06 -956.116 -956.246 -955.793 -956.045 -956.125 -956.208 -955.921 -955.565 -955.817 -955.957 -955.823 -955.578 -955.668 -955.766 -955.881 -955.794 -955.52 -955.754 -955.657 -955.462 -955.64 -955.67 -955.565 -955.554 -955.542 -955.448 -955.379 -955.437 -955.418 -955.478 -955.542 -955.402 -955.448 -955.441 -955.379 -955.43 -955.388 -955.513 -955.493 -955.358 -955.461 -955.408 -955.417 -955.489 -955.421 -955.47 -955.454 -955.407 -955.482 -955.46 -955.386 -955.463 -955.453 -955.416 -955.429 -955.393 -955.493 -955.561 -955.442 -955.484 -955.588 -955.362 -955.405 -955.483 -955.437 -955.567 -955.445 -955.422 -955.451 -955.392 -955.45 -955.397 -955.432 -955.44 -955.388 -955.426 -955.452 -955.449 -955.436 -955.393 -955.275 -954.785 -954.07 -954.001 -953.58 -952.697 -952.714 -952.268 -951.339 -951.402 -951.089 -950.088 -950.041 -950.216 -949.999 -949.866 -949.455 -949.106 -948.873 -948.779 -948.812 -948.697 -948.708 -948.678 -948.677 -948.7 -948.682 -948.622 -948.435 -948.13 -947.906 -947.889 -947.691 -947.573 -947.406 -947.367 -947.411 -947.352 -947.431 -947.375 -947.383 -947.376 -947.352 -947.429 -947.411 -947.494 -947.446 -947.395 -947.584 -947.643 -947.557 -947.489 -947.576 -947.645 -947.59 -947.491 -947.579 -947.674 -947.568 -947.609 -947.542 -947.474 -947.618 -947.716 -947.662 -947.58 -947.654 -947.675 -947.766 -947.723 -947.394 -947.486 -947.413 -947.308 -947.388 -947.324 -947.342 -947.217 -946.71 -946.08 -946.007 -946.076 -945.929 -945.6 -944.958 -944.642 -944.695 -944.696 -944.681 -944.675 -944.614 -944.367 -943.932 -943.591 -943.39 -942.521 -942.245 -942.389 -941.919 -942.141 -942.055 -941.958 -941.907 -941.49 -941.223 -941.035 -940.938 -940.823 -940.928 -940.822 -940.733 -940.845 -940.792 -940.82 -940.863 -940.902 -940.938 -940.981 -941.116 -941.124 -941.136 -941.201 -941.125 -941.308 -941.387 -941.343 -941.521 -941.567 -941.606 -941.704 -941.828 -941.883 -941.763 -941.901 -942.026 -942.035 -941.916 -941.931 -941.967 -942.044 -942.076 -941.982 -942.032 -942.053 -942.11 -942.07 -942.009 -942.039 -942.052 -942.035 -941.987 -941.909 -941.659 -941.418 -941.55 -941.626 -941.355 -941.125 -941.185 -941.091 -940.889 -940.883 -940.823 -940.775 -940.755 -940.772 -940.751 -940.749 -940.767 -940.744 -940.746 -940.753 -940.759 -940.75 -940.765 -940.755 -940.745 -940.769 -940.75 -940.739 -940.756 -940.768 -940.761 -940.755 -940.76 -940.75 -940.739 -940.748 -940.758 -940.765 -940.768 -940.752 -940.764 -940.755 -940.732 -940.754 -940.755 -940.758 -940.792 -940.811 -940.77 -940.694 -940.347 -939.342 -938.381 -937.076 -935.086 -932.824 -930.434 -929.11 -927.68 -926.163 -925.091 -923.81 -922.977 -922.251 -921.27 -920.356 -919.43 -918.308 -918.134 -918.129 -917.303 -917.047 -917.011 -917.064 -917.065 -917.007 -917.077 -917.024 -917.077 -917.212 -917.722 -918.316 -918.305 -918.257 -918.313 -918.267 -918.328 -918.433 -918.538 -918.551 -918.675 -918.643 -918.69 -918.807 -918.995 -919.412 -919.277 -919.372 -919.557 -919.542 -919.513 -919.583 -919.716 -919.934 -920.067 -919.677 -920.154 -919.973 -919.228 -919.618 -919.121 -918.822 -918.801 -918.403 -918.402 -918.341 -918.296 -918.296 -918.328 -918.323 -918.326 -918.333 -918.309 -918.331 -918.318 -918.332 -918.357 -918.312 -918.306 -918.346 -918.321 -918.348 -918.313 -918.321 -918.424 -918.36 -918.403 -918.544 -918.835 -919.051 -918.891 -918.913 -919.132 -919.364 -919.542 -919.567 -919.851 -919.957 -920.079 -920.098 -920.134 -920.396 -920.351 -920.142 -920.3 -920.888 -920.587 -920.551 -920.907 -920.388 -920.656 -920.931 -920.345 -920.497 -920.827 -920.765 -920.834 -920.684 -920.602 -920.857 -920.704 -920.677 -920.875 -920.757 -920.345 -920.79 -920.981 -920.497 -920.687 -920.767 -920.947 -920.921 -920.591 -920.575 -920.44 -920.888 -920.954 -920.769 -920.964 -920.741 -920.667 -920.897 -921.038 -920.814 -921.046 -921.212 -920.922 -921.111 -921.095 -921.135 -921.289 -921.486 -921.642 -921.597 -921.582 -921.548 -921.831 -921.876 -922.09 -921.887 -922.03 -922.13 -921.93 -922.376 -922.178 -922.063 -922.255 -922.251 -922.257 -922.159 -922.316 -922.284 -922.214 -922.249 -922.181 -922.274 -922.311 -922.208 -922.306 -922.353 -922.273 -922.334 -922.313 -922.304 -922.351 -922.317 -922.315 -922.342 -922.323 -922.316 -922.342 -922.332 -922.319 -922.325 -922.305 -922.312 -922.321 -922.326 -922.341 -922.306 -922.304 -922.329 -922.331 -922.328 -922.332 -922.336 -922.324 -922.325 -922.317 -922.34 -922.359 -922.347 -922.334 -922.341 -922.38 -922.337 -922.323 -922.358 -922.344 -922.329 -922.334 -922.348 -922.326 -922.334 -922.367 -922.335 -922.312 -922.32 -922.327 -922.337 -922.315 -922.316 -922.359 -922.368 -922.323 -922.328 -922.33 -922.33 -922.358 -922.342 -922.317 -922.337 -922.326 -922.303 -922.289 -922.263 -922.167 -921.984 -921.864 -921.663 -921.358 -920.887 -920.973 -921.112 -920.746 -920.909 -920.806 -920.766 -920.797 -920.467 -920.199 -919.819 -919.484 -919.102 -918.31 -918.245 -918.363 -918.244 -918.345 -918.249 -918.251 -918.202 -917.95 -917.573 -917.4 -917.335 -917.038 -917.19 -917.387 -917.127 -917.093 -917.293 -917.447 -917.375 -917.536 -917.724 -917.565 -917.579 -917.562 -917.794 -917.864 -917.889 -917.807 -917.397 -917.343 -917.092 -916.998 -917.031 -916.757 -916.229 -915.612 -915.654 -915.374 -914.549 -914.272 -914.402 -914.329 -914.096 -913.897 -913.878 -913.664 -913.327 -913.214 -913.338 -913.578 -913.273 -913.147 -913.367 -913.476 -913.55 -913.659 -913.9 -913.99 -914.028 -914.298 -914.259 -914.288 -914.44 -914.313 -914.387 -914.369 -914.319 -914.4 -914.343 -914.367 -914.367 -914.34 -914.357 -914.31 -914.329 -914.298 -914.295 -914.366 -914.348 -914.348 -914.392 -914.344 -914.299 -914.349 -914.379 -914.32 -914.345 -914.364 -914.32 -914.338 -914.367 -914.364 -914.365 -914.367 -914.351 -914.379 -914.4 -914.387 -914.372 -914.366 -914.387 -914.416 -914.393 -914.342 -914.388 -914.394 -914.405 -914.442 -914.491 -914.513 -914.405 -914.384 -914.377 -914.36 -914.454 -914.54 -914.49 -914.46 -914.515 -914.429 -914.517 -914.554 -914.532 -914.62 -914.542 -914.507 -914.483 -914.493 -914.466 -914.447 -914.556 -914.471 -914.385 -914.404 -914.437 -914.386 -914.369 -914.472 -914.467 -914.474 -914.531 -914.458 -914.45 -914.6 -914.56 -914.483 -914.579 -914.514 -914.502 -914.651 -914.771 -914.899 -914.95 -914.9 -915.008 -915.177 -915.096 -915.058 -915.119 -915.166 -915.385 -915.282 -915.375 -915.441 -915.482 -915.589 -915.493 -915.654 -915.531 -915.588 -915.715 -915.584 -915.654 -915.66 -915.733 -915.704 -915.665 -915.729 -915.697 -915.699 -915.716 -915.702 -915.702 -915.711 -915.708 -915.712 -915.692 -915.671 -915.681 -915.683 -915.677 -915.673 -915.702 -915.707 -915.706 -915.695 -915.682 -915.703 -915.684 -915.708 -915.722 -915.701 -915.752 -915.795 -915.796 -915.856 -915.923 -915.981 -916.127 -916.178 -916.139 -916.152 -916.28 -916.311 -916.196 -916.343 -916.35 -916.349 -916.607 -916.612 -916.561 -916.676 -916.799 -916.844 -916.7 -916.743 -916.86 -916.817 -916.856 -916.881 -916.788 -916.919 -916.984 -916.838 -917.016 -917.026 -916.932 -917.02 -917.026 -917.012 -916.989 -917 -917.052 -917.071 -917.04 -917.028 -917.047 -917.06 -917.039 -917.052 -917.046 -917.028 -917.056 -917.028 -917.024 -917.053 -917.051 -917.049 -917.03 -917.049 -917.071 -917.051 -917.088 -917.067 -917.038 -917.08 -917.048 -917.051 -917.146 -917.161 -917.056 -917.057 -917.102 -917.074 -917.173 -917.104 -917.052 -917.146 -917.129 -917.126 -917.094 -917.091 -917.203 -917.288 -917.293 -917.221 -917.247 -917.28 -917.303 -917.141 -917.074 -917.37 -917.421 -917.383 -917.462 -917.622 -917.673 -917.693 -918.036 -918.027 -917.948 -917.991 -918.052 -917.99 -917.889 -918.168 -918.085 -917.864 -918.042 -918.046 -917.87 -917.978 -917.994 -918.023 -917.974 -917.912 -918.095 -918.067 -918.013 -918.088 -918.127 -918.218 -918.273 -918.279 -918.326 -918.324 -918.323 -918.321 -918.313 -918.324 -918.305 -918.35 -918.326 -918.295 -918.323 -918.288 -918.317 -918.304 -918.293 -918.331 -918.299 -918.297 -918.302 -918.282 -918.293 -918.306 -918.297 -918.311 -918.324 -918.315 -918.329 -918.301 -918.284 -918.3 -918.312 -918.358 -918.395 -918.514 -918.515 -918.385 -918.499 -918.448 -918.557 -918.576 -918.485 -918.605 -918.648 -918.61 -918.4 -918.845 -919.084 -919.197 -919.162 -918.768 -919.514 -919.649 -919.021 -919.219 -919.464 -919.357 -919.252 -919.46 -919.576 -919.425 -919.439 -919.563 -920.101 -920.24 -919.981 -920.164 -920.434 -920.336 -919.85 -920.048 -920.085 -919.823 -920.062 -920.178 -920.315 -920.041 -920.241 -920.518 -920.138 -920.17 -920.437 -920.524 -920.312 -920.282 -920.706 -920.588 -920.613 -920.684 -920.616 -920.808 -920.922 -920.918 -920.838 -921.003 -920.923 -920.834 -921.008 -920.944 -920.912 -920.921 -920.993 -920.979 -920.969 -920.99 -920.936 -920.913 -920.892 -920.946 -920.956 -920.982 -921.016 -920.953 -920.944 -920.957 -920.961 -920.959 -920.979 -920.981 -920.966 -921.002 -921.011 -920.987 -920.969 -920.986 -920.995 -920.988 -920.989 -921.014 -920.998 -920.955 -920.996 -921.047 -921.026 -921.001 -920.997 -920.998 -920.969 -920.978 -920.978 -921.022 -921.058 -920.994 -921.034 -921.003 -920.937 -920.958 -921 -921.008 -921.016 -921.084 -921.036 -921.008 -921.11 -921.128 -921.055 -921.129 -921.293 -921.239 -921.28 -921.274 -921.155 -921.353 -921.256 -921.392 -921.502 -921.22 -921.458 -921.51 -921.357 -921.631 -921.758 -921.65 -921.565 -921.432 -921.478 -921.58 -921.601 -921.635 -921.803 -921.804 -922.041 -922.289 -922.134 -922.298 -922.225 -922.134 -922.281 -922.202 -922.254 -922.281 -922.193 -922.101 -922.184 -922.268 -922.223 -922.252 -922.199 -922.299 -922.261 -922.173 -922.271 -922.269 -922.321 -922.261 -922.264 -922.314 -922.295 -922.299 -922.337 -922.34 -922.305 -922.336 -922.339 -922.306 -922.329 -922.338 -922.324 -922.333 -922.352 -922.346 -922.332 -922.334 -922.317 -922.351 -922.356 -922.318 -922.345 -922.325 -922.309 -922.323 -922.339 -922.324 -922.312 -922.343 -922.334 -922.327 -922.34 -922.354 -922.34 -922.341 -922.356 -922.308 -922.322 -922.347 -922.324 -922.327 -922.338 -922.355 -922.332 -922.338 -922.354 -922.359 -922.434 -922.423 -922.358 -922.374 -922.398 -922.396 -922.424 -922.455 -922.342 -922.377 -922.417 -922.361 -922.436 -922.429 -922.379 -922.489 -922.394 -922.457 -922.56 -922.493 -922.518 -922.522 -922.715 -922.634 -922.727 -922.788 -922.416 -922.738 -922.695 -922.44 -922.634 -922.69 -922.906 -922.754 -922.719 -922.956 -922.798 -923.101 -923.062 -922.908 -923.039 -922.89 -923.098 -923.133 -923.168 -923.256 -923.281 -923.496 -923.452 -923.408 -923.5 -923.497 -923.492 -923.528 -923.543 -923.511 -923.493 -923.549 -923.58 -923.507 -923.533 -923.598 -923.538 -923.544 -923.585 -923.56 -923.597 -923.582 -923.567 -923.582 -923.565 -923.594 -923.602 -923.581 -923.556 -923.566 -923.604 -923.591 -923.572 -923.574 -923.582 -923.573 -923.543 -923.577 -923.577 -923.506 -923.518 -923.533 -923.385 -923.159 -923.065 -922.837 -922.603 -922.629 -922.459 -922.25 -922.36 -922.326 -922.31 -922.272 -921.905 -921.448 -921.197 -921.003 -920.956 -921.029 -920.972 -920.954 -920.77 -920.322 -919.159 -918.099 -918.335 -918.33 -918.166 -918.021 -917.395 -917.055 -916.995 -917.057 -916.804 -916.128 -915.72 -915.74 -915.692 -915.554 -915.094 -914.388 -914.307 -914.35 -913.874 -913.276 -912.973 -912.994 -912.638 -911.906 -911.662 -911.721 -911.193 -910.398 -910.256 -909.553 -907.689 -907.299 -906.985 -905.845 -905.442 -904.477 -903.838 -903.05 -902.211 -901.604 -900.739 -900.135 -899.385 -898.667 -897.469 -895.937 -895.138 -894.627 -894.13 -893.581 -892.831 -892.409 -891.587 -891.287 -890.587 -889.835 -889.368 -888.51 -887.936 -886.475 -884.989 -884.308 -883.825 -883.274 -882.523 -882.136 -881.57 -881.016 -881.043 -880.16 -879.923 -880.093 -879.62 -879.038 -878.533 -878.748 -878.697 -878.624 -878.627 -878.261 -877.859 -877.527 -877.526 -877.406 -877.363 -877.407 -877.347 -877.407 -877.297 -877.033 -876.503 -876.105 -876.072 -876.033 -876.024 -876.019 -876.013 -875.705 -874.982 -874.139 -873.483 -873.421 -873.407 -873.364 -873.308 -873.07 -872.902 -872.618 -872.428 -872.247 -872.064 -872.086 -872.085 -872.07 -872.059 -871.717 -871.099 -870.85 -870.77 -870.71 -870.745 -870.687 -870.634 -870.411 -870.129 -869.932 -869.758 -869.622 -869.56 -869.46 -869.464 -869.499 -869.487 -869.487 -869.484 -869.5 -869.485 -869.485 -869.492 -869.466 -869.435 -869.399 -869.28 -868.852 -868.223 -868.071 -868.203 -868.085 -868.134 -868.139 -868.092 -868.02 -867.867 -867.705 -867.303 -866.919 -866.766 -866.785 -866.568 -865.881 -865.337 -865.384 -864.719 -863.115 -862.474 -862.74 -862.578 -862.167 -861.664 -861.415 -861.505 -861.406 -861.334 -861.372 -861.364 -861.373 -861.363 -861.37 -861.395 -861.371 -861.351 -861.385 -861.456 -861.733 -861.902 -861.659 -861.742 -861.731 -861.412 -861.707 -861.957 -862.162 -862.511 -862.398 -862.559 -862.626 -862.298 -862.246 -861.937 -861.513 -861.373 -861.376 -861.382 -861.344 -861.384 -861.421 -861.425 -861.419 -861.44 -861.574 -861.732 -861.883 -861.971 -861.895 -861.906 -861.687 -861.443 -861.557 -861.513 -861.648 -861.822 -861.945 -862.267 -862.373 -862.565 -862.656 -862.571 -862.659 -862.577 -862.613 -862.64 -862.577 -862.682 -862.635 -862.68 -862.697 -862.657 -862.694 -862.72 -862.806 -863.154 -863.844 -864.134 -864.134 -864.357 -864.167 -864.082 -864.591 -864.95 -864.995 -865.339 -865.358 -865.295 -865.51 -865.474 -865.453 -865.486 -865.453 -865.465 -865.446 -865.474 -865.495 -865.49 -865.494 -865.515 -865.552 -865.576 -865.667 -865.891 -866.102 -865.97 -865.971 -866.249 -866.005 -865.966 -866.085 -865.812 -865.962 -866.081 -866.154 -866.384 -866.562 -866.766 -866.692 -866.779 -866.82 -866.783 -866.844 -866.81 -866.807 -866.788 -866.799 -866.797 -866.782 -866.803 -866.778 -866.761 -866.822 -866.805 -866.785 -866.841 -866.803 -866.792 -866.803 -866.799 -866.813 -866.802 -866.826 -866.818 -866.815 -866.795 -866.786 -866.824 -866.806 -866.794 -866.793 -866.827 -866.829 -866.797 -866.822 -866.807 -866.833 -866.845 -866.807 -866.854 -866.916 -866.965 -866.999 -867.097 -867.087 -866.923 -866.927 -866.933 -866.986 -866.971 -866.903 -866.98 -866.998 -866.913 -866.933 -866.948 -866.902 -866.873 -866.87 -866.965 -866.919 -866.885 -866.957 -866.876 -867.063 -867.14 -866.995 -867.028 -867.114 -867.357 -867.378 -867.474 -867.61 -867.476 -867.446 -867.545 -867.541 -867.31 -867.345 -867.433 -867.333 -867.536 -867.424 -867.222 -867.341 -867.317 -867.282 -867.259 -867.308 -867.3 -867.301 -867.271 -867.07 -867.14 -867.358 -867.347 -867.225 -867.129 -867.305 -867.25 -867.242 -867.264 -867.232 -867.353 -867.152 -867.252 -867.353 -867.354 -867.119 -867.248 -867.366 -867.168 -867.36 -867.326 -867.263 -867.185 -867.085 -866.975 -866.947 -867.311 -867.113 -867.092 -867.268 -867.039 -867.094 -867.177 -867.151 -867.178 -867.236 -867.187 -867.189 -867.338 -867.13 -866.984 -867.059 -867.059 -867.1 -867.034 -867.05 -867.141 -867.145 -867.039 -867.169 -867.18 -867.017 -867.128 -867 -866.896 -867.173 -867.269 -867.068 -867.062 -867.058 -867.107 -867.114 -867.084 -867.163 -867.107 -867.211 -867.136 -866.977 -867.123 -867.062 -867.129 -867.239 -866.985 -866.965 -867.085 -867.17 -867.261 -867.23 -867.161 -867.107 -867.019 -866.975 -867.118 -867.076 -867.042 -867.017 -866.956 -867.04 -867.051 -867.019 -866.999 -867.042 -867.031 -867.147 -867.083 -866.963 -867.083 -867.061 -867.049 -867.039 -867.01 -867.079 -866.96 -866.857 -866.999 -867.046 -867.094 -867.138 -867.097 -867.063 -867.003 -866.968 -866.964 -867.009 -866.967 -867.044 -867.003 -866.936 -867.02 -866.987 -867.04 -867.034 -867.095 -867.084 -866.963 -867.044 -867.014 -866.989 -866.9 -867.018 -867.1 -866.89 -866.941 -867.033 -867.004 -867.035 -866.941 -866.965 -867.088 -867.071 -867.029 -866.98 -867 -866.926 -866.946 -867.064 -867.106 -867.041 -866.909 -867.02 -867.044 -867.04 -867.104 -867.003 -866.969 -867.049 -866.984 -866.926 -867.114 -866.951 -866.911 -867.046 -867.098 -867.103 -866.978 -866.979 -867.021 -867.074 -867.054 -867.047 -867.114 -866.994 -867.01 -867.045 -867.045 -867.055 -866.971 -867.046 -867.07 -867.094 -867.119 -867.037 -866.942 -866.918 -866.984 -866.854 -866.952 -866.997 -866.904 -867.025 -866.98 -866.923 -867.002 -867.038 -867.072 -866.97 -866.904 -867.002 -867.042 -866.967 -867.019 -867.002 -866.869 -867.007 -867.042 -867.032 -867.084 -866.986 -866.971 -866.955 -867.05 -867.191 -867.128 -866.966 -867.036 -867.075 -866.984 -866.97 -866.951 -867.008 -866.917 -866.858 -867 -866.943 -867.056 -867.05 -867.009 -867.013 -866.964 -867.077 -866.908 -867.001 -867.038 -866.917 -866.958 -866.891 -867.04 -867.021 -867.021 -867.015 -866.919 -867.035 -867.011 -866.995 -867.036 -866.981 -866.979 -866.96 -866.98 -866.937 -867.01 -867.193 -867.032 -867.055 -866.983 -867.021 -867.167 -866.933 -867.002 -866.98 -866.997 -867.046 -867.03 -867.119 -867.083 -867.137 -867.086 -867.067 -867.118 -866.974 -867.105 -866.931 -866.816 -867.038 -867.016 -867.008 -867.012 -867.002 -866.893 -866.922 -867.117 -867.077 -867.169 -867.032 -866.804 -866.983 -866.959 -866.973 -867.003 -866.948 -866.958 -866.984 -867.002 -867.024 -866.998 -867.045 -867.117 -867.039 -866.961 -867.053 -867.083 -866.815 -866.976 -867.079 -867.064 -867.04 -866.853 -866.949 -866.926 -866.997 -867.089 -866.859 -867.049 -867.051 -866.938 -867.035 -866.982 -867.007 -866.918 -866.945 -867.061 -866.943 -867.015 -867.017 -866.929 -866.919 -867.008 -867.115 -866.947 -866.877 -867.022 -867.076 -867.055 -867.026 -867.133 -867.072 -866.939 -867.054 -866.97 -867.004 -867.012 -867.019 -867.032 -866.98 -867.123 -866.978 -866.896 -866.998 -866.902 -866.957 -867.033 -867.033 -866.983 -866.984 -866.956 -866.91 -866.994 -867.073 -867.044 -867.017 -866.932 -866.856 -867.005 -866.96 -866.951 -866.924 -866.928 -867.001 -866.964 -866.993 -866.918 -866.955 -867.067 -866.992 -866.915 -866.991 -866.928 -866.981 -867.018 -866.919 -866.971 -866.997 -867.064 -867.092 -866.943 -866.884 -867.028 -866.997 -866.942 -867.036 -867.025 -866.945 -867.056 -866.971 -866.817 -866.962 -866.896 -866.867 -866.944 -866.987 -867.021 -866.911 -867.012 -866.974 -866.911 -867.104 -866.982 -867.028 -867.068 -866.964 -866.974 -867.078 -866.999 -866.99 -867.205 -867.154 -867.145 -867.207 -867.097 -867.032 -867.097 -867.067 -867.036 -867.096 -866.917 -866.982 -867.094 -867.012 -867.15 -867.05 -866.981 -867.093 -867.042 -867.187 -866.941 -866.873 -867.166 -867.018 -866.982 -867.091 -867.08 -867.002 -867.052 -867.092 -866.922 -866.942 -866.972 -866.94 -867.09 -867.028 -867.087 -867.115 -866.919 -866.966 -866.973 -866.999 -866.996 -866.966 -866.934 -866.938 -867.066 -866.996 -866.888 -867.008 -867.076 -867.105 -867.176 -867.053 -866.947 -867.007 -867.135 -867.178 -867.005 -866.885 -866.91 -867.005 -866.98 -866.872 -866.954 -866.87 -866.888 -867.007 -866.971 -866.991 -867.041 -867.041 -867.005 -866.969 -866.889 -866.995 -867.121 -866.991 -866.967 -867.006 -867.086 -867.08 -866.941 -866.958 -867.036 -867.048 -867.005 -866.948 -866.884 -866.872 -866.97 -867.139 -867.014 -866.912 -867.031 -866.877 -866.984 -867.026 -866.905 -866.926 -866.969 -867.01 -866.94 -866.927 -866.894 -866.857 -866.948 -866.974 -866.953 -866.942 -866.942 -866.998 -866.956 -866.898 -866.936 -867.005 -867.068 -866.922 -866.915 -866.975 -866.979 -866.977 -866.811 -866.886 -867.067 -867.016 -866.873 -867 -866.948 -866.822 -866.974 -866.915 -866.907 -866.975 -866.903 -866.949 -866.909 -866.926 -867.021 -867.049 -866.978 -866.99 -866.999 -866.847 -866.841 -866.916 -866.985 diff --git a/csv/pressure_Vacuum.csv b/csv/pressure_Vacuum.csv new file mode 100644 index 0000000..74332c6 --- /dev/null +++ b/csv/pressure_Vacuum.csv @@ -0,0 +1,2402 @@ +956.013794 +955.484924 +955.487671 +955.846252 +955.711121 +955.464111 +955.554016 +955.548523 +955.517517 +955.714661 +955.658752 +955.65625 +955.78241 +955.626831 +955.771301 +955.790222 +955.497864 +955.610779 +955.702271 +955.542786 +955.702026 +955.557251 +955.505798 +955.777954 +955.721558 +955.616394 +955.653687 +955.700439 +955.707214 +955.839478 +955.722717 +955.642578 +955.61969 +955.554504 +955.761169 +955.758423 +955.779236 +955.629944 +955.534973 +955.632935 +955.669922 +955.752686 +955.544861 +955.690125 +955.917358 +955.703979 +955.887939 +955.989807 +955.708252 +955.74408 +955.937134 +955.887634 +955.641296 +955.694031 +955.863403 +955.919861 +955.993042 +956.15564 +955.724792 +955.605469 +955.97937 +955.776123 +955.970276 +956.348083 +956.166443 +955.718018 +956.262085 +956.249451 +955.959961 +956.205261 +955.989014 +956.044922 +956.020813 +956.064819 +956.226807 +956.140381 +956.044373 +955.752441 +955.850769 +956.122437 +956.11145 +955.988647 +955.895081 +956.171936 +956.082275 +955.899231 +956.312134 +956.34729 +956.144836 +956.310181 +956.340393 +956.304199 +956.52655 +956.288025 +956.231323 +956.606689 +956.534485 +956.31665 +956.183655 +956.189636 +956.405151 +956.402649 +956.640564 +956.826599 +956.429626 +956.416626 +956.384399 +956.386536 +956.514038 +956.443054 +956.40448 +956.436035 +956.642273 +956.515625 +956.723938 +956.581177 +956.118225 +956.149536 +956.421692 +956.132996 +955.931152 +956.431335 +956.218994 +955.946167 +956.088684 +956.100281 +956.297119 +956.096375 +956.010498 +956.152649 +955.8479 +956.140137 +956.306396 +955.969055 +955.981079 +956.083618 +956.209167 +956.062744 +955.895752 +955.933105 +956.084412 +956.076172 +956.094177 +956.126343 +955.761536 +955.846497 +956.158875 +955.893921 +955.859497 +955.787231 +955.759583 +956.380005 +956.072266 +955.743958 +956.094543 +956.139343 +955.754517 +955.676208 +955.723999 +955.602722 +955.780457 +955.625366 +955.762329 +955.725342 +955.632141 +955.961792 +955.637268 +955.796692 +955.686218 +955.538086 +956.042969 +955.840637 +955.785095 +955.827332 +955.776672 +955.893372 +955.61499 +955.59906 +955.96698 +955.950684 +955.866821 +955.689636 +955.566528 +955.969971 +955.790955 +955.690247 +955.798157 +955.855591 +956.157227 +955.821716 +955.614563 +955.965698 +955.954102 +955.612 +955.710999 +955.986267 +955.783325 +955.745239 +955.908752 +955.895203 +955.733948 +955.838806 +955.823547 +955.778076 +956.079712 +955.937805 +955.804016 +955.872009 +956.044373 +956.240051 +956.200623 +955.971558 +955.703796 +955.924805 +956.168823 +956.130493 +956.091797 +955.898315 +956.019897 +956.183105 +955.947815 +956.144043 +956.29126 +956.085938 +955.955811 +956.250488 +956.583862 +956.059998 +956.11554 +956.246338 +955.792908 +956.044617 +956.125183 +956.207886 +955.921265 +955.564575 +955.81665 +955.95697 +955.82251 +955.57782 +955.667969 +955.766235 +955.881409 +955.793823 +955.52002 +955.753723 +955.656799 +955.461609 +955.640381 +955.669678 +955.564575 +955.554016 +955.541748 +955.447693 +955.37915 +955.436584 +955.417847 +955.478333 +955.541626 +955.401672 +955.447937 +955.440674 +955.378662 +955.430237 +955.387756 +955.512695 +955.492615 +955.357788 +955.461243 +955.408203 +955.416931 +955.488708 +955.420837 +955.469849 +955.454346 +955.406799 +955.481812 +955.460327 +955.386353 +955.463196 +955.452881 +955.415649 +955.428955 +955.392944 +955.493164 +955.560669 +955.441711 +955.483521 +955.587585 +955.361572 +955.405212 +955.482971 +955.436768 +955.567444 +955.444702 +955.421875 +955.450928 +955.391663 +955.449646 +955.3974 +955.431946 +955.440491 +955.387756 +955.425537 +955.451843 +955.448853 +955.436218 +955.392578 +955.275085 +954.785461 +954.069946 +954.001404 +953.580322 +952.696777 +952.714355 +952.26825 +951.338562 +951.401855 +951.088928 +950.08783 +950.041077 +950.215759 +949.999084 +949.866455 +949.454895 +949.106262 +948.872925 +948.778625 +948.812195 +948.696655 +948.707764 +948.677612 +948.677368 +948.699524 +948.682068 +948.621765 +948.434509 +948.13031 +947.906494 +947.889282 +947.691406 +947.573364 +947.406067 +947.366882 +947.410522 +947.351501 +947.430969 +947.374573 +947.382507 +947.376099 +947.351501 +947.428894 +947.410522 +947.494019 +947.445557 +947.395142 +947.583801 +947.643311 +947.556702 +947.488953 +947.576477 +947.644897 +947.589783 +947.491272 +947.578857 +947.673706 +947.567627 +947.609192 +947.542358 +947.474243 +947.618408 +947.716309 +947.661926 +947.580139 +947.653748 +947.674866 +947.766174 +947.722778 +947.394348 +947.486206 +947.412964 +947.308228 +947.387573 +947.32373 +947.341736 +947.216614 +946.709717 +946.079651 +946.007324 +946.075989 +945.928772 +945.59967 +944.958069 +944.64209 +944.695007 +944.695923 +944.681335 +944.675354 +944.613953 +944.366943 +943.932434 +943.590576 +943.390076 +942.521484 +942.244751 +942.389404 +941.918945 +942.141174 +942.055237 +941.957642 +941.906799 +941.490051 +941.223206 +941.035095 +940.937622 +940.822754 +940.928101 +940.821655 +940.733337 +940.845154 +940.791992 +940.819702 +940.863098 +940.902222 +940.9375 +940.980896 +941.115967 +941.12384 +941.135925 +941.201172 +941.125244 +941.308289 +941.38739 +941.343201 +941.521057 +941.566528 +941.605835 +941.704102 +941.827759 +941.883362 +941.763245 +941.900818 +942.026184 +942.035156 +941.915833 +941.930664 +941.967407 +942.04364 +942.075562 +941.981567 +942.032288 +942.052734 +942.109802 +942.069641 +942.00885 +942.039062 +942.05249 +942.035278 +941.987061 +941.90918 +941.65863 +941.418274 +941.550354 +941.626465 +941.354553 +941.125488 +941.185181 +941.091003 +940.889282 +940.883179 +940.822754 +940.775024 +940.755127 +940.772156 +940.750916 +940.749146 +940.766602 +940.744141 +940.745728 +940.752625 +940.758728 +940.749634 +940.764771 +940.755005 +940.745483 +940.768555 +940.75 +940.738586 +940.756409 +940.767883 +940.760864 +940.755493 +940.759827 +940.749634 +940.738831 +940.748352 +940.758484 +940.765381 +940.76825 +940.751709 +940.764099 +940.755493 +940.732056 +940.753784 +940.755127 +940.757568 +940.791748 +940.810852 +940.770203 +940.693726 +940.347473 +939.341553 +938.381104 +937.07605 +935.085815 +932.823853 +930.434204 +929.109619 +927.679749 +926.162842 +925.091003 +923.810425 +922.977295 +922.250854 +921.269958 +920.35614 +919.429565 +918.307922 +918.13385 +918.129211 +917.302917 +917.047424 +917.010681 +917.064148 +917.06488 +917.007446 +917.076599 +917.024109 +917.077148 +917.212402 +917.721802 +918.315613 +918.304688 +918.257019 +918.313293 +918.267395 +918.328491 +918.432861 +918.538391 +918.551331 +918.674561 +918.642639 +918.69043 +918.807434 +918.995178 +919.412109 +919.2771 +919.37207 +919.557373 +919.54248 +919.512817 +919.58252 +919.715637 +919.934021 +920.066528 +919.676575 +920.153503 +919.972839 +919.228271 +919.618347 +919.120911 +918.822266 +918.800781 +918.403442 +918.402283 +918.341309 +918.296082 +918.296204 +918.328491 +918.323059 +918.32605 +918.332825 +918.309082 +918.330872 +918.318359 +918.331909 +918.356934 +918.311829 +918.305847 +918.345703 +918.320984 +918.347534 +918.312622 +918.320862 +918.424255 +918.359558 +918.402527 +918.543762 +918.835327 +919.051208 +918.891357 +918.912598 +919.131958 +919.36377 +919.541565 +919.566589 +919.851013 +919.957214 +920.078857 +920.097778 +920.133606 +920.396362 +920.350525 +920.142334 +920.300476 +920.888062 +920.587097 +920.550781 +920.907104 +920.387634 +920.656189 +920.931091 +920.344788 +920.497375 +920.827087 +920.764832 +920.833862 +920.684326 +920.602112 +920.857422 +920.704346 +920.67688 +920.875183 +920.756714 +920.345459 +920.789978 +920.980591 +920.497375 +920.687439 +920.767456 +920.947205 +920.921143 +920.590637 +920.57489 +920.440125 +920.887695 +920.953857 +920.769104 +920.963745 +920.741089 +920.667358 +920.896545 +921.038147 +920.814087 +921.045959 +921.212463 +920.92218 +921.11084 +921.095459 +921.135193 +921.28894 +921.485962 +921.642395 +921.597351 +921.582458 +921.547852 +921.831299 +921.876282 +922.089539 +921.886536 +922.029602 +922.130188 +921.929932 +922.376038 +922.177979 +922.063354 +922.254883 +922.250732 +922.256836 +922.159485 +922.315857 +922.283936 +922.214355 +922.248718 +922.180603 +922.27417 +922.310791 +922.208496 +922.305664 +922.35321 +922.273132 +922.333801 +922.313232 +922.303833 +922.351135 +922.317139 +922.315186 +922.342285 +922.323425 +922.315857 +922.342041 +922.331848 +922.318604 +922.325378 +922.304749 +922.312073 +922.320801 +922.326294 +922.341003 +922.305542 +922.303711 +922.329163 +922.331482 +922.327576 +922.331848 +922.336304 +922.323792 +922.325378 +922.317139 +922.339661 +922.359497 +922.347351 +922.334229 +922.340576 +922.380066 +922.337463 +922.322754 +922.357666 +922.344482 +922.328857 +922.333801 +922.348145 +922.325989 +922.333679 +922.366638 +922.335022 +922.311951 +922.319885 +922.32666 +922.336975 +922.314819 +922.316467 +922.358582 +922.367981 +922.323425 +922.32782 +922.330322 +922.3302 +922.357666 +922.341614 +922.317383 +922.337463 +922.326294 +922.302551 +922.288635 +922.263489 +922.166809 +921.984253 +921.86377 +921.66272 +921.357971 +920.886902 +920.973022 +921.112183 +920.746216 +920.909058 +920.806274 +920.766235 +920.797119 +920.466858 +920.199402 +919.818726 +919.484375 +919.102173 +918.309631 +918.244629 +918.363159 +918.244202 +918.345093 +918.249451 +918.251404 +918.201599 +917.949646 +917.57251 +917.399719 +917.335266 +917.037537 +917.190247 +917.387207 +917.127441 +917.092896 +917.292908 +917.446533 +917.375488 +917.536133 +917.724121 +917.56543 +917.578979 +917.561951 +917.794495 +917.863647 +917.88855 +917.807007 +917.396729 +917.343079 +917.091858 +916.998474 +917.031189 +916.756653 +916.229004 +915.611572 +915.654053 +915.374084 +914.549011 +914.272278 +914.401917 +914.328979 +914.095764 +913.897034 +913.878418 +913.664368 +913.327209 +913.214233 +913.338013 +913.577881 +913.27301 +913.147278 +913.366943 +913.475708 +913.549866 +913.658875 +913.900208 +913.990479 +914.028259 +914.297546 +914.258606 +914.287537 +914.439941 +914.312561 +914.387207 +914.368713 +914.318665 +914.400208 +914.343262 +914.36676 +914.367249 +914.339661 +914.357483 +914.309509 +914.328979 +914.297668 +914.295349 +914.366211 +914.347961 +914.347839 +914.392395 +914.343567 +914.299255 +914.349121 +914.378601 +914.320496 +914.345215 +914.363708 +914.319824 +914.337952 +914.367371 +914.363708 +914.365051 +914.36676 +914.350708 +914.379211 +914.399536 +914.38678 +914.371948 +914.366333 +914.386536 +914.416382 +914.393066 +914.34198 +914.387573 +914.393677 +914.405457 +914.441528 +914.490662 +914.513428 +914.405029 +914.38446 +914.37677 +914.35968 +914.453613 +914.540283 +914.48999 +914.460022 +914.515381 +914.42926 +914.517212 +914.554443 +914.531799 +914.619507 +914.541809 +914.507324 +914.482971 +914.492615 +914.465881 +914.446838 +914.556152 +914.471497 +914.385254 +914.404114 +914.437195 +914.385864 +914.36853 +914.471863 +914.466919 +914.474365 +914.531128 +914.458435 +914.449585 +914.599548 +914.560181 +914.482971 +914.578552 +914.51355 +914.502075 +914.651001 +914.770874 +914.899048 +914.94989 +914.900085 +915.007996 +915.176941 +915.096313 +915.057861 +915.119263 +915.165527 +915.385132 +915.281555 +915.374756 +915.440796 +915.481934 +915.58905 +915.493164 +915.653809 +915.531494 +915.588257 +915.715271 +915.583862 +915.65448 +915.659668 +915.733276 +915.704102 +915.664856 +915.72937 +915.696899 +915.698853 +915.71582 +915.701721 +915.701599 +915.711365 +915.70813 +915.711792 +915.692383 +915.670715 +915.680908 +915.682739 +915.67688 +915.672974 +915.702393 +915.706726 +915.706299 +915.694946 +915.681946 +915.702637 +915.684448 +915.707886 +915.721558 +915.700806 +915.751526 +915.79541 +915.796448 +915.856018 +915.922607 +915.98053 +916.127136 +916.177551 +916.138611 +916.152405 +916.280457 +916.310852 +916.196411 +916.342712 +916.349792 +916.349487 +916.606934 +916.611633 +916.561462 +916.675903 +916.798584 +916.844177 +916.700378 +916.743347 +916.860474 +916.816589 +916.856445 +916.880676 +916.787659 +916.919495 +916.984131 +916.837708 +917.015686 +917.025696 +916.932007 +917.019958 +917.026489 +917.012146 +916.988586 +917.000305 +917.052368 +917.070618 +917.040039 +917.028442 +917.046814 +917.05957 +917.03949 +917.052368 +917.045898 +917.02832 +917.055664 +917.02832 +917.023987 +917.052795 +917.051086 +917.049255 +917.029724 +917.048889 +917.071045 +917.051331 +917.087952 +917.066711 +917.037659 +917.079895 +917.048218 +917.051208 +917.145813 +917.161194 +917.055664 +917.056946 +917.102173 +917.074158 +917.172546 +917.103882 +917.051758 +917.145691 +917.128601 +917.126404 +917.09436 +917.090576 +917.202881 +917.287842 +917.292786 +917.22113 +917.246887 +917.279846 +917.303345 +917.140991 +917.07428 +917.3703 +917.421082 +917.383423 +917.461731 +917.622375 +917.672546 +917.693359 +918.036194 +918.026672 +917.948486 +917.991333 +918.052307 +917.989807 +917.888794 +918.167603 +918.085266 +917.863647 +918.041626 +918.045959 +917.870178 +917.97821 +917.99408 +918.023376 +917.973511 +917.911987 +918.09491 +918.067322 +918.013245 +918.088135 +918.126587 +918.217773 +918.272644 +918.278503 +918.326172 +918.324219 +918.322937 +918.320679 +918.312988 +918.323975 +918.305176 +918.350281 +918.325928 +918.294678 +918.322815 +918.288269 +918.3172 +918.303528 +918.293335 +918.330872 +918.299194 +918.297485 +918.302063 +918.281982 +918.293091 +918.305969 +918.296631 +918.311218 +918.32373 +918.315247 +918.329163 +918.301453 +918.283569 +918.300232 +918.311829 +918.358459 +918.394958 +918.513794 +918.514587 +918.385437 +918.499451 +918.447998 +918.557312 +918.575684 +918.484863 +918.604736 +918.648376 +918.60968 +918.399902 +918.844543 +919.084412 +919.196594 +919.162476 +918.767944 +919.514465 +919.64856 +919.020691 +919.219116 +919.46405 +919.357361 +919.251587 +919.459656 +919.576233 +919.424622 +919.438782 +919.562927 +920.100647 +920.240417 +919.981445 +920.164185 +920.434021 +920.33551 +919.849731 +920.048401 +920.085022 +919.82251 +920.062195 +920.177612 +920.314941 +920.041077 +920.241211 +920.518066 +920.137512 +920.170349 +920.436646 +920.523804 +920.312195 +920.28241 +920.706482 +920.58844 +920.612671 +920.684326 +920.615906 +920.808044 +920.92218 +920.918274 +920.837891 +921.002747 +920.923218 +920.834106 +921.007935 +920.943726 +920.911621 +920.920776 +920.992798 +920.97876 +920.968689 +920.989807 +920.93573 +920.91272 +920.891602 +920.945923 +920.956482 +920.98175 +921.015869 +920.952698 +920.94397 +920.957397 +920.960632 +920.958923 +920.978882 +920.980835 +920.966125 +921.001648 +921.011169 +920.987061 +920.968872 +920.98645 +920.994751 +920.987976 +920.988892 +921.014465 +920.99762 +920.955017 +920.995789 +921.046631 +921.026184 +921.00061 +920.997131 +920.99762 +920.968994 +920.977966 +920.97821 +921.0224 +921.05835 +920.994141 +921.033997 +921.002869 +920.937195 +920.957886 +920.999573 +921.008057 +921.016296 +921.08374 +921.03595 +921.008179 +921.110474 +921.12793 +921.055481 +921.128723 +921.292603 +921.239075 +921.280212 +921.27356 +921.155273 +921.353027 +921.255615 +921.391602 +921.50238 +921.220398 +921.458069 +921.509521 +921.356689 +921.630676 +921.758484 +921.649597 +921.565002 +921.432007 +921.4776 +921.580383 +921.600586 +921.635132 +921.802917 +921.803955 +922.041321 +922.288757 +922.133728 +922.297729 +922.224915 +922.13446 +922.281067 +922.201965 +922.253967 +922.280945 +922.193115 +922.101013 +922.184265 +922.268005 +922.223083 +922.25177 +922.198975 +922.299011 +922.260864 +922.173462 +922.271179 +922.268555 +922.320679 +922.261108 +922.263733 +922.314026 +922.295105 +922.299316 +922.337097 +922.34021 +922.305176 +922.33551 +922.338928 +922.305664 +922.328613 +922.338257 +922.323792 +922.333191 +922.351929 +922.346191 +922.332153 +922.333557 +922.316895 +922.350769 +922.355591 +922.31781 +922.344788 +922.325378 +922.309326 +922.323242 +922.338623 +922.323914 +922.312317 +922.343323 +922.333557 +922.327026 +922.339539 +922.354004 +922.339661 +922.340698 +922.356384 +922.308289 +922.32196 +922.347229 +922.324036 +922.327332 +922.338135 +922.354675 +922.332153 +922.338257 +922.353638 +922.358826 +922.433899 +922.422791 +922.358459 +922.374451 +922.398315 +922.396118 +922.424377 +922.45459 +922.342285 +922.377075 +922.417175 +922.361206 +922.43573 +922.428772 +922.378784 +922.489136 +922.393738 +922.45697 +922.560364 +922.492615 +922.517761 +922.522095 +922.714905 +922.633972 +922.726624 +922.78772 +922.416138 +922.738098 +922.69458 +922.43988 +922.633728 +922.68988 +922.905518 +922.753723 +922.718689 +922.956177 +922.798157 +923.10144 +923.0625 +922.908386 +923.039307 +922.890381 +923.097961 +923.132874 +923.168152 +923.25647 +923.28125 +923.49585 +923.452026 +923.40802 +923.499878 +923.497498 +923.49231 +923.528137 +923.543091 +923.510803 +923.493225 +923.549255 +923.579712 +923.506653 +923.532837 +923.598206 +923.537659 +923.544128 +923.585083 +923.560303 +923.597412 +923.581787 +923.566833 +923.582214 +923.564636 +923.593933 +923.602112 +923.580505 +923.556396 +923.56604 +923.603699 +923.590942 +923.571899 +923.573975 +923.581909 +923.572571 +923.543213 +923.577087 +923.576721 +923.506348 +923.518494 +923.533325 +923.384827 +923.159424 +923.065002 +922.836975 +922.602844 +922.628906 +922.458923 +922.250305 +922.360291 +922.325623 +922.31012 +922.271912 +921.904785 +921.447754 +921.197083 +921.003479 +920.95636 +921.028625 +920.972107 +920.953735 +920.770142 +920.322144 +919.158813 +918.099365 +918.335266 +918.329834 +918.166077 +918.020691 +917.395142 +917.054626 +916.995361 +917.057373 +916.803833 +916.128174 +915.719604 +915.739502 +915.691956 +915.553894 +915.09436 +914.387573 +914.307068 +914.349915 +913.873596 +913.275757 +912.973206 +912.993835 +912.638367 +911.905701 +911.661682 +911.720703 +911.192627 +910.397522 +910.255615 +909.553284 +907.688904 +907.299377 +906.985413 +905.845398 +905.44165 +904.477173 +903.837769 +903.050171 +902.210999 +901.60437 +900.738953 +900.134888 +899.384644 +898.66748 +897.468994 +895.936707 +895.138062 +894.627075 +894.129822 +893.580872 +892.831238 +892.409302 +891.587036 +891.287354 +890.586975 +889.834717 +889.367615 +888.509583 +887.935791 +886.475037 +884.989441 +884.307617 +883.824951 +883.274475 +882.523071 +882.135925 +881.569702 +881.016357 +881.042847 +880.159851 +879.922913 +880.092773 +879.61969 +879.037964 +878.533447 +878.74823 +878.696777 +878.623657 +878.626953 +878.260864 +877.859253 +877.526855 +877.526489 +877.40564 +877.362549 +877.40686 +877.347351 +877.407166 +877.296875 +877.032593 +876.502808 +876.105103 +876.072083 +876.033142 +876.024231 +876.01947 +876.012634 +875.704834 +874.982056 +874.139343 +873.483459 +873.420654 +873.406799 +873.363953 +873.307922 +873.069702 +872.9021 +872.618286 +872.427551 +872.247314 +872.063721 +872.08606 +872.085388 +872.069763 +872.059021 +871.716736 +871.098633 +870.850159 +870.769897 +870.709961 +870.745117 +870.686951 +870.633728 +870.411255 +870.129333 +869.932495 +869.758057 +869.62207 +869.559692 +869.460022 +869.463806 +869.499268 +869.486694 +869.487061 +869.484009 +869.499756 +869.484985 +869.484741 +869.491577 +869.466064 +869.435242 +869.399292 +869.280396 +868.852234 +868.222839 +868.071167 +868.203125 +868.084534 +868.133911 +868.139282 +868.091919 +868.020264 +867.866516 +867.705444 +867.303162 +866.919006 +866.766418 +866.784973 +866.568054 +865.881348 +865.336731 +865.383972 +864.719177 +863.114868 +862.474426 +862.739563 +862.578308 +862.167419 +861.663879 +861.415344 +861.504578 +861.406067 +861.333801 +861.371887 +861.364075 +861.372864 +861.363403 +861.369934 +861.39502 +861.370728 +861.351013 +861.385254 +861.45636 +861.733398 +861.901794 +861.659485 +861.741699 +861.730957 +861.412109 +861.706726 +861.957336 +862.16217 +862.510864 +862.397522 +862.559082 +862.625671 +862.297546 +862.246216 +861.936768 +861.513245 +861.372986 +861.375793 +861.381775 +861.343994 +861.383728 +861.420532 +861.424805 +861.418945 +861.44043 +861.574158 +861.731812 +861.882751 +861.971497 +861.894653 +861.905701 +861.686829 +861.443054 +861.55719 +861.512939 +861.648193 +861.822021 +861.945435 +862.266602 +862.372803 +862.564758 +862.655823 +862.570618 +862.659241 +862.577026 +862.613464 +862.639648 +862.577148 +862.68219 +862.635437 +862.680054 +862.696899 +862.656616 +862.694092 +862.720459 +862.805969 +863.15448 +863.843994 +864.134216 +864.134216 +864.356995 +864.167114 +864.081787 +864.591187 +864.949585 +864.995056 +865.339355 +865.358032 +865.295166 +865.510132 +865.474304 +865.45282 +865.485718 +865.453003 +865.464539 +865.445862 +865.473999 +865.495056 +865.489502 +865.493713 +865.515198 +865.552368 +865.575806 +865.66748 +865.890747 +866.101624 +865.970032 +865.971375 +866.24939 +866.004883 +865.96582 +866.084534 +865.812073 +865.961792 +866.081116 +866.154419 +866.384033 +866.5625 +866.765625 +866.692322 +866.778992 +866.820129 +866.782715 +866.843811 +866.810242 +866.807434 +866.787598 +866.7995 +866.796692 +866.782227 +866.802856 +866.778442 +866.760559 +866.821777 +866.805481 +866.784973 +866.841492 +866.803406 +866.792358 +866.802734 +866.79895 +866.812866 +866.80188 +866.825867 +866.817749 +866.814819 +866.79541 +866.78595 +866.823914 +866.805664 +866.794434 +866.793091 +866.826538 +866.828796 +866.79657 +866.822266 +866.806641 +866.833191 +866.844788 +866.807129 +866.854004 +866.916443 +866.964966 +866.999146 +867.096985 +867.086792 +866.922607 +866.926636 +866.93335 +866.986267 +866.971497 +866.902527 +866.980042 +866.997681 +866.913269 +866.933044 +866.94751 +866.901794 +866.872559 +866.870178 +866.965393 +866.919373 +866.885498 +866.956787 +866.876465 +867.062805 +867.140198 +866.994568 +867.028442 +867.114258 +867.356812 +867.37793 +867.474487 +867.609985 +867.476318 +867.446045 +867.545349 +867.54126 +867.310364 +867.344727 +867.432678 +867.332703 +867.535706 +867.423706 +867.221619 +867.341492 +867.317383 +867.281677 +867.259399 +867.308411 +867.299561 +867.301086 +867.270813 +867.069519 +867.139832 +867.358093 +867.346802 +867.22467 +867.129089 +867.30481 +867.250427 +867.241943 +867.263611 +867.232483 +867.35321 +867.151733 +867.252014 +867.353333 +867.354492 +867.119324 +867.248291 +867.365723 +867.168213 +867.360168 +867.325867 +867.263123 +867.184814 +867.085266 +866.974854 +866.946838 +867.310547 +867.11261 +867.092407 +867.268005 +867.038696 +867.094238 +867.177307 +867.151245 +867.178284 +867.236389 +867.187439 +867.188843 +867.338318 +867.130066 +866.983643 +867.058899 +867.059204 +867.100098 +867.034119 +867.050415 +867.140991 +867.145081 +867.039246 +867.169312 +867.180054 +867.01709 +867.128113 +867.000122 +866.896057 +867.172913 +867.269287 +867.067566 +867.0625 +867.058105 +867.106628 +867.113586 +867.08429 +867.163452 +867.10675 +867.210693 +867.135742 +866.97699 +867.123047 +867.0625 +867.128784 +867.239197 +866.985168 +866.9646 +867.084839 +867.170166 +867.261475 +867.230225 +867.161377 +867.106628 +867.018799 +866.975159 +867.118042 +867.0755 +867.04248 +867.016541 +866.955811 +867.039856 +867.051392 +867.019043 +866.999451 +867.042297 +867.030884 +867.147156 +867.083008 +866.963318 +867.083008 +867.06073 +867.048767 +867.038696 +867.009888 +867.078735 +866.959534 +866.857117 +866.999451 +867.046082 +867.094238 +867.138062 +867.09668 +867.062988 +867.002747 +866.968323 +866.963989 +867.009033 +866.966553 +867.044128 +867.002869 +866.936279 +867.020142 +866.986877 +867.039856 +867.033813 +867.095215 +867.083984 +866.96344 +867.043762 +867.014282 +866.989197 +866.900269 +867.018066 +867.099792 +866.890015 +866.940552 +867.032532 +867.003845 +867.035461 +866.940552 +866.9646 +867.087891 +867.071472 +867.029419 +866.979736 +866.999634 +866.926025 +866.945862 +867.06427 +867.106445 +867.041321 +866.90863 +867.019653 +867.044434 +867.039673 +867.104492 +867.002563 +866.969299 +867.048645 +866.984192 +866.925537 +867.113586 +866.95105 +866.911194 +867.046204 +867.097656 +867.102539 +866.978088 +866.978638 +867.020996 +867.07373 +867.054199 +867.046814 +867.114441 +866.993774 +867.010254 +867.044556 +867.04541 +867.055298 +866.970947 +867.045837 +867.069519 +867.09436 +867.119019 +867.036743 +866.94165 +866.91803 +866.983643 +866.85437 +866.951904 +866.996704 +866.90448 +867.024902 +866.979736 +866.923401 +867.002075 +867.038208 +867.072083 +866.969543 +866.90448 +867.00177 +867.041626 +866.966736 +867.018799 +867.002197 +866.869202 +867.006958 +867.041931 +867.032349 +867.08429 +866.985596 +866.971497 +866.954834 +867.050415 +867.190979 +867.127625 +866.96637 +867.03595 +867.075195 +866.983948 +866.970276 +866.951294 +867.007629 +866.91687 +866.858276 +866.999817 +866.94281 +867.055603 +867.050293 +867.008728 +867.012939 +866.964111 +867.076782 +866.908386 +867.001404 +867.03772 +866.91687 +866.95813 +866.890686 +867.039856 +867.020996 +867.021118 +867.015442 +866.918823 +867.035095 +867.010559 +866.995239 +867.035767 +866.981018 +866.978943 +866.960083 +866.980042 +866.936951 +867.009583 +867.19342 +867.032043 +867.055481 +866.983337 +867.021118 +867.167053 +866.933167 +867.00238 +866.979736 +866.996704 +867.045532 +867.030396 +867.119019 +867.083191 +867.136902 +867.086121 +867.067383 +867.118469 +866.974426 +867.10498 +866.930908 +866.816101 +867.03772 +867.015564 +867.007935 +867.012329 +867.00238 +866.893433 +866.922424 +867.117371 +867.077454 +867.16864 +867.032166 +866.804382 +866.982971 +866.959106 +866.9729 +867.003418 +866.94812 +866.957947 +866.984192 +867.002197 +867.023682 +866.998169 +867.044739 +867.117371 +867.039001 +866.960693 +867.052673 +867.08252 +866.815247 +866.975708 +867.079102 +867.064087 +867.039551 +866.853027 +866.949341 +866.925537 +866.997498 +867.08905 +866.85907 +867.048645 +867.05072 +866.938049 +867.034668 +866.981995 +867.007446 +866.917725 +866.944885 +867.061157 +866.943237 +867.015137 +867.016846 +866.928589 +866.918518 +867.007751 +867.115417 +866.946716 +866.877441 +867.0224 +867.075806 +867.055176 +867.026489 +867.133484 +867.072083 +866.939209 +867.054321 +866.970154 +867.004028 +867.011658 +867.019165 +867.031738 +866.979919 +867.123352 +866.977783 +866.896362 +866.997681 +866.902222 +866.956604 +867.033325 +867.033142 +866.983215 +866.984314 +866.956482 +866.910339 +866.99408 +867.073425 +867.044128 +867.017395 +866.931702 +866.856323 +867.005493 +866.960388 +866.95105 +866.924255 +866.927795 +867.000793 +866.963989 +866.992981 +866.917542 +866.954651 +867.067017 +866.991638 +866.915222 +866.991455 +866.927979 +866.980591 +867.018066 +866.919006 +866.970947 +866.997192 +867.063782 +867.09198 +866.942505 +866.883972 +867.027832 +866.996521 +866.941833 +867.035645 +867.02533 +866.94519 +867.055847 +866.97113 +866.817078 +866.961853 +866.896362 +866.867371 +866.944458 +866.986572 +867.021118 +866.911194 +867.011536 +866.974182 +866.911316 +867.104004 +866.981689 +867.028259 +867.067993 +866.964111 +866.973755 +867.078125 +866.998657 +866.990173 +867.205322 +867.153992 +867.144775 +867.206787 +867.096863 +867.03186 +867.096985 +867.066589 +867.036072 +867.095703 +866.917053 +866.981567 +867.093933 +867.012207 +867.149658 +867.05011 +866.981262 +867.092957 +867.04248 +867.186584 +866.941162 +866.873108 +867.166382 +867.018494 +866.981567 +867.090698 +867.079712 +867.001892 +867.051941 +867.092102 +866.922302 +866.941528 +866.971924 +866.939575 +867.089722 +867.028259 +867.087219 +867.115234 +866.918823 +866.966064 +866.9729 +866.999451 +866.996338 +866.965942 +866.933838 +866.938232 +867.066223 +866.995911 +866.888428 +867.007935 +867.076355 +867.105164 +867.176331 +867.052917 +866.947144 +867.007324 +867.134949 +867.178284 +867.004822 +866.884521 +866.909912 +867.004517 +866.979736 +866.872131 +866.954346 +866.869507 +866.888062 +867.006958 +866.97052 +866.99115 +867.040833 +867.041199 +867.005493 +866.968872 +866.888855 +866.995056 +867.121094 +866.991455 +866.966736 +867.006104 +867.085815 +867.07959 +866.941162 +866.958435 +867.036255 +867.047668 +867.0047 +866.94812 +866.88385 +866.872253 +866.969543 +867.13855 +867.013916 +866.91156 +867.030884 +866.877319 +866.983826 +867.025879 +866.905457 +866.926208 +866.968689 +867.010254 +866.940308 +866.927307 +866.894409 +866.856934 +866.948364 +866.973572 +866.953369 +866.941528 +866.942139 +866.998169 +866.955505 +866.897644 +866.935791 +867.005371 +867.068359 +866.921753 +866.9151 +866.975403 +866.979431 +866.976807 +866.811218 +866.885803 +867.066589 +867.016113 +866.872559 +866.999939 +866.947998 +866.821655 +866.973755 +866.9151 +866.906982 +866.974854 +866.903198 +866.949097 +866.909363 +866.925659 +867.020996 +867.049438 +866.978088 +866.990356 +866.998962 +866.846741 +866.840881 +866.916199 +866.985291 diff --git a/eatit b/eatit index 9de7919..2413225 100755 Binary files a/eatit and b/eatit differ diff --git a/makefile b/makefile index 425e0f6..48d08ed 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ EXE = eatit CCC = g++ OPT = -O3 -Wall -$(EXE) : $(SRC)main.cpp $(SRC)raweat.hpp +$(EXE) : $(SRC)main.cpp $(SRC)raweat.hpp $(SRC)half_precision_floating_point.hpp $(CCC) $(OPT) $< -o $@ clean : diff --git a/src/endian.hpp b/src/endian.hpp new file mode 100644 index 0000000..2054635 --- /dev/null +++ b/src/endian.hpp @@ -0,0 +1,60 @@ +//---------------------------------------------------------------------------// + +#ifndef MY_LITTLE_ENDIAN +#define MY_LITTLE_ENDIAN + +#include + +#define IS_BIG_ENDIAN (*(uint16_t*)"\0\xff" < 0x100) + +//---------------------------------------------------------------------------// + +class endian +{ + +private: + + // endianness + bool little_endian_; + +public: + + // constructor + endian() + { + // check endianness on machine + little_endian_ = get_endian(); + } + + // provide information about little versus big endian architecture + bool get_endian() + { + // declare short (16 bit) integer representing "1" + short int wd = 0x001; + + // get byte pattern of integer + uint8_t *pwd = (uint8_t*)(&wd); + + //for ( int i = 0; i < 2; i ++ ) std::cout< +#include +#include "endian.hpp" + +//---------------------------------------------------------------------------// + +class half_precision_floating_point +{ + +private: + + // size of half precision floating point number in bits + int size_ = 16; + + // construction of the number (binary16) according to IEEE 754-2008 standard + std::bitset<1> sign_; + std::bitset<5> expo_; + std::bitset<10> frac_; + + // endianness of machine/architecture + bool little_endian_; + + // number as single-precision floating point number + float num_; + + // array of bytes representing the number + std::vector numbytes_; + +public: + + // constructors + half_precision_floating_point(std::vector numbytes) : + numbytes_(numbytes) + { + assert( numbytes_.size() == 2 ); + endian endi; + little_endian_ = endi.little_endian(); + assert( little_endian_ && "just don't work on big endian machines!" ); + } + + half_precision_floating_point(float num) : + num_(num) + { + + } + + // destructor + ~half_precision_floating_point() + { + + } + + // assignment operator + half_precision_floating_point& operator=(const half_precision_floating_point& other) + { + if ( this != &other ) + { + size_ = other.size_; + sign_ = other.sign_; + expo_ = other.expo_; + frac_ = other.frac_; + little_endian_ = other.little_endian_; + num_ = other.num_; + numbytes_ = other.numbytes_; + } + + return *this; + } + + + // convert byte pattern to number + void convert_to_float() + { + // declare a single precision floating point number + // float myfloat = 0.0; + + if ( little_endian_ ) + { + + } + + } + + // convert floating point number to bytes + void convert_to_byte() + { + + } + +}; + +#endif + +//---------------------------------------------------------------------------// + diff --git a/src/main.cpp b/src/main.cpp index c394d1f..3d796e1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,13 +9,13 @@ int main(int argc, char* argv[]) { // path of filename provided ? - assert( argc > 1 && "please provide a filename and path" ); + assert( argc > 2 && "please provide a filename and path for input and output" ); std::cout<<"number of CLI-arguments: "<> marks = eatraw.get_markers(); for ( auto mrk: marks ) { @@ -39,13 +42,32 @@ int main(int argc, char* argv[]) std::cout<<"\n"; } - eatraw.convert_data(); + // convert unsigned char data in buffer to desired data type + //eatraw.convert_data(); + eatraw.convert_data_16_bit_float(); - std::vector mydata = eatraw.get_data(); - std::cout<<"\n"< maindata = eatraw.get_data(); + std::cout<<"\nsize of data array: "<(&ab); + for ( int i = 0; i < (int)sizeof(float); i++ ) std::cout< bssc(sc); + for ( int i = 0; i < 8; i++ ) std::cout< #include #include @@ -8,6 +11,9 @@ #include #include +#include "half_precision_floating_point.hpp" +#include "endian.hpp" + //---------------------------------------------------------------------------// class raw_eater @@ -40,6 +46,9 @@ private: // data sections corresponding to markers std::map> datasec_; + // length of data array + unsigned long int datsize_; + // TODO preliminary: for now, we assume 32/64 bit ? floats in all data std::vector datmes_; @@ -61,17 +70,6 @@ public: (std::istreambuf_iterator())); rawdata_ = rawdata; - // show size of buffer - std::cout<<"size of buffer "<>(mrk.first,markseq)); } @@ -198,12 +215,9 @@ public: // convert actual measurement data void convert_data() { - // length of data array - unsigned long int datsize = datasec_["datas marker"].size(); + assert ( (datsize_-28)%4 == 0 && "length of buffer is not a multiple of 4" ); - assert ( (datsize-28)%4 == 0 && "length of buffer is not a multiple of 4" ); - - unsigned long int totnumfl = (datsize-28)/4; + unsigned long int totnumfl = (datsize_-28)/(int)sizeof(float); for ( unsigned long int numfl = 0; numfl < totnumfl; numfl++ ) { // assuming 4 byte float @@ -211,6 +225,8 @@ public: uint8_t* pnum = reinterpret_cast(&num); for ( int byi = 0; byi < (int)sizeof(float); byi++ ) { + // TODO what's the byte order in the file?? + // for now, we just don't care... pnum[byi] = (int)datasec_["datas marker"][(unsigned long int)(28+numfl*sizeof(float)+byi)]; } @@ -219,6 +235,61 @@ public: } } + // convert half-precision (16bit) floating point numbers + void convert_data_16_bit_float() + { + // single (32bit) floating point number + float fl = 0.0; + + unsigned long int totnumby = (datsize_-28)/2; + for ( unsigned long int by = 0; by < totnumby; by++ ) + { + // retrieve two bytes of floating point number + std::vector pnum; + for ( int i = 0; i < 2; i++ ) pnum.push_back(datasec_["datas marker"][(unsigned long int)(28+by*2+i)]); + + // obtain bitset + std::bitset<8> byA(pnum[0]), byB(pnum[1]); + + // TODO all following code only works for little endian!! + + // sign + float sign = byB[0]; + + // exponent of 16bit float + long int expo = 0; + for ( int i = 0; i < 5; i++ ) if ( byB[1+i] ) expo += pow(2.0,4-i); + expo -= 15; + + // convert to exponent of 32bit float + + + // mantissa + + + // declare bitset of float + std::bitset<8> flA(0x00), flB(0x00), flC(0x00), flD(0x00); + + + } + } + + // convert 16bit "decimal-encoding" floating point numbers + void convert_data_16_bit_decimal() + { + //assert ( (datsize_-29)%2 == 0 && "length of buffer is not a multiple of 2" ); + + unsigned long int totnumby = (datsize_-30)/2; + for ( unsigned long int by = 0; by < totnumby; by++ ) + { + std::vector pnum; + for ( int i = 0; i < 2; i++ ) pnum.push_back(datasec_["datas marker"][(unsigned long int)(29+by*2+i)]); + + datmes_.push_back((double)( (((int)pnum[0]-128)*256 + (int)pnum[1])/100.0 )); + + } + } + // get data array encoded as floats/doubles std::vector& get_data() { @@ -226,14 +297,14 @@ public: } // write data to csv-like file - void write_data(std::string filename) + void write_data(std::string filename, int precision = 9) { // open file std::ofstream fout(filename.c_str()); for ( auto el : datmes_ ) { - fout<