pyatoa.scripts.load_example_data

It’s useful to generate a fully loaded Manager object for testing purposes. Load data from the test directory and run the Manager workflow to achieve this.

Module Contents

Functions

load_example_data()

Returns example test data that can be used to preload a Manager

load_example_inspector()

Returns an example Inspector loaded with some waveform measurements

load_example_asdfdataset()

Returns an example ASDFDataSet with a few waveforms etc

generate_example_asdfdataset()

Create the test_ASDFDataSet file, which sometimes needs to be re-made if

Attributes

_root_dir

_test_data_dir

pyatoa.scripts.load_example_data._root_dir[source]
pyatoa.scripts.load_example_data._test_data_dir[source]
pyatoa.scripts.load_example_data.load_example_data()[source]

Returns example test data that can be used to preload a Manager

pyatoa.scripts.load_example_data.load_example_inspector()[source]

Returns an example Inspector loaded with some waveform measurements

pyatoa.scripts.load_example_data.load_example_asdfdataset()[source]

Returns an example ASDFDataSet with a few waveforms etc

pyatoa.scripts.load_example_data.generate_example_asdfdataset()[source]

Create the test_ASDFDataSet file, which sometimes needs to be re-made if the package or dependencies change