e99414f3ea4021ce2816b44b7db75f42bbb34b41,starry/ops/ops.py,OpsReflected,X,#OpsReflected#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,460

Before Change


        // Throw error if there"s an occultation
        raise_error_if = RaiseValuerErrorIfOp(
                "Occultations in reflected light not yet implemented.")
        theta += raise_error_if(tt.gt(i_occ.size, 0))

        // Compute the semi-minor axis of the terminator
        // and the reflectance integrals
        source /= tt.reshape(source.norm(2, axis=1), [-1, 1])

After Change


            tt.zeros_like(norm),
            source[:, 0] * norm
        )
        theta_z = tt.arctan2(source[:, 0], source[:, 1])
        rTA1Rz = self.dotRz(rTA1, theta_z)

        // Apply limb darkening?
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rodluger/starry
Commit Name: e99414f3ea4021ce2816b44b7db75f42bbb34b41
Time: 2019-06-01
Author: rodluger@gmail.com
File Name: starry/ops/ops.py
Class Name: OpsReflected
Method Name: X


Project Name: pymc-devs/pymc3
Commit Name: ed8b1ddce1667f924af4e2e860a88af76271a3c7
Time: 2018-06-26
Author: junpeng.lao@unifr.ch
File Name: pymc3/distributions/continuous.py
Class Name: Pareto
Method Name: __init__


Project Name: jadore801120/attention-is-all-you-need-pytorch
Commit Name: 44402746c2bc970ce1d813e70494f48a98bf54b3
Time: 2018-08-23
Author: yhhuang@nlg.csie.ntu.edu.tw
File Name: transformer/Models.py
Class Name: Decoder
Method Name: forward