2c2517d5a032695b3ccd059ef7927668da6c5a49,starry/Map/Map.py,Map,X,#Map#,118
Before Change
if evaluate:
return X.eval()
else:
return X
def flux(self, *args, **kwargs):
Compute and return the light curve.
After Change
zo = kwargs.pop("zo", 1.0)
ro = kwargs.pop("ro", 0.0)
theta, xo, yo, zo = vectorize(theta, xo, yo, zo)
theta, xo, yo, zo, ro = to_tensor(theta, xo, yo, zo, ro)
// Compute & return
return self.ops.X(theta, xo, yo, zo, ro, self.inc, self.obl, self.u)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: rodluger/starry
Commit Name: 2c2517d5a032695b3ccd059ef7927668da6c5a49
Time: 2019-05-20
Author: rodluger@gmail.com
File Name: starry/Map/Map.py
Class Name: Map
Method Name: X
Project Name: rodluger/starry
Commit Name: d2b0d46910e521ea0969b364fba7810273991c04
Time: 2019-05-16
Author: rodluger@gmail.com
File Name: starry/Map/Map.py
Class Name: Map
Method Name: flux
Project Name: pyprob/pyprob
Commit Name: 1c758ba9d6c14d9b9d3599e44c3508e2692d8d35
Time: 2018-09-28
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/distributions/empirical.py
Class Name: Empirical
Method Name: expectation
Project Name: pyprob/pyprob
Commit Name: 9136c548fce88f99d05b65ed1ae396dee5bc5a76
Time: 2018-09-19
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/state.py
Class Name:
Method Name: observe