Skip to content

Commit 1bb7a2b

Browse files
committed
Low confidence fix to panel.
1 parent 775058c commit 1bb7a2b

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

tests/unit/test_class_antenna_surface.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ def test_compile_panel_points_ringed(self):
109109
Tests that a point falls into the correct panel and that this panel has the correct number of samples
110110
"""
111111
compvaluep0 = [
112-
3.3030790441176467,
113-
0.43083639705882354,
114-
197,
115-
262,
116-
2.57549549e-04,
112+
2.78607537,
113+
1.12017463,
114+
303,
115+
274,
116+
-1.93162782e-04
117117
]
118-
compnsampp0 = 179
118+
compnsampp0 = 65
119119
self.tant.compile_panel_points()
120120

121121
assert (
@@ -135,8 +135,9 @@ def test_fit_surface(self):
135135
"""
136136
Tests that fitting results for two panels match the reference
137137
"""
138-
solveparsp0 = [0.00032415, 0.00037302, -0.00092434]
139-
solveparsp30 = [0.00038105, -0.00039928, -0.00067004]
138+
139+
solveparsp0 = [ 0.00054374, 0.00032329, -0.00203554]
140+
solveparsp30 = [ 0.00014274, 0.00043115, -0.00259277]
140141
self.tant.fit_surface()
141142

142143
assert len(self.tant.panels[0].model.parameters) == len(solveparsp0), (

0 commit comments

Comments
 (0)