pyIntensityFeatures.tests.test_utils_grids

Tests for functions in utils.grids.

Classes

TestGridUniq

Tests for local unique function.

TestGridIntensity

Tests for grid_intensity.

Module Contents

class pyIntensityFeatures.tests.test_utils_grids.TestGridUniq(methodName='runTest')[source]

Bases: unittest.TestCase

Tests for local unique function.

setUp()[source]

Set up the test runs.

tearDown()[source]

Tear down the test environment.

test_unique_decimal()[source]

Test that unique yeilds the correct number of values.

test_unique_equal_nan()[source]

Test that unique allows use of equal_nan kwarg.

test_unique_axis()[source]

Test that unique allows use of axis kwarg.

test_unique_return_counts()[source]

Test that unique allows use of return_counts kwarg.

test_unique_return_index()[source]

Test that unique allows use of return_index kwarg.

test_unique_return_inverse()[source]

Test that unique allows use of return_inverse kwarg.

class pyIntensityFeatures.tests.test_utils_grids.TestGridIntensity(methodName='runTest')[source]

Bases: unittest.TestCase

Tests for grid_intensity.

setUp()[source]

Set up the test runs.

tearDown()[source]

Tear down the test environment.

eval_grid_output()[source]

Evaluate the grid output values.

test_grid_intensity_1d()[source]

Test success of gridding 1D intensity data.

test_grid_intensity_multi_dim()[source]

Test success of gridding multi-dimensional intensity data.