Skip to content

classify_idt function results in NANs and can't continue #1

@thomasgoodge

Description

@thomasgoodge

Hi,

I'm trying to classify fixations in some eye tracking data from the HoloLens using the classify_idt function but I'm running into an error.

Warning: NaNs producedError in if (idt_angleDeg > dispersion_threshold) { : missing value where TRUE/FALSE needed

with the warning

In addition: Warning message: In acos(idt_scalar/(idt_iVector_length * idt_jVector_length)) : NaNs produced

I am looping through a series of data frames and this only happens for some of my data files and not others. I have gone through the ones that worked and the ones that didn't and can't see where the difference is or why it would not be able to calculate the idt_angleDeg. Any help you could offer would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions