Skip to content

Wrong function "get_heterogeneous_map" #8

@Pan-Yuxian

Description

@Pan-Yuxian

Hi!
I just found the function "get_heterogeneous_map" in SVD.py is the same as "get_homogeneous_map", which looks like a typo:
In the function "get_heterogeneous_map", it should be:

pattern_left = LinReg(pc_right1, self._data[0]).slope 
pattern_right = LinReg(pc_left1, self._data[1]).slope

not

pattern_left = LinReg(pc_left1, self._data[0]).slope
pattern_right = LinReg(pc_right1, self._data[1]).slope

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