pyIntensityFeatures.tests.test_utils_output
Tests for functions in utils.output.
Classes
Tests for functions that create and alter the boundary dicts. |
Module Contents
- class pyIntensityFeatures.tests.test_utils_output.TestBoundaryDictFuncs(methodName='runTest')[source]
Bases:
unittest.TestCaseTests for functions that create and alter the boundary dicts.
- update_new_data(inc=0, hemi=1, mlt_inc=0.5)[source]
Create data for the new_data test attribute.
- Parameters:
- incint
Number by which values will be incremented.
- hemiint
1 for Northern and -1 for Southern hemisphere
- mlt_incfloat
Increment for the MLT bins (default=0.5)
- test_update_boundary_dicts_change_mlt_inc()[source]
Test raises ValueError for updating with different MLT bin inc.
- test_update_boundary_dicts_change_mlt_vals()[source]
Test raises ValueError for updating with different MLT bin vals.
- test_reshape_lat_coeff_data_no_lat_bins()[source]
Test ValueError raised with no lat bins when reshaping data.
- test_reshape_lat_coeff_data_bad_shaped_lat_bins()[source]
Test ValueError with badly formed lat bins when reshaping data.
- test_reshape_lat_coeff_data_inconsistent_lat_bins()[source]
Test ValueError with inconsistent lat bins when reshaping data.
- test_reshape_lat_coeff_data_bad_coeff_order()[source]
Test ValueError with badly ordered coeff data when reshaping data.
- test_reshape_lat_coeff_data_bad_coeff_dims()[source]
Test ValueError with badly shaped coeff dims when reshaping data.