pyIntensityFeatures.tests.test_utils_output =========================================== .. py:module:: pyIntensityFeatures.tests.test_utils_output .. autoapi-nested-parse:: Tests for functions in `utils.output`. .. !! processed by numpydoc !! Classes ------- .. autoapisummary:: pyIntensityFeatures.tests.test_utils_output.TestBoundaryDictFuncs Module Contents --------------- .. py:class:: TestBoundaryDictFuncs(methodName='runTest') Bases: :py:obj:`unittest.TestCase` Tests for functions that create and alter the boundary dicts. .. !! processed by numpydoc !! .. py:method:: setUp() Set up the test runs. .. !! processed by numpydoc !! .. py:method:: tearDown() Tear down the test environment. .. !! processed by numpydoc !! .. py:method:: eval_coord_dict() Evaluate the coordinate dict. .. !! processed by numpydoc !! .. py:method:: eval_data_dict() Evaluate the data dict. .. !! processed by numpydoc !! .. py:method:: eval_dataset() Evaluate a Dataset assigned to `new_data`. .. !! processed by numpydoc !! .. py:method:: update_new_data(inc=0, hemi=1, mlt_inc=0.5) Create data for the `new_data` test attribute. :Parameters: **inc** : int Number by which values will be incremented. **hemi** : int 1 for Northern and -1 for Southern hemisphere **mlt_inc** : float Increment for the MLT bins (default=0.5) .. !! processed by numpydoc !! .. py:method:: test_init_boundary_dicts() Test success for initalizing the boundary dicts. .. !! processed by numpydoc !! .. py:method:: test_update_boundary_dicts() Test success for updating the boundary dicts. .. !! processed by numpydoc !! .. py:method:: test_update_boundary_dicts_change_mlt_inc() Test raises ValueError for updating with different MLT bin inc. .. !! processed by numpydoc !! .. py:method:: test_update_boundary_dicts_change_mlt_vals() Test raises ValueError for updating with different MLT bin vals. .. !! processed by numpydoc !! .. py:method:: test_reshape_lat_coeff_data_no_lat_bins() Test ValueError raised with no lat bins when reshaping data. .. !! processed by numpydoc !! .. py:method:: test_reshape_lat_coeff_data_bad_shaped_lat_bins() Test ValueError with badly formed lat bins when reshaping data. .. !! processed by numpydoc !! .. py:method:: test_reshape_lat_coeff_data_inconsistent_lat_bins() Test ValueError with inconsistent lat bins when reshaping data. .. !! processed by numpydoc !! .. py:method:: test_reshape_lat_coeff_data_bad_coeff_order() Test ValueError with badly ordered coeff data when reshaping data. .. !! processed by numpydoc !! .. py:method:: test_reshape_lat_coeff_data_bad_coeff_dims() Test ValueError with badly shaped coeff dims when reshaping data. .. !! processed by numpydoc !! .. py:method:: test_reshape_lat_coeff_data() Test success when reshaping data. .. !! processed by numpydoc !! .. py:method:: test_convert_boundary_dict_empty() Test creation of an empty Dataset without full coordinates. .. !! processed by numpydoc !! .. py:method:: test_convert_boundary_dict() Test creation of a Dataset from the boundary dicts. .. !! processed by numpydoc !!