pyIntensityFeatures.tests.test_proc_boundaries
Tests for functions in proc.boundaries.
Classes
Tests for the boundary ID functions. |
Module Contents
- class pyIntensityFeatures.tests.test_proc_boundaries.TestBoundariesFuncs(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for the boundary ID functions.
- get_coeffs_by_peak_and_hemisphere(npeaks, hemisphere)[source]
Obtain temporary copies of the fit coefficients and covariance.
- Parameters:
- npeaksint
Number of peaks to be in the covariance matrix (max of 3)
- hemisphereint
-1 for Southern, 1 for Northern
- Returns:
- coefflist
List of adjusted coefficients
- covararray
Covariance matrix adjusted to the correct size.
- eval_boundaries(npeaks, hemisphere)[source]
Evaluate the output boundaries.
- Parameters:
- npeaksint
Number of peaks to be in the covariance matrix (max of 3)
- hemisphereint
-1 for Southern, 1 for Northern
- test_get_eval_boundares_bad_background_threshold()[source]
Test a bad background outcome by changing the dayglow threshold.
- test_locate_mult_peak_boundaries_max_spread()[source]
Test boundary ID rejection for separated peaks.
- test_locate_mult_peak_boundaries_strict_fit()[source]
Test multiple boundary ID with a negative sigma.
- test_locate_single_peak_boundaries_outside_fit_region()[source]
Test boundary ID for a single-peaked fit that fail region test.
- test_locate_single_peak_boundaries_strict_fit()[source]
Test single-peak boundary ID with a negative sigma.
- test_locate_boundaries_using_mult_peak()[source]
Test general boundary ID specifying a multi-peaked fit.
- test_locate_boundaries_mult_peak_outside_fit_region()[source]
Test general multi-peaked boundary ID with bounds outside region.
- test_locate_boundaries_with_best()[source]
Test general boundary ID specifying the best fitting method.