Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    How to import "numpy" in Atom

    Scheduled Pinned Locked Moved Comments & Feedback
    atom
    5 Posts 4 Posters 2.2k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MJ
      last edited by

      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" ?

      0_1521870667051_numpy.JPG

      bmarkusB 1 Reply Last reply Reply Quote 0
      • bmarkusB Offline
        bmarkus @MJ
        last edited by

        @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.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MJ @bmarkus
          last edited by

          @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.

          T J 2 Replies Last reply Reply Quote 0
          • T Offline
            timh @MJ
            last edited by

            @mj it would be better to send the raw data somewhere and perform the calculation there.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jcaron @MJ
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom