Comments (4)
I can take a look at it.
Could you, please, attach the sample file here? Or try it with smaller sample with few seconds of data and if it behaves the same, share the smaller file here (to not expose your whole data file), please.
from gazetoolkit.
I tried it with sample of my data recorded with Tobii TX-300 (300Hz frequency). I attach files with timestamps both in microsecond ticks and date string. I use the same command as you and I get the desired output:
Input files:
Commands for each file:
# with timestamps in microsecond ticks format
i-vt.exe input_ticks-us.csv --format CSV --timestamp-format ticks:us --fillin --select Average --denoise --denoise-alpha 0.3 --frequency 300 --threshold 30 --merge --merge-max-gap 75 --discard --discard-min-duration 60 --output-format CSV --output output.csv
# with timestamps in date format
i-vt.exe input_date.csv --format CSV --timestamp-format date --fillin --select Average --denoise --denoise-alpha 0.3 --frequency 300 --threshold 30 --merge --merge-max-gap 75 --discard --discard-min-duration 60 --output-format CSV --output output.csv
Contents of the output.csv
for input_ticks-us.csv:
Timestamp,MovementType,Duration,AverageGazePoint2DX,AverageGazePoint2DY,AverageGazePoint3DX,AverageGazePoint3DY,AverageGazePoint3DZ,AverageEyePosition3DX,AverageEyePosition3DY,AverageEyePosition3DZ,AveragePupilDiameter
63665708848005210,Fixation,2554.597,0.103680339429494,0.0941844370227761,-203.629041780781,279.632641473214,99.8095474757076,-4.71131461528727,-33.8008176905819,716.311789893637,5.84596384810406
63665708850559807,Saccade,23.338,,,,,,,,,
63665708850583145,Unknown,23.335,,,,,,,,,
63665708850606480,Saccade,16.657,,,,,,,,,
63665708850623137,Fixation,493.25,0.094186489905852,0.0736467710294352,-208.506982085741,285.151113172496,102.046920487909,-4.00790992971969,-33.864278925102,715.691972009477,5.9727451221363
63665708851116387,Saccade,36.67,,,,,,,,,
63665708851153057,Fixation,219.966,0.105584509578021,0.21466137756897,-202.650678411805,247.260489271711,86.6847894288956,-3.74999011040187,-34.404844331504,715.135778873439,5.81960608742454
63665708851373023,Saccade,49.99,,,,,,,,,
63665708851423013,Unknown,39.995,,,,,,,,,
63665708851463008,Saccade,6.612,,,,,,,,,
63665708851469620,Unknown,13.387,,,,,,,,,
63665708851483007,Saccade,6.665,,,,,,,,,
63665708851489672,Unknown,1.672,,,,,,,,,
Do you have data recorded with 300Hz frequency? Because you set the data frequency to that value with argument --frequency 300
.
from gazetoolkit.
Thanks a lot for quick reply. I checked your example in my system and it works well. I found out my mistake. I did not recognize that my timestamps are constant. Now, it is sorted out, I corrected it and found the and able to obtain fixations.
fixationIVT.csv
Once again Thanks
from gazetoolkit.
I am glad you sorted it out. Yes, the timestamps are needed.
from gazetoolkit.
Related Issues (8)
- Update project readme and Wiki with the description of input/output data format HOT 1
- Filter log messages are written to standard output instead of error stream
- Example input data format throws errors HOT 4
- Add support for "nan" values in CSV files generated in Python for "not a number"
- input data format HOT 3
- Add argument option to include/exclude aggregated samples in the EyeMovement JSON output
- Add CSV read/write converters for all data types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gazetoolkit.