Thanks to visit codestin.com
Credit goes to github.com

Skip to content

power_deviation_matrix_configuration.py getBin does not use binning.Bins Class #200

@Speters1086

Description

@Speters1086

This is inconsistent with the Binning Class structure and is confusing.

def getBin(self, dimension, value): return round(round((value - dimension.centerOfFirstBin) / dimension.binWidth, 0) * dimension.binWidth + dimension.centerOfFirstBin, 4)

This should use the binning.Bins Class.

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