pyIntensityFeatures.tests.test_proc_fitting =========================================== .. py:module:: pyIntensityFeatures.tests.test_proc_fitting .. autoapi-nested-parse:: Tests for functions in `proc.fitting`. .. !! processed by numpydoc !! Classes ------- .. autoapisummary:: pyIntensityFeatures.tests.test_proc_fitting.TestFittingFuncs Module Contents --------------- .. py:class:: TestFittingFuncs(methodName='runTest') Bases: :py:obj:`unittest.TestCase` Tests for the fitting functions. .. !! 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:: get_peak_inds() Get the MLat indices of the coefficient peaks. .. !! processed by numpydoc !! .. py:method:: eval_gaussian_fit_out(hemisphere) Evaluate the output of `get_gaussian_func_fit`. :Parameters: **hemisphere** : int -1 for Southern hemisphere, 1 for Northern hemisphere. .. !! processed by numpydoc !! .. py:method:: test_get_gaussian_func_fit() Test intensity fitting success. .. !! processed by numpydoc !! .. py:method:: test_get_gaussian_func_fit_high_intensity_thresh() Test intensity fitting failure with a high intensity threshold. .. !! processed by numpydoc !! .. py:method:: test_get_gaussian_func_fit_high_count_thresh() Test intensity fitting failure with a high count threshold. .. !! processed by numpydoc !! .. py:method:: test_get_gaussian_func_fit_high_lat_perc() Test intensity fitting failure with a high lat threshold. .. !! processed by numpydoc !! .. py:method:: test_gauss_quad_err() Test the `gauss_quad_err` function returns correct values. .. !! processed by numpydoc !! .. py:method:: test_estimate_peak_widths() Test `estimate_peak_widths` function. .. !! processed by numpydoc !!