{"id":8794,"date":"2021-02-09T10:06:15","date_gmt":"2021-02-09T04:36:15","guid":{"rendered":"http:\/\/www.pythonpool.com\/?p=8794"},"modified":"2022-11-15T14:07:04","modified_gmt":"2022-11-15T08:37:04","slug":"numpy-arctan2","status":"publish","type":"post","link":"https:\/\/www.pythonpool.com\/numpy-arctan2\/","title":{"rendered":"Everything You Wanted to Know About Numpy Arctan2"},"content":{"rendered":"\n<p>Hello geeks and welcome in this article, we will cover&nbsp;<strong>NumPy arctan2<\/strong>. Along with that, for an overall better understanding, we will also look at its syntax and parameter. Then we will see the application of all the theory part through a couple of examples. But at first, let us try to analyze the function through its definition.<\/p>\n\n\n\n<p>First of all, the arctan means the <strong>inverse of a tan<\/strong> function. Now the function NumPy arctan2 helps us calculate the <strong>arc tan value between the X1 and X2 in <\/strong><a href=\"http:\/\/www.pythonpool.com\/radians-to-degrees-python\/\" target=\"_blank\" rel=\"noopener\">radians<\/a>. Here X1 and 2 are parameters that we will discuss later. As we move ahead in this article, things will become more clear to you. Up next, let us look at the syntax associated with it. <\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #990303;color:#990303\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #990303;color:#990303\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#Syntax\" >Syntax<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#Parameter\" >Parameter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#NumPy_arctan2_range\" >NumPy arctan2 range<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#Examples\" >Examples<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#Difference_Between_Arctan_and_Arctan2\" >Difference Between Arctan and Arctan2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#Also_Read\" >Also Read<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-syntax\"><span class=\"ez-toc-section\" id=\"Syntax\"><\/span>Syntax<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>numpy.arctan2()<\/strong><\/pre>\n\n\n\n<p>This is the general&nbsp;<strong>syntax<\/strong>&nbsp;for our function. In the next section, we will see different parameters associated with our function.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-parameter\"><span class=\"ez-toc-section\" id=\"Parameter\"><\/span>Parameter<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>1. Y: ARRAY_LIKE<\/strong><\/p>\n\n\n\n<p>This array contains the points to be plotted along the Y-axis. <\/p>\n\n\n\n<p><strong>2. X: ARRAY_LIKE<\/strong><\/p>\n\n\n\n<p>This array contains points to be plotted along the X-axis. The shape of this array must be similar to the Y-axis.<\/p>\n\n\n\n<p><strong>3. OUT: NDARRAY, NDARRAY OF TUPLE<\/strong><\/p>\n\n\n\n<p>This parameter represents an array of the same shape as the input array. It represents the location where the output will be stored. By default, the value is none.  <\/p>\n\n\n\n<p><strong>4. WHERE:ARRAY_LIKE<\/strong><\/p>\n\n\n\n<p>This is another optional parameter, and by default, it is none. In that case, the array will retain its original value. But in case it is equal to true, the output array will be set to calculate a universal value at that position.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-numpy-arctan2-range\" style=\"font-size:28px\"><span class=\"ez-toc-section\" id=\"NumPy_arctan2_range\"><\/span>NumPy arctan2 range<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Arctan2 is a 4 quadrant inverse function. That being said, it gives out the value between 0 to 2pi. The range of this function is -180 to 180 degrees. These are 2 key points that differentiate Arctan2 from the arctan function. A more detailed comparison between the 2 is discussed later in the article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-examples\"><span class=\"ez-toc-section\" id=\"Examples\"><\/span>Examples<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As we are done with all the theory portion related to <strong>NumPy arctan2<\/strong>. This section will be looking at how this function works and how it helps us achieve our desired output. We will start with an elementary level example and gradually move our way to more complicated examples.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-basic-example\">1. Basic example<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as ppool\ny=&#x5B;1,1]\nx=&#x5B;1,1.732]\nprint(ppool.arctan2(y,x))\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n&#x5B;0.78539816 0.52361148]\n<\/pre><\/div>\n\n\n<p>Above, we can see a straightforward example of our arctan2 function. Now let us go line by line and understand how we achieved the output. At first, we have imported the NumPy function. After which, we have defined our 2 sets of the array. Using the syntax of our function and a print statement, we get our desired output. <\/p>\n\n\n\n<p>Here both the values are in radian. Now, if you wish to cross-check the result to a degree. To do so, we need to use this particular formula<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Angle in degree = angle in radian * 180\/pi<\/strong><\/pre>\n\n\n\n<p>If we perform the calculations concerning our outputs, we get an answer of 45 and 30 degrees. Here we have considered pi to 3.14. The answers match, and hence the output is verified. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-output-in-degree\" style=\"font-size:25px\">2.Output in degree<\/h3>\n\n\n\n<p>Now suppose you wish to get the values in degree as well. It is a straightforward process and can be done with the help of for loop and the formula discussed above. Let us see how<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as ppool\ndegree=0\ny=&#x5B;-1,1.732]\nx=&#x5B;2,1]\nb=ppool.arctan2(y,x)\nprint(b)\nfor vals in b:\n         degree=vals*(180\/3.14)\n         print(degree)\n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;-0.46364761  1.04718485]\n-26.578525356734104\n60.02970472117416<\/code><\/pre>\n\n\n\n<p>See how we get the values in radian as well as degree. All the steps are similar to that of the first example. The only difference that we have used a &#8220;<a href=\"https:\/\/en.wikipedia.org\/wiki\/For_loop\" target=\"_blank\" rel=\"noreferrer noopener\">for loop<\/a>&#8220;. If you want something more straightforward we can use another method also <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as ppool\ny=&#x5B;-1,1.732]\nx=&#x5B;2,1]\nb=ppool.arctan2(y,x)*(180\/3.14)\nprint(b)\n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;-26.57852536  60.02970472]<\/code><\/pre>\n\n\n\n<p>Here all you need to do is just multiply the value (180\/3.14) or (180\/ppool.pi) to the array. You can definitely use this method over the for loop method. But in both cases, you will get your desired output that is value in degree. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-difference-between-arctan-and-arctan2\"><span class=\"ez-toc-section\" id=\"Difference_Between_Arctan_and_Arctan2\"><\/span>Difference Between Arctan and Arctan2<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this section we will discuss the difference between 2 Numpy functions.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong><span class=\"has-inline-color has-vivid-red-color\">NumPy arctan<\/span><\/strong><\/td><td><strong><span class=\"has-inline-color has-vivid-red-color\">NumPy arctan2<\/span><\/strong><\/td><\/tr><tr><td>arctan is a 2 quadrant inverse function.<\/td><td>arctan2 is a 4 quadrant inverse function.<\/td><\/tr><tr><td>The range of the arctan function is from -90 to 90 degree.<\/td><td>The range for arctan2 is -180 to 180 degree.<\/td><\/tr><tr><td>This function accepts a single array.<\/td><td>This function as discussed take 2 input arrays.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"has-vivid-red-color has-text-color wp-block-heading\" id=\"h-also-read\"><span class=\"ez-toc-section\" id=\"Also_Read\"><\/span>Also Read<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"http:\/\/www.pythonpool.com\/python-list-index-out-of-range\/\" rel=\"noreferrer noopener\" target=\"_blank\">Python list index out of range: Error and Resolution<\/a><\/li><li><a href=\"http:\/\/www.pythonpool.com\/numpy-random\/\" rel=\"noreferrer noopener\" target=\"_blank\">Using Numpy Random Function to Create Random Data<\/a><\/li><li><a href=\"http:\/\/www.pythonpool.com\/numpy-log\/\" rel=\"noreferrer noopener\" target=\"_blank\">NumPy log Function() | What is Numpy log in Python<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this article, we covered the <strong>NumPy arctan2.<\/strong> Besides that, we have also looked at its syntax and parameters. For better understanding, we looked at a couple of examples. In the end, we can conclude that NumPy arctan2 is a function that this function helps us in finding the inverse tan value between 2 points. By default, it returns the value in radian but we can convert it degree using the methods discussed above.<\/p>\n\n\n\n<p> I hope this article was able to clear all&nbsp;of your&nbsp;doubts. But in case you have any unsolved queries feel free to write them below in the comment section. Done reading this why not read about the <a href=\"http:\/\/www.pythonpool.com\/numpy-identity-matrix\/\">Identity matrix<\/a> next.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello geeks and welcome in this article, we will cover&nbsp;NumPy arctan2. Along with that, for an overall better understanding, we will also look at its &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Everything You Wanted to Know About Numpy Arctan2\" class=\"read-more button\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#more-8794\" aria-label=\"More on Everything You Wanted to Know About Numpy Arctan2\">Read more<\/a><\/p>\n","protected":false},"author":11,"featured_media":9021,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1495],"tags":[3565,3567,3566,3568,3569],"class_list":["post-8794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-numpy","tag-arctan2-numpy","tag-arctan2-numpy-2","tag-numpy-angle-arctan2","tag-numpy-arctan-vs-arctan2","tag-numpy-arctan2-vectos","infinite-scroll-item"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.1 (Yoast SEO v25.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Everything You Wanted to Know About Numpy Arctan2 - Python Pool<\/title>\n<meta name=\"description\" content=\"The function NumPy arctan2 helps us calculate the arc tan value between the X1 and X2 in radians. Here X1 and 2 are parameters we will discuss\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Everything You Wanted to Know About Numpy Arctan2\" \/>\n<meta property=\"og:description\" content=\"Hello geeks and welcome in this article, we will cover&nbsp;NumPy arctan2. Along with that, for an overall better understanding, we will also look at its\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\" \/>\n<meta property=\"og:site_name\" content=\"Python Pool\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-09T04:36:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-15T08:37:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1350\" \/>\n\t<meta property=\"og:image:height\" content=\"650\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rohit Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pythonpool\" \/>\n<meta name=\"twitter:site\" content=\"@pythonpool\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\"},\"author\":{\"name\":\"Rohit Kumar\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/person\/664ced779ebbb8ddfd3c58a60d6f9d66\"},\"headline\":\"Everything You Wanted to Know About Numpy Arctan2\",\"datePublished\":\"2021-02-09T04:36:15+00:00\",\"dateModified\":\"2022-11-15T08:37:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\"},\"wordCount\":834,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.pythonpool.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png\",\"keywords\":[\"arctan2 -numpy\",\"arctan2 numpy\",\"numpy angle arctan2\",\"numpy arctan vs arctan2\",\"numpy arctan2 vectos\"],\"articleSection\":[\"Numpy\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\",\"url\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\",\"name\":\"Everything You Wanted to Know About Numpy Arctan2 - Python Pool\",\"isPartOf\":{\"@id\":\"https:\/\/www.pythonpool.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png\",\"datePublished\":\"2021-02-09T04:36:15+00:00\",\"dateModified\":\"2022-11-15T08:37:04+00:00\",\"description\":\"The function NumPy arctan2 helps us calculate the arc tan value between the X1 and X2 in radians. Here X1 and 2 are parameters we will discuss\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pythonpool.com\/numpy-arctan2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage\",\"url\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png\",\"contentUrl\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png\",\"width\":1350,\"height\":650,\"caption\":\"Numpy Arctan2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-arctan2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pythonpool.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Everything You Wanted to Know About Numpy Arctan2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pythonpool.com\/#website\",\"url\":\"https:\/\/www.pythonpool.com\/\",\"name\":\"Python Pool\",\"description\":\"Your One-Stop Python Learning Destination\",\"publisher\":{\"@id\":\"https:\/\/www.pythonpool.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pythonpool.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pythonpool.com\/#organization\",\"name\":\"Python Pool\",\"url\":\"https:\/\/www.pythonpool.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png\",\"contentUrl\":\"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png\",\"width\":452,\"height\":185,\"caption\":\"Python Pool\"},\"image\":{\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/pythonpool\",\"https:\/\/www.youtube.com\/c\/pythonpool\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/person\/664ced779ebbb8ddfd3c58a60d6f9d66\",\"name\":\"Rohit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c9a762a12f6bf9093f4c8a7643c0b6a17dd903d9602fae379649d1b050386b1a?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c9a762a12f6bf9093f4c8a7643c0b6a17dd903d9602fae379649d1b050386b1a?s=96&d=wavatar&r=g\",\"caption\":\"Rohit Kumar\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Everything You Wanted to Know About Numpy Arctan2 - Python Pool","description":"The function NumPy arctan2 helps us calculate the arc tan value between the X1 and X2 in radians. Here X1 and 2 are parameters we will discuss","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pythonpool.com\/numpy-arctan2\/","og_locale":"en_US","og_type":"article","og_title":"Everything You Wanted to Know About Numpy Arctan2","og_description":"Hello geeks and welcome in this article, we will cover&nbsp;NumPy arctan2. Along with that, for an overall better understanding, we will also look at its","og_url":"https:\/\/www.pythonpool.com\/numpy-arctan2\/","og_site_name":"Python Pool","article_published_time":"2021-02-09T04:36:15+00:00","article_modified_time":"2022-11-15T08:37:04+00:00","og_image":[{"width":1350,"height":650,"url":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png","type":"image\/png"}],"author":"Rohit Kumar","twitter_card":"summary_large_image","twitter_creator":"@pythonpool","twitter_site":"@pythonpool","twitter_misc":{"Written by":"Rohit Kumar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#article","isPartOf":{"@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/"},"author":{"name":"Rohit Kumar","@id":"https:\/\/www.pythonpool.com\/#\/schema\/person\/664ced779ebbb8ddfd3c58a60d6f9d66"},"headline":"Everything You Wanted to Know About Numpy Arctan2","datePublished":"2021-02-09T04:36:15+00:00","dateModified":"2022-11-15T08:37:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/"},"wordCount":834,"commentCount":0,"publisher":{"@id":"https:\/\/www.pythonpool.com\/#organization"},"image":{"@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png","keywords":["arctan2 -numpy","arctan2 numpy","numpy angle arctan2","numpy arctan vs arctan2","numpy arctan2 vectos"],"articleSection":["Numpy"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pythonpool.com\/numpy-arctan2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/","url":"https:\/\/www.pythonpool.com\/numpy-arctan2\/","name":"Everything You Wanted to Know About Numpy Arctan2 - Python Pool","isPartOf":{"@id":"https:\/\/www.pythonpool.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage"},"image":{"@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png","datePublished":"2021-02-09T04:36:15+00:00","dateModified":"2022-11-15T08:37:04+00:00","description":"The function NumPy arctan2 helps us calculate the arc tan value between the X1 and X2 in radians. Here X1 and 2 are parameters we will discuss","breadcrumb":{"@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pythonpool.com\/numpy-arctan2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#primaryimage","url":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png","contentUrl":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2021\/02\/Theatre-Actor-Portfolio-Website-10.png","width":1350,"height":650,"caption":"Numpy Arctan2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.pythonpool.com\/numpy-arctan2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pythonpool.com\/"},{"@type":"ListItem","position":2,"name":"Everything You Wanted to Know About Numpy Arctan2"}]},{"@type":"WebSite","@id":"https:\/\/www.pythonpool.com\/#website","url":"https:\/\/www.pythonpool.com\/","name":"Python Pool","description":"Your One-Stop Python Learning Destination","publisher":{"@id":"https:\/\/www.pythonpool.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pythonpool.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pythonpool.com\/#organization","name":"Python Pool","url":"https:\/\/www.pythonpool.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png","contentUrl":"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png","width":452,"height":185,"caption":"Python Pool"},"image":{"@id":"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/pythonpool","https:\/\/www.youtube.com\/c\/pythonpool"]},{"@type":"Person","@id":"https:\/\/www.pythonpool.com\/#\/schema\/person\/664ced779ebbb8ddfd3c58a60d6f9d66","name":"Rohit Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pythonpool.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c9a762a12f6bf9093f4c8a7643c0b6a17dd903d9602fae379649d1b050386b1a?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c9a762a12f6bf9093f4c8a7643c0b6a17dd903d9602fae379649d1b050386b1a?s=96&d=wavatar&r=g","caption":"Rohit Kumar"}}]}},"_links":{"self":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts\/8794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/comments?post=8794"}],"version-history":[{"count":13,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts\/8794\/revisions"}],"predecessor-version":[{"id":24411,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts\/8794\/revisions\/24411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/media\/9021"}],"wp:attachment":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/media?parent=8794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/categories?post=8794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/tags?post=8794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}