pyIntensityFeatures.tests.test_utils_checks
Tests for functions in utils.checks.
Classes
Tests for Pearson correlation value check functions. |
|
Tests for the evaluate_gauss_quad check function. |
|
Tests for evaluate_dayglow. |
|
Tests for compare_boundaries. |
|
Tests for evaluate_boundaries_in_mlt. |
Module Contents
- class pyIntensityFeatures.tests.test_utils_checks.TestPearsonFuncs(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for Pearson correlation value check functions.
- test_evaluate_pearson_bad_float()[source]
Test failure and logger message for infinite and NaN inputs.
- test_compare_pearson_best_rval()[source]
Test successful identification of the best Pearson values.
- test_compare_pearson_valid_pmax()[source]
Test successful identification of the best Pearson values.
- class pyIntensityFeatures.tests.test_utils_checks.TestEvalGaussQuadFuncs(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for the evaluate_gauss_quad check function.
- test_finite_coeff_neg_amp_or_spread()[source]
Test failure with negative amplitude or spread values.
- test_finite_coeff_bad_location()[source]
Test failure with x-offset outside the slice latitude range.
- test_finite_coeff_low_amplitude()[source]
Test failure with an amplitude too close to the background.
- test_bad_equator_uncertainty()[source]
Test failure with an unrealistic equatorward boundary uncertainty.
- test_nonfinite_pearson_values()[source]
Test failure with non-finite Pearson correlation coefficients.
- class pyIntensityFeatures.tests.test_utils_checks.TestEvalDayglow(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for evaluate_dayglow.
- class pyIntensityFeatures.tests.test_utils_checks.TestCompareBoundaries(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for compare_boundaries.
- test_compare_equatorward_high_uncertainty()[source]
Compare boundaries where the best R value has high EALB error.
- test_compare_equatorward_bad_values()[source]
Compare boundaries where the best R value has a bad EALB location.
- test_compare_equatorward_all_bad_values()[source]
Compare boundaries where the best R value has bad EALB locations.
- test_compare_polar_high_uncertainty()[source]
Compare boundaries where the best R value has high PALB error.
- class pyIntensityFeatures.tests.test_utils_checks.TestEvalBoundariesMLT(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for evaluate_boundaries_in_mlt.