pyIntensityFeatures.tests.test_proc_intensity

Tests for functions in proc.intensity.

Attributes

apexpy

Classes

TestIntensityFuncs

Tests for the intensity functions.

Module Contents

pyIntensityFeatures.tests.test_proc_intensity.apexpy = None[source]
class pyIntensityFeatures.tests.test_proc_intensity.TestIntensityFuncs(methodName='runTest')[source]

Bases: unittest.TestCase

Tests for the intensity functions.

setUp()[source]

Set up the test runs.

tearDown()[source]

Tear down the test environment.

eval_intensity_output(hemisphere)[source]

Evaluate the out_data attribute.

Parameters:
hemisphereint

-1 for Southern, 1 for Northern.

test_find_intensity_boundaries_dayglow_threshold()[source]

Test boundary ID rejection with a too-low dayglow threshold.

test_find_intensity_boundaries_aaacgm()[source]

Test boundary ID in an intensity slice using AACGMV2 coordinates.

test_find_intensity_boundaries_apexpy()[source]

Test boundary ID in an intensity slice using apexpy coordinates.

test_find_intensity_boundaries_no_apexpy()[source]

Test boundary ID raises ValueError with the apexpy methods.

test_find_intensity_bad_eq_boundaries()[source]

Test boundary ID in an equatorial boundary failure.

test_find_intensity_bad_po_boundaries()[source]

Test boundary ID in a polar boundary failure.