Validation Status of DataLab#
Functional validation#
In DataLab, functional validation is based on a classic test strategy (see Functional validation).
Test coverage is around 90%, with more than 200 tests.
Technical validation#
This paragraph provides the validation status of compute functions in DataLab (this is what we call technical validation, see Technical Validation).
Note
This is a work in progress: the tables below are updated continuously as new functions are validated or test code is adapted (the tables are generated from the test code). Some functions are already validated but do not appear in the list below yet, while others are still in the validation process.
Warning
The validation status must not be confused with the test coverage. The validation status indicates whether the function has been validated against ground-truth data or analytical models. The test coverage indicates the percentage of the code that is executed by the test suite, but it does not necessarily take into account the correctness of the results (DataLab’s test coverage is around 90%).
Category |
Signal |
Image |
Total |
|---|---|---|---|
Number of compute functions |
96 |
115 |
211 |
Number of validated compute functions |
96 |
115 |
211 |
Percentage of validated compute functions |
100% |
100% |
100% |
Signal Compute Functions#
The table below shows the validation status of signal compute functions in DataLab. It is automatically generated from the source code.
Compute function |
Description |
Test function |
|---|---|---|
|
Compute absolute value with |
|
|
Add normal noise to the input signal |
|
|
Add Poisson noise to the input signal |
|
|
Add uniform noise to the input signal |
|
|
Compute the element-wise sum of multiple signals |
|
|
Compute the sum of a signal and a constant value |
|
|
Compute Allan deviation |
|
|
Compute Allan variance |
|
|
Compute windowing |
|
|
Perform an arithmetic operation on two signals |
|
|
Convert data type |
|
|
Compute the element-wise average of multiple signals |
|
|
Compute band-pass filter |
|
|
Compute band-stop filter |
|
|
Compute bandwidth at -3 dB |
|
|
Compute linear calibration |
|
|
Compute CDF fit |
|
|
Compute maximum data clipping |
|
|
Combine magnitude and phase signals into a complex signal |
|
|
Combine two real signals into a complex signal using real + i * imag |
|
|
Compute contrast |
|
|
Compute convolution of two signals |
|
|
Compute deconvolution |
|
|
Compute derivative |
|
|
Detrend data |
|
|
Compute the element-wise difference between two signals |
|
|
Compute the difference between a signal and a constant value |
|
|
Compute the element-wise division between two signals |
|
|
Compute the division of a signal by a constant value |
|
|
Compute Dynamic parameters |
|
|
Evaluate fit function from src1 on the x-axis of src2 |
|
|
Compute exponential with |
|
|
Compute exponential fit |
|
|
Extract pulse features |
|
|
Extract single region of interest from data |
|
|
Extract multiple regions of interest from data |
|
|
Compute FFT |
|
|
||
|
Compute FW at 1/e² |
|
|
Compute FWHM |
|
|
Compute gaussian filter |
|
|
Compute Gaussian fit |
|
|
Compute Hadamard variance |
|
|
Compute high-pass filter |
|
|
Compute histogram |
|
|
Compute the inverse FFT |
|
|
Compute imaginary part |
|
|
Compute integral |
|
|
Interpolate data |
|
|
Compute the element-wise inverse of a signal |
|
|
Compute linear fit |
|
|
Compute Log10 with |
|
|
Compute Lorentzian fit |
|
|
Compute low-pass filter |
|
|
Compute magnitude spectrum |
|
|
Compute Modified Allan variance |
|
|
Compute moving average |
|
|
Compute moving median |
|
|
Normalize data |
|
|
Correct offset: subtract the mean value of the signal in the specified range |
|
|
Compute Overlapping Allan variance |
|
|
Peak detection |
|
|
Compute the phase (argument) of a complex signal |
|
|
Compute phase spectrum |
|
|
Compute piecewise exponential fit (raise-decay) |
|
|
Compute Planckian fit |
|
|
Compute polynomial fit |
|
|
Compute power with |
|
|
Compute the element-wise product of multiple signals |
|
|
Compute the product of a signal and a constant value |
|
|
Compute power spectral density |
|
|
Compute the normalized difference between two signals |
|
|
Compute real part |
|
|
Create a new signal using Y from src1 and Y from src2 as X coordinates |
|
|
Resample data |
|
|
Reverse x-axis |
|
|
Compute sampling rate and period |
|
|
Compute sigmoid fit |
|
|
Combine multiple signals into an image |
|
|
Compute sinusoidal fit |
|
|
Compute square root with |
|
|
Compute the element-wise standard deviation of multiple signals |
|
|
Compute statistics on a signal |
|
|
Compute Time Deviation (TDEV) |
|
|
Convert polar coordinates to Cartesian coordinates |
|
|
Convert Cartesian coordinates to polar coordinates |
|
|
Compute Total variance |
|
|
Transpose signal (swap X and Y axes) |
|
|
Compute two-half-Gaussian fit |
|
|
Compute Voigt fit |
|
|
Compute Wiener filter |
|
|
||
|
||
|
Simulate the X-Y mode of an oscilloscope |
|
|
||
|
Compute zero padding |
Image Compute Functions#
The table below shows the validation status of image compute functions in DataLab. It is automatically generated from the source code.
Compute function |
Description |
Test function |
|---|---|---|
|
Compute absolute value with |
|
|
Add Gaussian (normal) noise to the input image |
|
|
Add Poisson noise to the input image |
|
|
Add uniform noise to the input image |
|
|
Add images in the list and return the result image object |
|
|
Add dst and a constant value and return the new result image object |
|
|
Gamma correction |
|
|
Compute log correction |
|
|
Compute sigmoid correction |
|
|
Compute arithmetic operation on two images |
|
|
Convert image data type |
|
|
Compute the average of images in the list and return the result image object |
|
|
Compute horizontal or vertical average profile |
|
|
Binning: image pixel binning (or aggregation) |
|
|
Compute Black Top-Hat |
|
|
Compute blobs using Difference of Gaussian method |
|
|
Compute blobs using Determinant of Hessian method |
|
|
Compute blobs using Laplacian of Gaussian method |
|
|
Compute blobs using OpenCV |
|
|
Compute Butterworth filter |
|
|
Compute polynomial calibration |
|
|
Compute Canny filter |
|
|
Compute centroid |
|
|
Apply clipping |
|
|
Compute morphological closing |
|
|
Combine magnitude and phase images into a complex image |
|
|
Combine two real images into a complex image using real + i * imag |
|
|
Compute contour shape |
|
|
Convolve an image with a kernel |
|
|
Deconvolve a kernel from an image using Fast Fourier Transform (FFT) |
|
|
Compute bilateral filter denoising |
|
|
Denoise using White Top-Hat |
|
|
Compute Total Variation denoising |
|
|
Compute Wavelet denoising |
|
|
Compute difference between two images |
|
|
Subtract a constant value from an image and return the new result image object |
|
|
Compute Dilation |
|
|
Compute division between two images |
|
|
Divide an image by a constant value and return the new result image object |
|
|
Compute minimum enclosing circle |
|
|
Adaptive histogram equalization |
|
|
Histogram equalization |
|
|
Erase an area of the image using the mean value of the image |
|
|
Compute Erosion |
|
|
Compute exponential with |
|
|
Extract single ROI |
|
|
Extract multiple regions of interest from data |
|
|
Compute Farid filter |
|
|
Compute horizontal Farid filter |
|
|
Compute vertical Farid filter |
|
|
Compute FFT |
|
|
Compute flat field correction |
|
|
Flip data horizontally |
|
|
Flip data vertically |
|
|
Compute gaussian filter |
|
|
Apply a Gaussian filter in the frequency domain |
|
|
Compute histogram of the image data, |
|
|
Compute the sum of pixel intensities along each col. (projection on the x-axis) |
|
|
Compute Hough circles |
|
|
Compute inverse FFT |
|
|
Compute imaginary part |
|
|
Compute the inverse of an image and return the new result image object |
|
|
Compute Laplace filter |
|
|
Compute horizontal or vertical profile |
|
|
Compute log10 with |
|
|
Compute log10(z+n) with |
|
|
Compute magnitude spectrum |
|
|
Compute moving average |
|
|
Compute moving median |
|
|
||
|
Apply offset correction |
|
|
Compute morphological opening |
|
|
Compute 2D peak detection |
|
|
Compute the phase (argument) of a complex image |
|
|
Compute phase spectrum |
|
|
Compute Prewitt filter |
|
|
Compute horizontal Prewitt filter |
|
|
Compute vertical Prewitt filter |
|
|
Multiply images in the list and return the result image object |
|
|
Multiply dst by a constant value and return the new result image object |
|
|
Compute power spectral density |
|
|
Compute quadratic difference between two images |
|
|
Compute radial profile around the centroid |
|
|
Compute real part |
|
|
Resample image to new coordinate grid using interpolation |
|
|
Rescale image intensity levels |
|
|
Zooming function |
|
|
Compute Roberts filter |
|
|
Rotate data |
|
|
Rotate data 270° |
|
|
Rotate data 90° |
|
|
Compute Scharr filter |
|
|
Compute horizontal Scharr filter |
|
|
Compute vertical Scharr filter |
|
|
Compute segment profile |
|
|
Convert image to uniform coordinate system |
|
|
Compute Sobel filter |
|
|
Compute horizontal Sobel filter |
|
|
Compute vertical Sobel filter |
|
|
Compute the element-wise standard deviation of multiple images |
|
|
Compute statistics on an image |
|
|
Compute the threshold, using one of the available algorithms |
|
|
Compute the threshold using the Isodata algorithm with default parameters |
|
|
Compute the threshold using the Li algorithm with default parameters |
|
|
Compute the threshold using the Mean algorithm |
|
|
Compute the threshold using the Minimum algorithm with default parameters |
|
|
Compute the threshold using the Otsu algorithm with default parameters |
|
|
Compute the threshold using the Triangle algorithm with default parameters |
|
|
Compute the threshold using the Yen algorithm with default parameters |
|
|
Translate data |
|
|
Transpose image |
|
|
Compute the sum of pixel intensities along each row (projection on the y-axis) |
|
|
Compute White Top-Hat |
|
|
Compute Wiener filter |
|
|
Zero-padding: add zeros to image borders |