Skip to content

Commit 1a81b64

Browse files
author
Auggie Marignier
committed
move import to top
1 parent 996bb0c commit 1a81b64

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/test/python/test_axisym_adjoints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from functools import partial
22

3+
from pys2let import
34
import numpy as np
45
from pytest import approx, fixture, mark
56

@@ -12,6 +13,7 @@
1213
synthesis_adjoint_px2wav,
1314
synthesis_axisym_wav_mw,
1415
synthesis_wav2px,
16+
pys2let_j_max,
1517
)
1618

1719

@@ -61,8 +63,6 @@ def random_wavlet_maps(rng, L, spin, nwvlts):
6163
def test_axisym_adjoint(
6264
px2wav, wav2px, spin, rng: np.random.Generator, L=10, B=2, J_min=2
6365
):
64-
from pys2let import pys2let_j_max
65-
6666
nwvlts = pys2let_j_max(B, L, J_min) - J_min + 1
6767

6868
x = random_mw_map(rng, L, spin)

src/test/python/test_directional_harmonic.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
analysis_lm2lmn,
88
analysis_adjoint_lmn2lm,
99
synthesis_lmn2lm,
10-
synthesis_adjoint_lm2lmn
10+
synthesis_adjoint_lm2lmn,
11+
pys2let_j_max,
1112
)
1213

1314

@@ -49,8 +50,6 @@ def random_wavlet_lms(rng, L, nwvlts):
4950
def test_axisym_adjoint(
5051
px2wav, wav2px, rng: np.random.Generator, L=10, B=2, J_min=2
5152
):
52-
from pys2let import pys2let_j_max
53-
5453
nwvlts = pys2let_j_max(B, L, J_min) - J_min + 1
5554

5655
x = random_lms(rng, L)

0 commit comments

Comments
 (0)