c47cbed3d69e36b5f3aa3e76e1cac73224e7ddac,starry/map/pybase.py,PythonMapBase,render,#PythonMapBase#Any#Any#Any#Any#,19

Before Change



            // Compute the northern hemisphere map
            if self._spectral:
                Z_north = np.array([np.dot(X, self.y[:, n]).reshape(res // 2, res) 
                                    for n in range(self.nw)])
            else:
                Z_north = np.dot(X, self.y).reshape(nframes, res // 2, res)

After Change


            Z_north = np.array(self.intensity(x=x, y=y, **model_kwargs))
            if self._spectral:
                Z_north = Z_north.reshape(res // 2, res, self.nw)
                Z_north = np.moveaxis(Z_north, -1, 0)
            else:
                Z_north = Z_north.reshape(nframes, res // 2, res)

            // Flip the planet around
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: rodluger/starry
Commit Name: c47cbed3d69e36b5f3aa3e76e1cac73224e7ddac
Time: 2019-04-08
Author: rodluger@gmail.com
File Name: starry/map/pybase.py
Class Name: PythonMapBase
Method Name: render


Project Name: analysiscenter/batchflow
Commit Name: 7b73126c102ca24e60f1284841218112109e3fec
Time: 2019-08-26
Author: nikita_007_94@mail.ru
File Name: batchflow/batch_image.py
Class Name: ImagesBatch
Method Name: _to_array_


Project Name: pymc-devs/pymc3
Commit Name: 8d9d3d82571371c5ef5cfa03717291ca623279f9
Time: 2019-02-26
Author: luciano.paz.neuro@gmail.com
File Name: pymc3/distributions/discrete.py
Class Name: Categorical
Method Name: logp