0af9913136dfc6f6907ea80fcdb6dabf42dec222,starry/Map/Map.py,Map,flux,#Map#Any#Any#Any#,19
Before Change
sTA = ts.dot(sT, A)
theta = tt.arctan2(xo, yo) * 180.0 / np.pi
sTARz = self._ops.dotRz(sTA, theta)
return tt.dot(sTARz, self.y)
After Change
def flux(self, xo, yo, ro):
b = tt.sqrt(xo ** 2 + yo ** 2)
theta_z = tt.arctan2(xo, yo) * (180.0 / np.pi)
sT = self._ops.sT(b, ro)
A = self._ops.A
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rodluger/starry
Commit Name: 0af9913136dfc6f6907ea80fcdb6dabf42dec222
Time: 2019-05-14
Author: rodluger@gmail.com
File Name: starry/Map/Map.py
Class Name: Map
Method Name: flux
Project Name: matplotlib/matplotlib
Commit Name: 0c96f777589b3f809f1633a735e295e85af8a239
Time: 2019-03-22
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py
Class Name: FloatingAxisArtistHelper
Method Name: get_axislabel_pos_angle
Project Name: rodluger/starry
Commit Name: 9232c73a83b17333a967ffd83ae25b9b44f83997
Time: 2019-05-20
Author: rodluger@gmail.com
File Name: starry/ops/ops.py
Class Name: Ops
Method Name: X