Example #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())
Example #2
0
def test_iterative_avg_var_1():
    """Test iterative avg of maps."""
    return plotting.plot_activity_map(avg.to_img())
Example #3
0
def test_avg():
    """Test avg of maps."""
    avg = maps.avg()
    return plotting.plot_activity_map(avg.to_img())
Example #4
0
def test_var():
    """Test var of maps."""
    var = maps.var()
    return plotting.plot_activity_map(var.to_img())
Example #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)
Example #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)
Example #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)
Example #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)
Example #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))
Example #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))
Example #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))
Example #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))
Example #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())
Example #14
0
def test_iterative_avg_var_2():
    """Test iterative var of maps."""
    return plotting.plot_activity_map(var.to_img())
Example #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))
Example #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)
Example #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)
Example #18
0
def test_iterative_avg_var_2_dense():
    """Test iterative var of dense maps."""
    return plotting.plot_activity_map(var_dense.to_img())
Example #19
0
def test_sum():
    """Test sum of maps."""
    sum = maps.summed_map()
    return plotting.plot_activity_map(sum.to_img())
Example #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)
Example #21
0
def test_iterative_avg_var_2_biased():
    """Test iterative biased var of maps."""
    return plotting.plot_activity_map(var_biased.to_img())