scikit-beam / scikit-beam
Showing 1 of 1 files from the diff.

@@ -68,8 +68,8 @@
Loading
68 68
    rois = np.zeros_like(img_stack[0])
69 69
    # make sure that the ROIs can be any integers greater than 1.
70 70
    # They do not have to start at 1 and be continuous
71 -
    rois[0 : xdim // 10, 0 : ydim // 10] = 5
72 -
    rois[xdim // 10 : xdim // 5, ydim // 10 : ydim // 5] = 3
71 +
    rois[0: xdim // 10, 0: ydim // 10] = 5
72 +
    rois[xdim // 10: xdim // 5, ydim // 10: ydim // 5] = 3
73 73
74 74
75 75
def test_lazy_vs_original():
@@ -121,7 +121,7 @@
Loading
121 121
    # first half
122 122
    gen_second_half = lazy_two_time(
123 123
        rois,
124 -
        img_stack[stack_size // 2 :],
124 +
        img_stack[stack_size // 2:],
125 125
        stack_size,
126 126
        num_bufs=stack_size,
127 127
        num_levels=1,
@@ -155,7 +155,7 @@
Loading
155 155
    # run the correlation on the second half by passing in the state from the
156 156
    # first half
157 157
    gen_second_half = lazy_one_time(
158 -
        img_stack[stack_size // 2 :],
158 +
        img_stack[stack_size // 2:],
159 159
        num_levels,
160 160
        num_bufs,
161 161
        rois,
@@ -222,8 +222,8 @@
Loading
222 222
    roi = np.zeros_like(imgs[0])
223 223
    # make sure that the ROIs can be any integers greater than 1.
224 224
    # They do not have to start at 1 and be continuous
225 -
    roi[0 : x_dim // 5, 0 : y_dim // 10] = 5
226 -
    roi[x_dim // 10 : x_dim // 5 + 1, y_dim // 10 : y_dim // 5] = 3
225 +
    roi[0: x_dim // 5, 0: y_dim // 10] = 5
226 +
    roi[x_dim // 10: x_dim // 5 + 1, y_dim // 10: y_dim // 5] = 3
227 227
228 228
    g2, lag_steps, _state = two_time_corr(roi, imgs, stack, num_buf, num_lev)
229 229
    g2_t, _ = multi_tau_auto_corr(num_lev, num_buf, roi, imgs)
Files Coverage
skbeam 90.95%
Project Totals (69 files) 90.95%
2151.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading