Skip to content

Modification in Hjorth mobility and complexity #28

@Nine-s

Description

@Nine-s

Hello, first thank you for this module!
For the calculation of Hjorth mobility and complexity, I got NaN returned.
It was because I was working with big numbers, TP has became negative and as a sqrt function is applied later on, the calculation was impossible.
I have solved the problem by adding "dtype = object" when declaring numpy array so I have enough space to store those numbers.
I hope it will help some poeple running this code!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions