Conditions | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
36 | def test_ssusi_ioniz(): |
||
37 | energies = np.logspace(-1, 2, 4) |
||
38 | fluxes = np.ones_like(energies) |
||
39 | z = np.array([100, 120, 150]) |
||
40 | # energy dissipation "profiles" |
||
41 | ediss = aur.ssusi_ioniz( |
||
42 | z[:, None], |
||
43 | energies[None, :], fluxes[None, :], |
||
44 | ) |
||
45 | assert ediss.shape == (3, 4) |
||
46 | return |
||
47 |