Skip to content

Commit 6c8ab02

Browse files
committed
remove unused smith invert function until spikes needed
1 parent b5c2ec6 commit 6c8ab02

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/plots/smith/helpers.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@ function smith(a) {
5959
return circleCircleIntersect(reactanceCircle(X), resistanceCircle(R));
6060
}
6161

62-
function smithInvert(a) {
63-
var x = a[0];
64-
var y = a[1];
65-
66-
if(hypot(x, y) > 1) return;
67-
return [
68-
(1 - x * x - y * y) / (x * x - 2 * x + y * y + 1),
69-
2 * y / ((x - 1) * (x - 1) + y * y)
70-
];
71-
}
72-
7362
function transform(subplot, a) {
7463
var x = a[0];
7564
var y = a[1];
@@ -139,7 +128,6 @@ function resistanceArc(subplot, R, X1, X2) {
139128

140129
module.exports = {
141130
smith: smith,
142-
smithInvert: smithInvert,
143131
reactanceArc: reactanceArc,
144132
resistanceArc: resistanceArc,
145133
smithTransform: transform

0 commit comments

Comments
 (0)