e698c1f1bbab1691152743a4516cf574c406e391,functions/LinearSpectralUnmixing.py,LinearSpectralUnmixing,updatePixels,#LinearSpectralUnmixing#Any#Any#Any#,95

Before Change


        outBlockList = []
        // endmember solutions
        if self.applyScaling:
            for endmember in results[0]:
                endmember = endmember.reshape(-1, inBlock.shape[-1])
                endmember.clip(min=0, out=endmember)
                endmember *= (1.0 / endmember.max())

After Change


        else:
            resid = resid.reshape(1, -1, inBlock.shape[-1])  // extra dimension to match shape of endmembers

        outBlocks = np.row_stack((endmembers, resid))   // resid can be either RSS or R2

        // output pixel arrays of endmembers & residuals
        pixelBlocks["output_pixels"] = outBlocks.astype(props["pixelType"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Esri/raster-functions
Commit Name: e698c1f1bbab1691152743a4516cf574c406e391
Time: 2015-02-11
Author: jwasilkowski@esri.com
File Name: functions/LinearSpectralUnmixing.py
Class Name: LinearSpectralUnmixing
Method Name: updatePixels


Project Name: dmbee/seglearn
Commit Name: 56fb5f5ecfdaafc57b67db632004c6272f068e2e
Time: 2018-03-08
Author: david.mo.burns@gmail.com
File Name: seglearn/util.py
Class Name:
Method Name: check_ts_data


Project Name: matplotlib/matplotlib
Commit Name: a3a0c6725bb856e930eda4bc9174b1d6b7cbc27c
Time: 2020-01-07
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/contour.py
Class Name: ContourLabeler
Method Name: labels