seisflows.tests.test_preprocess =============================== .. py:module:: seisflows.tests.test_preprocess .. autoapi-nested-parse:: Test the ability of the Solver module to interact with various versions of SPECFEM Attributes ---------- .. autoapisummary:: seisflows.tests.test_preprocess.TEST_DATA seisflows.tests.test_preprocess.TEST_SOLVER Functions --------- .. autoapisummary:: seisflows.tests.test_preprocess.test_default_read seisflows.tests.test_preprocess.test_default_write seisflows.tests.test_preprocess.test_default_initialize_adjoint_traces seisflows.tests.test_preprocess.test_default_quantify_misfit seisflows.tests.test_preprocess.test_pyaflowa_setup seisflows.tests.test_preprocess.test_pyaflowa_setup_config seisflows.tests.test_preprocess.test_pyaflowa_check_fixed_windows seisflows.tests.test_preprocess.test_pyaflowa_line_search Module Contents --------------- .. py:data:: TEST_DATA .. py:data:: TEST_SOLVER .. py:function:: test_default_read() Test that we can read observed/synthetic traces with the preprocess mod. .. py:function:: test_default_write(tmpdir) Test that we can write synthetic waveforms to formats that SPECFEM recognizes .. py:function:: test_default_initialize_adjoint_traces(tmpdir) Make sure we can write empty adjoint sources expected by SPECFEM .. py:function:: test_default_quantify_misfit(tmpdir) Quantify misfit with some example data .. py:function:: test_pyaflowa_setup(tmpdir) Test setup procedure for SeisFlows which internalizes some workflow information that is crucial for later tasks .. py:function:: test_pyaflowa_setup_config(tmpdir) Test Config setup that is used to control `quantify_misfit` function .. py:function:: test_pyaflowa_check_fixed_windows() Test that misfit window bool returner always returns how we want it to. .. py:function:: test_pyaflowa_line_search(tmpdir) Test that the Pyaflowa preprocess class can quantify misfit over the course of a few evaluations (a line search) and run its finalization task Essentially an integration test testing the entire preprocessing module works as a whole