<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’m experiencing an issue converting between frequency and velocity with an AIPS produced cube I was wondering if you could help me with. I should caveat this with the fact I have zero experience with AIPS but plenty playing with radio cubes using python and casa etc.</div><div class=""><br class=""></div><div class="">We have a VLA 21 cm cube produced in AIPS with a frequency axis. When converted to velocity in python, CASA, CARTA, and by hand following either the optical or radio conventions, the cube is at a systematically higher velocity than the true system velocity of the galaxy. However, when the conversion from frequency to velocity is done <span style="font-family: Roboto-Regular;" class="">using "ALTSWTCH" in AIPS, the result has the correct velocity.</span></div><div class=""><span style="font-family: Roboto-Regular;" class=""><br class=""></span></div><div class=""><span style="font-family: Roboto-Regular;" class="">The VLA cube can be downloaded </span><a href="https://www.dropbox.com/s/2yow86gqxoqjroc/NGC4383.cube.fits?dl=0" class="">here</a><span style="font-family: Roboto-Regular;" class="">.</span></div><div class=""><br class=""></div><div class="">Here I show the VLA 21 cm spectrum (orange) and ALMA CO (grey) spectrum comparison. The ALMA spectrum matches published multi-wavelength velocities, while the VLA 21 cm cube is offset approximated +300 km/s.</div><div class=""><img border="0" id="_x0000_i1026" alt="cid:b4d8b9d8-9761-41c2-a5ac-e58e3b6d648f@ausprd01.prod.outlook.com" apple-inline="yes" style="font-family: Calibri, sans-serif; font-size: 14.666666984558105px;" src="cid:image001.png@01D6F93D.CE6364F0" class=""></div><div class=""><div class=""><br class=""></div><div class="">Now I’m showing the spectrum from the VLA cube *after* converting to velocity with ALTSWITCH (orange) and the same ALMA CO (grey) spectrum. You can see that the offset goes away.</div></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="CFE9A71D-1824-4F3A-89B6-0BAFBA502FD2" class="" style="font-family: Roboto-Regular;" src="cid:F7DBD8E7-41B5-4F54-B40F-0359B27AEE8D"></div><div class=""><br class=""></div><div class="">Do you know why AIPS is able to make the correct conversion between velocity and frequency, while the standard conventions do not work?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Toby</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font color="#0096ff" class=""><br class=""><font class="">-- </font><br class=""><font class="">Research Officer</font><br class=""><font class="">Herzberg Astronomy & Astrophysics Research Centre</font><br class=""><font class="">National Research Council of Canada</font><br class=""><a href="https://drtobybrown.com" class="">drtobybrown.com</a><u class=""><br class=""></u><a href="https://twitter.com/DrTobyBrown" class="">@drtobybrown<br class=""></a><font class="">Pronouns: He/him/his</font></font></div></div></div></div></div></div>
</div>
<br class=""></div></body></html>