Exemplo n.º 1
0
def test_iterative_avg():
    """Test iterative avg of maps."""
    avg, _ = maps.iterative_smooth_avg_var(compute_var=False, sigma=sigma, bias=False)
    return plotting.plot_activity_map(avg.to_img())
Exemplo n.º 2
0
def test_iterative_avg_var_1():
    """Test iterative avg of maps."""
    return plotting.plot_activity_map(avg.to_img())
Exemplo n.º 3
0
def test_avg():
    """Test avg of maps."""
    avg = maps.avg()
    return plotting.plot_activity_map(avg.to_img())
Exemplo n.º 4
0
def test_var():
    """Test var of maps."""
    var = maps.var()
    return plotting.plot_activity_map(var.to_img())
Exemplo n.º 5
0
def test_iterative_avg_var_thresholded_1_dense():
    """Test iterative avg of dense maps thresholded."""
    return plotting.plot_activity_map(avg_dense.to_img(), threshold=0.0007)
Exemplo n.º 6
0
def test_iterative_avg_var_thresholded_1_biased():
    """Test iterative biased avg of maps thresholded."""
    return plotting.plot_activity_map(avg_biased.to_img(), threshold=0.0007)
Exemplo n.º 7
0
def test_atlas_iterative_avg_var_thresholded_1():
    """Test iterative avg of maps on atlas."""
    return plotting.plot_activity_map(avg_atlas.to_img_atlas(ignore_bg=True), threshold=0.0007)
Exemplo n.º 8
0
def test_iterative_avg_var_thresholded_2():
    """Test iterative var thresholded of maps."""
    return plotting.plot_activity_map(var.to_img(), threshold=0.00002)
Exemplo n.º 9
0
def test_atlas_var():
    """Test var of maps on atlas."""
    var = maps_atlas.var()
    return plotting.plot_activity_map(var.to_img_atlas(ignore_bg=True))
Exemplo n.º 10
0
def test_atlas_iterative_avg():
    """Test iterative avg of maps on atlas."""
    avg, _ = maps_atlas.iterative_smooth_avg_var(compute_var=False, sigma=sigma, bias=False)
    return plotting.plot_activity_map(avg.to_img_atlas(ignore_bg=True))
Exemplo n.º 11
0
def test_atlas_avg():
    """Test avg of maps on atlas."""
    avg = maps_atlas.avg()
    return plotting.plot_activity_map(avg.to_img_atlas(ignore_bg=True))
Exemplo n.º 12
0
def test_atlas_sum():
    """Test sum of maps on atlas."""
    sum = maps_atlas.summed_map()
    return plotting.plot_activity_map(sum.to_img_atlas(ignore_bg=True))
Exemplo n.º 13
0
def test_iterative_avg_var_1_dense_biased():
    """Test iterative biased avg of dense maps."""
    return plotting.plot_activity_map(avg_dense_biased.to_img())
Exemplo n.º 14
0
def test_iterative_avg_var_2():
    """Test iterative var of maps."""
    return plotting.plot_activity_map(var.to_img())
Exemplo n.º 15
0
def test_atlas_iterative_avg_var_2_biased():
    """Test iterative biased var of maps on atlas."""
    return plotting.plot_activity_map(var_atlas_biased.to_img_atlas(ignore_bg=True))
Exemplo n.º 16
0
def test_iterative_avg_var_thresholded_1():
    """Test iterative avg thresholded of maps."""
    return plotting.plot_activity_map(avg.to_img(), threshold=0.0007)
Exemplo n.º 17
0
def test_atlas_iterative_avg_var_thresholded_2_biased():
    """Test thresholded iterative var of maps on atlas."""
    return plotting.plot_activity_map(var_atlas_biased.to_img_atlas(ignore_bg=True), threshold=0.00002)
Exemplo n.º 18
0
def test_iterative_avg_var_2_dense():
    """Test iterative var of dense maps."""
    return plotting.plot_activity_map(var_dense.to_img())
Exemplo n.º 19
0
def test_sum():
    """Test sum of maps."""
    sum = maps.summed_map()
    return plotting.plot_activity_map(sum.to_img())
Exemplo n.º 20
0
def test_iterative_avg_var_thresholded_2_dense():
    """Test iterative var of maps thresholded."""
    return plotting.plot_activity_map(var_dense.to_img(), threshold=0.00002)
Exemplo n.º 21
0
def test_iterative_avg_var_2_biased():
    """Test iterative biased var of maps."""
    return plotting.plot_activity_map(var_biased.to_img())