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

@@ -1268,16 +1268,16 @@
Loading
1268 1268
1269 1269
def get_four_time_from_two_time(g12, g2, frames=None):
1270 1270
    """
1271 -
    Get four-time correlation function from two correlation function
1272 -
    namely, calculate the deviation of each diag line of g12 to get four-time correlation fucntion
1273 -
    TOBEDONE: deal with bad frames
1271 +
    Get four-time correlation function from two correlation function.
1272 +
    Namely, calculate the deviation of each diag line of g12 to get four-time correlation function
1273 +
    TODO: deal with bad frames
1274 1274
1275 1275
    Parameters
1276 1276
    ----------
1277 1277
    g12: 3-D array
1278 -
        two correlation function, shape as ( num_rois, imgs_length, imgs_length)
1279 -
    g2: a 2-D array, shape as ( num_rois, imgs_length), or (num_rois, tau)
1280 -
        one-time correlation fucntion, for normalization of the four-time
1278 +
        two correlation function, shape as (num_rois, imgs_length, imgs_length)
1279 +
    g2: a 2-D array, shape as (num_rois, imgs_length), or (num_rois, tau)
1280 +
        one-time correlation function, for normalization of the four-time
1281 1281
    frames: if not None, a tulpe (start, finish)
1282 1282
1283 1283
    Returns
@@ -1287,8 +1287,8 @@
Loading
1287 1287
1288 1288
    Examples
1289 1289
    --------
1290 -
    >>> s1, s2 = 0, 2000
1291 -
    >>> g4 = get_four_time_from_two_time( g12bm, g2b, roi=[s1,s2,s1,s2] )
1290 +
    >>> t1, t2 = 0, 2000
1291 +
    >>> g4 = get_four_time_from_two_time( g12bm, g2b, frames=(t1,t2) )
1292 1292
1293 1293
    """
1294 1294
    # preallocate the array
Files Coverage
skbeam 90.95%
Project Totals (68 files) 90.95%
2138.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