tests.test_inverse package#

Submodules#

tests.test_inverse.test_1d_data module#

tests.test_inverse.test_1d_data.test_data()Source#

tests.test_inverse.test_1d_random module#

tests.test_inverse.test_1d_random.test_1d_inverse()Source#

Runs a forward pass with the Thomson scattering diagnostic and ThomsonParams classes. Saves the results to mlflow.

Parameters:

config – Dictionary - Configuration dictionary created from the input deck

Returns:

Ion data, electron data, and plots are saved to mlflow

tests.test_inverse.test_angular_1v module#

tests.test_inverse.test_angular_1v.test_arts1d_inverse(arbitrary_distribution: bool)Source#

Runs a forward pass with the Thomson scattering diagnostic and ThomsonParams classes. Saves the results to mlflow.

Parameters:

config – Dictionary - Configuration dictionary created from the input deck

Returns:

Ion data, electron data, and plots are saved to mlflow

tests.test_inverse.test_angular_1v.save_electron_distribution_plot(td, i, combined_params)Source#
tests.test_inverse.test_angular_1v.perturb_and_split_params(arbitrary_distribution, config, rng)Source#
tests.test_inverse.test_angular_1v.save_and_plot_ThryE(td, ThryE: ndarray, ThryE_gt_xr: ndarray, prefix)Source#

tests.test_inverse.test_angular_2v module#

tests.test_inverse.test_angular_2v.plot_and_save_distribution(ts_params: ThomsonParams, dist_dir: str, dist_type: str)Source#
tests.test_inverse.test_angular_2v.test_arts2d_inverse(dist_type: bool)Source#

Runs a forward pass with the Thomson scattering diagnostic and ThomsonParams classes. Saves the results to mlflow.

Parameters:

config – Dictionary - Configuration dictionary created from the input deck

Returns:

Ion data, electron data, and plots are saved to mlflow

tests.test_inverse.test_angular_2v.save_electron_distribution_plot(td, i, combined_params)Source#
tests.test_inverse.test_angular_2v.perturb_and_split_params(dist_type, config, rng)Source#

Module contents#