Skip to content

Incorrect warning "Warning: matrix is not full rank" #8

@Nanne

Description

@Nanne

In steer2HarmMtx.py numpy.rank() is used to get the matrix rank. However, this function is deprecated and replaced by the .ndim attribute, because numpy.rank() did not return the matrix rank, but the number of dimensions.

Instead the numpy.linalg.matrix_rank() should be used to obtain the matrix rank.

The same also goes for the use of numpy.rank() in pyPyrUtils.py

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