pyatoa.tests.test_asdf_utils
Test the PyASDF ASDFDataSet auxiliary utilities
!!! TO DO: utils.asdf.write tests
Module Contents
Functions
|
Re-used test data pointing to STATIONS file |
|
Filled ASDFDataSet |
|
Raw observed waveforms from station NZ.BFZ.HH? for New Zealand event |
|
Synthetic data stream generated using Specfem3D and focal mechanism for |
|
ObsPy Event Catalog for New Zealand based event with |
|
Event from Catalog |
|
StationXML information for station NZ.BFZ.HH? |
|
Default Pyatoa Config object |
|
A manager filled with data but pre-workflow |
|
A manager that has completed the full workflow |
|
Test adding misfit windows to an ASDFDataSet |
|
Test adding adjoint sources to an ASDFDataSet |
|
Test dataset clean functions. Need to perform tasks on a dataset we create |
|
Test cleaning a dataset but retaining windows |
|
Test the function that returns windows in the Pyflex output format from |
|
Test the function that returns windows in the Pyflex output format from |
|
Test the function that returns windows in the Pyflex output format from |
- pyatoa.tests.test_asdf_utils.empty_dataset(tmpdir)[source]
Re-used test data pointing to STATIONS file
- pyatoa.tests.test_asdf_utils.st_obs()[source]
Raw observed waveforms from station NZ.BFZ.HH? for New Zealand event 2018p130600 (GeoNet event id)
- pyatoa.tests.test_asdf_utils.st_syn()[source]
Synthetic data stream generated using Specfem3D and focal mechanism for 2018p130600. Minimum resolved period roughly 10s.
- pyatoa.tests.test_asdf_utils.cat()[source]
ObsPy Event Catalog for New Zealand based event with GeoNet Event ID: 2018p130600
- pyatoa.tests.test_asdf_utils.mgmt_pre(config, event, st_obs, st_syn, inv)[source]
A manager filled with data but pre-workflow
- pyatoa.tests.test_asdf_utils.mgmt_post(mgmt_pre)[source]
A manager that has completed the full workflow
- pyatoa.tests.test_asdf_utils.test_add_misfit_windows(empty_dataset, mgmt_post)[source]
Test adding misfit windows to an ASDFDataSet :return:
- pyatoa.tests.test_asdf_utils.test_add_adjoint_sources(empty_dataset, mgmt_post)[source]
Test adding adjoint sources to an ASDFDataSet :return:
- pyatoa.tests.test_asdf_utils.test_clean_dataset(empty_dataset, mgmt_post)[source]
Test dataset clean functions. Need to perform tasks on a dataset we create here, otherwise we may permanently affect test data if we use a pre-built ASDFDataSet
- pyatoa.tests.test_asdf_utils.test_clean_dataset_fix_windows(empty_dataset, mgmt_post)[source]
Test cleaning a dataset but retaining windows :return:
- pyatoa.tests.test_asdf_utils.test_load_windows(dataset)[source]
Test the function that returns windows in the Pyflex output format from an ASDFDataSet