3fd88bb3e4ae6541f75810884ba20ebec3858bcf,tests/test_evaluation.py,,run,#Any#,41

Before Change


    lmax = 2
    map = Map(lmax)
    map.axis = [0, 1, 0]
    map.y = np.ones(map.N)

    // No arguments
    I = map.evaluate()
    assert np.allclose(I, 1.4014804341818383)

After Change


    Compare the map evaluation to some benchmarks.
    // Instantiate
    lmax = 2
    map = Map(lmax)
    map.axis = [0, 1, 0]
    map[:, :] = 1

    // No arguments
    I = map.evaluate()
    assert np.allclose(I, 1.4014804341818383)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 7

Instances


Project Name: rodluger/starry
Commit Name: 3fd88bb3e4ae6541f75810884ba20ebec3858bcf
Time: 2018-08-16
Author: rodluger@gmail.com
File Name: tests/test_evaluation.py
Class Name:
Method Name: run


Project Name: rodluger/starry
Commit Name: 3fd88bb3e4ae6541f75810884ba20ebec3858bcf
Time: 2018-08-16
Author: rodluger@gmail.com
File Name: tests/test_rotation.py
Class Name:
Method Name: run


Project Name: rodluger/starry
Commit Name: 3fd88bb3e4ae6541f75810884ba20ebec3858bcf
Time: 2018-08-16
Author: rodluger@gmail.com
File Name: tests/test_evaluation.py
Class Name:
Method Name: run


Project Name: rodluger/starry
Commit Name: 3fd88bb3e4ae6541f75810884ba20ebec3858bcf
Time: 2018-08-16
Author: rodluger@gmail.com
File Name: tests/test_compare_to_v1.py
Class Name:
Method Name: test_transit


Project Name: rodluger/starry
Commit Name: 3fd88bb3e4ae6541f75810884ba20ebec3858bcf
Time: 2018-08-16
Author: rodluger@gmail.com
File Name: tests/test_compare_to_v1.py
Class Name:
Method Name: test_gradient


Project Name: rodluger/starry
Commit Name: 3fd88bb3e4ae6541f75810884ba20ebec3858bcf
Time: 2018-08-16
Author: rodluger@gmail.com
File Name: tests/test_evaluation.py
Class Name:
Method Name: run_with_gradients