How to import "numpy" in Atom
-
Hi, there i am currently try to run some calculation in Atom involving the "numpy" where i have "import math" and "import numpy" but show me error on the module "numpy" is not defined. How can i include the "numpy" ?
-
@mj It's just some math, you don't need a module to do it.
However, be aware that most trilateration formulas are based on exact distances, which you are very unlikely to get, so you'll end up with no solutions if you try to solve the equations as equalities.
Also, I don't know your use case, but it may indeed make more sense to do this stuff network-side rather than on the node.
-
@mj it would be better to send the raw data somewhere and perform the calculation there.
-
@bmarkus but then how can i implement such calculation as mentioned in https://gis.stackexchange.com/questions/66/trilateration-using-3-latitude-and-longitude-points-and-3-distances ? Any suggestion? Thank you.
-
@mj said in How to import "numpy" in Atom:
Hi, there i am currently try to run some calculation in Atom involving the "numpy" where i have "import math" and "import numpy" but show me error on the module "numpy" is not defined. How can i include the "numpy" ?
No way. Numpy is too big, too complex for embedded systems.