Skip to content

Commit

Permalink
modify function test_get_hydrogenic_n_phixs_table
Browse files Browse the repository at this point in the history
  • Loading branch information
ymatsumu committed Aug 17, 2023
1 parent 3e0331a commit 11358fc
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions carsus/io/tests/test_cmfgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,27 @@ def test_get_seaton_phixs_table(threshold_energy_ryd, fit_coeff_list):


@pytest.mark.array_compare
@pytest.mark.parametrize("hyd_gaunt_energy_grid_ryd", [{1: list(range(1, 3))}])
@pytest.mark.parametrize("hyd_gaunt_energy_grid_ryd", [{1: list(range(1, 4))}])
@pytest.mark.parametrize("hyd_gaunt_factor", [{1: list(range(3, 6))}])
@pytest.mark.parametrize("threshold_energy_ryd", [0.5])
@pytest.mark.parametrize("n", [1])
@pytest.mark.parametrize("hyd_n_phixs_stop2start_energy_ratio", [25])
@pytest.mark.parametrize("hyd_n_phixs_num_points", [200])
def test_get_hydrogenic_n_phixs_table(
hyd_gaunt_energy_grid_ryd, hyd_gaunt_factor, threshold_energy_ryd, n
hyd_gaunt_energy_grid_ryd,
hyd_gaunt_factor,
threshold_energy_ryd,
n,
hyd_n_phixs_stop2start_energy_ratio,
hyd_n_phixs_num_points,
):
hydrogenic_n_phixs_table = get_hydrogenic_n_phixs_table(
hyd_gaunt_energy_grid_ryd, hyd_gaunt_factor, threshold_energy_ryd, n
hyd_gaunt_energy_grid_ryd,
hyd_gaunt_factor,
threshold_energy_ryd,
n,
hyd_n_phixs_stop2start_energy_ratio,
hyd_n_phixs_num_points,
)
return hydrogenic_n_phixs_table

Expand Down

0 comments on commit 11358fc

Please sign in to comment.