<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    Hello,<br>
    <br>
    I have been running DECONV.FOR for some time and its output always
    seemed fine.<br>
    I guess the current version - 31DEC25/APL/SUB/DECONV.FOR - does not
    differ from the previous ones.<br>
    <br>
    <b>Yet, I am a bit confused about its output when the convolved
      source is aligned with the restoring beam.</b><br>
    <u>Then the returned, i.e. deconvolved, position angle is 90° larger
      than those position angles.</u><br>
    <br>
    E.g. <br>
    <i>deconv(7.1941910149411346, 6.826481869094818, 86.02929942633546,
      5.699093590220353, 4.181319049159876, 86.7612722265415)</i><br>
    returns <br>
    <i>(5.396174907684326, 4.390378952026367, 177.1446533203125, 0)<br>
    </i>So rpa=<i>177.1446533203125</i> is 90° larger than one would
    expect.<br>
    Could you please help me to explain this?<br>
    <br>
    Kind regards,<br>
    Hanno Spreeuw<br>
    <br>
    PS To reproduce using Python, see the attached source file, which is
    the original DECONV.FOR with a few additions for f2py.<br>
    <i>python -m numpy.f2py -c DECONV.FOR -m deconv_python<br>
      ipython<br>
      import numpy as np<br>
      import deconv_python<br>
      # print(deconv_python.deconv.__doc__)<br>
      deconv_python.deconv(7.1941910149411346, 6.826481869094818,
      86.02929942633546, 5.699093590220353, 4.181319049159876,
      86.7612722265415)<br>
      ---> (5.396174907684326, 4.390378952026367, 177.1446533203125,
      0)</i><br>
    <br>
    <div class="moz-signature">-- <br>
      
      
      <meta http-equiv="x-ua-compatible" content="ie=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>handtekening - eScience Center | Enabling digitally
        enhanced research</title>
      <!-- Copy HTML from here-->
      <table height="150">
        <tbody>
          <tr>
            <td width="130" valign="top"><img src="https://esciencecenter.nl/wp-content/themes/raadhuis/dist/assets/img/e-signature.png" width="120" height=""></td>
            <td valign="top">
              <table>
                <tbody>
                  <tr>
                    <td style="font-size:16px;color:rgb(0,157,221);font-weight:bold;font-family: Trebuchet MS, Helvetica,sans-serif;">Hanno
                      Spreeuw</td>
                  </tr>
                  <tr>
                    <td style="font-size:16px;color:rgb(0,0,0);font-family: Trebuchet MS, Helvetica,sans-serif;">eScience
                      Research Engineer</td>
                  </tr>
                  <tr>
                    <td style="font-size:13px;color:rgb(0,0,0);font-family: Trebuchet MS, Helvetica,sans-serif;padding-top:10px;">+31
                      6 21 537 257</td>
                  </tr>
                  <tr>
                    <td style="font-size:13px;color:rgb(0,0,0);font-family: Trebuchet MS, Helvetica,sans-serif;">Netherlands
                      eScience Center</td>
                  </tr>
                  <tr>
                    <td><a href="https://www.esciencecenter.nl/" style="font-size:13px;color:#FFB213;text-decoration:none;font-weight:bold;font-family: Trebuchet MS, Helvetica,sans-serif;">
                        <font color="#FFB213">www.esciencecenter.nl</font>
                      </a></td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <!-- END copy -->
    </div>
  </body>
</html>