<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8698858162387672100</id><updated>2012-01-11T22:52:08.054-06:00</updated><category term='scripting'/><category term='CASA'/><category term='Wisconsin Banana Recipes'/><category term='freqids'/><category term='flagging'/><category term='installation'/><category term='concatenating uv data'/><category term='Making AIPS and Miriad Work Together'/><category term='Blog Tips'/><category term='EVLA'/><category term='imaging'/><category term='single dish'/><category term='spectral line'/><category term='image analysis'/><category term='importing data'/><category term='tips n&apos; tricks'/><category term='archive'/><category term='self calibration'/><category term='Making AIPS and KVIS Work Together'/><category term='image deconvolution'/><category term='multi-frequency synthesis'/><category term='bandpasses'/><category term='outputting data'/><category term='calibration'/><category term='combining single-dish and interferometer data'/><category term='plotting'/><category term='mystery errors'/><category term='Mosaicing'/><category term='gridding'/><title type='text'>Collected Shreds of AIPS Wisdom</title><subtitle type='html'>Supplementary Help for AIPS (we all need it...)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default?start-index=101&amp;max-results=100'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>123</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3570302079671726987</id><published>2011-11-08T02:39:00.000-06:00</published><updated>2011-11-08T02:40:16.560-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><title type='text'>Remote login to AIPS</title><content type='html'>So, you're away from your computer (say it's in Wisconsin and you're in  South Africa), but need to log in to AIPS remotely to get some (simple)  work done.  Since I do this about once every six months and have to  relearn how to do it every time, here's the solution.&lt;br /&gt;ssh into your machine, then instead of just typing at the terminal:&lt;br /&gt;&lt;pre&gt;&amp;gt; aips&lt;br /&gt;&lt;/pre&gt; or&lt;br /&gt;&lt;pre&gt;&amp;gt; aips da=&amp;lt;computer name=&amp;gt;&lt;br /&gt;&lt;/pre&gt; both of which give me errors or repeatedly ask for me to retype my password, try:&lt;br /&gt;&lt;pre&gt;&amp;gt; aips notv da=&amp;lt;computer name&amp;gt;&lt;br /&gt;&lt;/pre&gt; Eh, voila!  I can use AIPS without complaint.&lt;br /&gt;True,  you can't use the tv to view your data, but that would be a pain to do  remotely anyway.  When I make an image, I output an .PS file and rsync  it to my local machine.  rsync is nifty and worth learning, if you don't  know it already.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3570302079671726987?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3570302079671726987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3570302079671726987' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3570302079671726987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3570302079671726987'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2011/11/remote-login-to-aips.html' title='Remote login to AIPS'/><author><name>Kelley</name><uri>http://www.blogger.com/profile/05450406433926399724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7287621846738556372</id><published>2010-07-15T09:43:00.004-05:00</published><updated>2010-07-15T09:49:47.434-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='single dish'/><category scheme='http://www.blogger.com/atom/ns#' term='gridding'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Gridding with SDIMG</title><content type='html'>I am trying to use SDIMG to grid some GBT data to 25 arcmin. The gridding parameters are set like in IMAGR, with XTYPE, YTYPE, XPARM, YPARM. Does anyone know how to make sense of the gridding parameters? Right now I use mysterious parameters given to me by Jay Lockman, which are idealized to the 9 arcmin L-band beam. I can't figure out what they mean to change them. The AIPS help files are just as mysterious to me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7287621846738556372?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7287621846738556372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7287621846738556372' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7287621846738556372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7287621846738556372'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/07/gridding-with-sdimg.html' title='Gridding with SDIMG'/><author><name>katie mae</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-60600097740017484</id><published>2010-07-05T14:11:00.003-05:00</published><updated>2010-07-05T14:20:08.936-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>Inconsistencies between UVPLT and TVFLG?</title><content type='html'>Here's a question from Anonymous:&lt;br /&gt;&lt;blockquote&gt;I am re-reducing 1667 MHz OH spectral line data from project AC319 (JUN-92, polarizations RR, LL, RL, LR). I chose one spectral channel from one day, and I plotted the visibility amplitudes with both TVFLG and UVPLT. The data are split, and they are for the program source W22.&lt;br /&gt;&lt;br /&gt;I plotted the visibility amplitudes in UVPLT (stokes 'rr'), and I don't see any amplitudes over 20 Jy for baseline lengths 4 - 9 kilolambda. However, when I plot the same data in TVFLG (stokes 'rr', sorted by length), I see a number of amplitudes higher than 20 Jy in the same baseline range.&lt;br /&gt;&lt;br /&gt;Why would the higher amplitudes be displayed by TVFLG but not by UVPLT? In both cases, I chose flagver =-1, so no flagging should have been applied when I ran either task.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I'm not sure of the exact answer to your question, but there are lots of ways for TVFLG and UVPLT to give slightly different pictures of your data:&lt;br /&gt;&lt;br /&gt;--Is XINC set in UVPLT?&lt;br /&gt;--Are you sure your looking at the same channel in each case, and not averaging channels in either case?&lt;br /&gt;--TVFLG may be secretly time averaging your visibilities. To make sure that it's not time averaging, find out what your integration time is and input this as DPARM(6). Then, once the data are actually loaded, look at the AVG parameter stated in the bottom left of the tv screen. If it is set to a number greater than 1, than time averaging is occurring. To change this averaging time, click on 'enter smooth time'.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-60600097740017484?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/60600097740017484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=60600097740017484' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/60600097740017484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/60600097740017484'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/07/inconsistencies-between-uvplt-and-tvflg.html' title='Inconsistencies between UVPLT and TVFLG?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6390753073893831898</id><published>2010-06-07T14:36:00.002-05:00</published><updated>2010-06-07T14:38:42.754-05:00</updated><title type='text'>Excluding single-channel flux peaks</title><content type='html'>Reader Linda asks&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;I'm trying to use the AIPS task BLANK to blank an HI data cube. I am using the method where you blank a convolved version of your cube to exclude flux &lt; 2-3*noise and then use that convolved cube as a filter to blank your original image. With the help of other kind folks, I've got this part worked out. But I would also like to exclude single-channel flux peaks. Does anyone know of a way to ask AIPS to only keep pixels with signal that is above a set level in a specified number of consecutive channels? It seems like using OPCODE = 'FLTW' might be helpful, but my attempts at using this haven't produced anything useful.&lt;br /&gt;&lt;br /&gt;I'd really appreciate any help!&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Any suggestions?&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6390753073893831898?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6390753073893831898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6390753073893831898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6390753073893831898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6390753073893831898'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/06/excluding-single-channel-flux-peaks.html' title='Excluding single-channel flux peaks'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6902465687550352587</id><published>2010-03-26T17:10:00.007-05:00</published><updated>2010-03-26T17:45:52.313-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bandpasses'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>BPLOT is a really cool task</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_k0n-GfDtef8/S60ydCv6RnI/AAAAAAAAAAU/s--Zh2iyj5E/s1600/bplot_blog.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 245px;" src="http://2.bp.blogspot.com/_k0n-GfDtef8/S60ydCv6RnI/AAAAAAAAAAU/s--Zh2iyj5E/s320/bplot_blog.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5453070198350956146" /&gt;&lt;/a&gt;&lt;br /&gt;I recently learned about a task in AIPS which is very good for assessing bandpass stability---BPLOT. If you have multiple bandpass solutions, it will plot each one, stacking them one on top of each other as a time sequence. To the left is an example plot from BPLOT. Try it, you'll like it!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6902465687550352587?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6902465687550352587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6902465687550352587' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6902465687550352587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6902465687550352587'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/03/bplot-is-really-cool-task.html' title='BPLOT is a really cool task'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_k0n-GfDtef8/S60ydCv6RnI/AAAAAAAAAAU/s--Zh2iyj5E/s72-c/bplot_blog.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4968477988981643614</id><published>2010-03-26T15:21:00.003-05:00</published><updated>2010-03-26T15:31:29.179-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>Getting rid of distracting black lines in TVFLG/SPFLG</title><content type='html'>Have you ever loaded your data into TVFLG or SPFLG and seen what looks like lots of blank times (manifested as horizontal black lines cutting through your data)?&lt;br /&gt;&lt;br /&gt;This is because TVFLG/SPFLG is trying to load your data with a time bin that is not a multiple of your integration time. So---the solution is to set DPARM(6)! Set DPARM(6) to your integration time in seconds; e.g., for GMRT data: &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;DPARM(6) = 16.7&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;(or, if you have time averaged your data, set it equal to your averaging time).&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4968477988981643614?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4968477988981643614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4968477988981643614' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4968477988981643614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4968477988981643614'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/03/getting-rid-of-distracting-black-lines.html' title='Getting rid of distracting black lines in TVFLG/SPFLG'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5873185851126998858</id><published>2010-03-23T17:29:00.005-05:00</published><updated>2010-03-26T17:47:03.475-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>Watch out for the STOKES parameter when plotting (even if you don't care about polarization)</title><content type='html'>When using the many plotting/flagging programs in AIPS, make sure to check the value of the STOKES parameter before plotting (try help stokes to see the options and select the one appropriate for that data set). Different tasks have different STOKES defaults, so sometimes displaying data in one program results in a totally different plot than in another program because one is including some polarizations the other is not. This particularly can be a problem if you have cross-polarization values you don't care about (yet). &lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5873185851126998858?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5873185851126998858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5873185851126998858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5873185851126998858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5873185851126998858'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/03/polarization-tips-for-those-who-dont.html' title='Watch out for the STOKES parameter when plotting (even if you don&apos;t care about polarization)'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7623815474522447965</id><published>2010-03-03T13:20:00.006-06:00</published><updated>2010-03-03T13:27:54.128-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>CVEL bug</title><content type='html'>I received an email yesterday informing people of a bug in CVEL - that is, if you run CVEL on a data set after SPLIT with an NX table, you are affected! I wanted to post it here in case you're not on the Midnight Job (MNJ) list (which I wasn't). Essentially, CVEL will only shift the first scan to the new velocity axis, while the other scans are not shifted. This bug is explained &lt;a href="http://listmgr.cv.nrao.edu/pipermail/mnj/2010-March/000081.html"&gt;here&lt;/a&gt;. I think the possible fixes are to either run CVEL before SPLIT or to run the midnight job to update your AIPS version and then rerun the new CVEL version on your data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7623815474522447965?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7623815474522447965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7623815474522447965' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7623815474522447965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7623815474522447965'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/03/cvel-bug.html' title='CVEL bug'/><author><name>Adrienne</name><uri>http://www.blogger.com/profile/00397473429623544442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3067708703433165548</id><published>2010-02-17T18:44:00.003-06:00</published><updated>2010-02-17T18:46:41.787-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CASA'/><title type='text'>CASA guides</title><content type='html'>Hey! If you're learning CASA, check out this new collection of tips and tutorials that I've been contributing to:&lt;br /&gt;&lt;a href=http://casaguides.nrao.edu/&gt;http://casaguides.nrao.edu/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And let me know if you see obvious holes in the documentation there (which is, clearly, still under development).&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3067708703433165548?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3067708703433165548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3067708703433165548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3067708703433165548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3067708703433165548'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/02/casa-guides.html' title='CASA guides'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-726076939284915283</id><published>2010-02-17T18:40:00.002-06:00</published><updated>2010-02-17T18:43:52.416-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery errors'/><title type='text'>Error in PCAL</title><content type='html'>Here's a question from Akshaya Rane:&lt;br /&gt;&lt;br /&gt;I am doing polarization calibration and while trying to run 'pcal', I have encountered the following error. Does this has to do something with qualifiers?&lt;br /&gt;&lt;br /&gt;PCAL 3: TOTAL INTENSITIES MUST BE PROVIDED&lt;br /&gt;PCAL 3: Purports to die of UNNATURAL causes&lt;br /&gt;&lt;br /&gt;Any thoughts? &lt;br /&gt;&lt;br /&gt;I should add that Eric Greisen says that if you spend an hour trying to figure out something in AIPS, and you can't, you should feel free to email him and ask his help. &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-726076939284915283?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/726076939284915283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=726076939284915283' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/726076939284915283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/726076939284915283'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/02/error-in-pcal.html' title='Error in PCAL'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3552921684695358873</id><published>2010-02-04T23:15:00.050-06:00</published><updated>2010-03-05T11:58:05.458-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CASA'/><title type='text'>AIPS to CASA cheat sheet</title><content type='html'>So, i've been spending the last couple days learning CASA, and I think the most intuitive way to think about it is in terms of what I would be doing in AIPS. Hence the below table. Most tasks in AIPS have a parallel in CASA, although it's not always a one-to-one transfer.&lt;br /&gt;&lt;br /&gt;Update: New and improved as of March 5, 2010:&lt;br /&gt;&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;th align="left"&gt;AIPS&lt;/th&gt;&lt;th align="left"&gt;CASA&lt;/th&gt;&lt;th align="left"&gt;  Purpose &lt;/th&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;APROPOS &lt;/td&gt;&lt;td&gt; taskhelp &lt;/td&gt;&lt;td&gt; List tasks with a short description of their purposes &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;BLCAL &lt;/td&gt;&lt;td&gt; blcal &lt;/td&gt;&lt;td&gt; Calculate a baseline-based gain calibration solution &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;BLCHN &lt;/td&gt;&lt;td&gt; blcal &lt;/td&gt;&lt;td&gt; Calculate a baseline-based bandpass calibration solution &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;BPASS &lt;/td&gt;&lt;td&gt; bandpass &lt;/td&gt;&lt;td&gt; Calibrate bandpasses &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;CALIB &lt;/td&gt;&lt;td&gt; gaincal &lt;/td&gt;&lt;td&gt; Calibrate gains (amplitudes and phases) &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;CLCAL &lt;/td&gt;&lt;td&gt; applycal &lt;/td&gt;&lt;td&gt; Apply calibration to data&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;COMB &lt;/td&gt;&lt;td&gt; immath &lt;/td&gt;&lt;td&gt; Combine images &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;CPASS &lt;/td&gt;&lt;td&gt; cpass &lt;/td&gt;&lt;td&gt; Calibrate bandpasses by polynomial fitting &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;DBCON &lt;/td&gt;&lt;td&gt; concat &lt;/td&gt;&lt;td&gt; Concatenate ''u-v'' datasets &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;DEFAULT  &lt;/td&gt;&lt;td&gt; default &lt;/td&gt;&lt;td&gt; Load a task with default parameters &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;FILLM &lt;/td&gt;&lt;td&gt; importvla &lt;/td&gt;&lt;td&gt; Import old-format VLA data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;FITLD &lt;/td&gt;&lt;td&gt; importuvfits &lt;/td&gt;&lt;td&gt; Import a ''u-v'' dataset which is in FITS format &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;FITLD &lt;/td&gt;&lt;td&gt; importfits &lt;/td&gt;&lt;td&gt; Import an image which is in FITS format &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;FITTP &lt;/td&gt;&lt;td&gt; exportuvfits &lt;/td&gt;&lt;td&gt; Write a ''u-v'' dataset to FITS format &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;FITTP &lt;/td&gt;&lt;td&gt; exportfits &lt;/td&gt;&lt;td&gt; Write an image to FITS format &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;FRING &lt;/td&gt;&lt;td&gt; --- &lt;/td&gt;&lt;td&gt; Calibrate group delays and phase rates. &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;GETJY &lt;/td&gt;&lt;td&gt; fluxscale &lt;/td&gt;&lt;td&gt; Determine flux densities for other cals &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;GO  &lt;/td&gt;&lt;td&gt; go &lt;/td&gt;&lt;td&gt; Run a task &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;HELP  &lt;/td&gt;&lt;td&gt; help &lt;/td&gt;&lt;td&gt; Display the help page for a task &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMAGR &lt;/td&gt;&lt;td&gt; clean &lt;/td&gt;&lt;td&gt; Image and deconvolve &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMFIT &lt;/td&gt;&lt;td&gt; imfit &lt;/td&gt;&lt;td&gt; Fit gaussian components to an image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMHEAD &lt;/td&gt;&lt;td&gt; vishead &lt;/td&gt;&lt;td&gt; View header for ''u-v'' data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMHEAD &lt;/td&gt;&lt;td&gt; imhead &lt;/td&gt;&lt;td&gt; View header for an image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMLIN &lt;/td&gt;&lt;td&gt; imcontsub &lt;/td&gt;&lt;td&gt; Subtract continuum in image plane &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMLOD &lt;/td&gt;&lt;td&gt; importfits &lt;/td&gt;&lt;td&gt; Import a FITS image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;IMSTAT &lt;/td&gt;&lt;td&gt; imstat &lt;/td&gt;&lt;td&gt; Measure statistics on an image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;INP &lt;/td&gt;&lt;td&gt; inp &lt;/td&gt;&lt;td&gt; View task parameters &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;JMFIT &lt;/td&gt;&lt;td&gt; imfit &lt;/td&gt;&lt;td&gt; Fit gaussian components to an image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;LISTR &lt;/td&gt;&lt;td&gt; listobs &lt;/td&gt;&lt;td&gt; Print basic data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;MCAT &lt;/td&gt;&lt;td&gt; ls &lt;/td&gt;&lt;td&gt; List image data files &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;MOMNT &lt;/td&gt;&lt;td&gt; immoments &lt;/td&gt;&lt;td&gt; Compute moments from an image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;OHGEO &lt;/td&gt;&lt;td&gt; imregrid &lt;/td&gt;&lt;td&gt;Regrids an image onto another image's geometry &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PBCOR &lt;/td&gt;&lt;td&gt; immath &lt;/td&gt;&lt;td&gt; Correct an image for the primary beam &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PCAL &lt;/td&gt;&lt;td&gt; polcal &lt;/td&gt;&lt;td&gt; Calibrate polarization &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;POSSM &lt;/td&gt;&lt;td&gt; plotcal &lt;/td&gt;&lt;td&gt; Plot bandpass calibration tables &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;POSSM &lt;/td&gt;&lt;td&gt; plotms &lt;/td&gt;&lt;td&gt; Plot spectra &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PRTAN &lt;/td&gt;&lt;td&gt; listobs &lt;/td&gt;&lt;td&gt; Print antenna locations &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PRTAN &lt;/td&gt;&lt;td&gt; plotants &lt;/td&gt;&lt;td&gt; Plot antenna locations &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;QUACK &lt;/td&gt;&lt;td&gt; flagdata &lt;/td&gt;&lt;td&gt; Remove first integrations from scans &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;RENAME &lt;/td&gt;&lt;td&gt; mv &lt;/td&gt;&lt;td&gt; Rename an image or dataset &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;SETJY &lt;/td&gt;&lt;td&gt; setjy &lt;/td&gt;&lt;td&gt; Set flux densities for flux cals &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;SMOTH &lt;/td&gt;&lt;td&gt; imsmooth &lt;/td&gt;&lt;td&gt; Smooth an image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;SNPLT &lt;/td&gt;&lt;td&gt; plotcal &lt;/td&gt;&lt;td&gt; Plot gain calibration tables &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;SPFLG &lt;/td&gt;&lt;td&gt; viewer &lt;/td&gt;&lt;td&gt; Flag raster image of time v. channel &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;SPLIT &lt;/td&gt;&lt;td&gt; split &lt;/td&gt;&lt;td&gt; Write out ''u-v'' files for individual sources &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;TASK &lt;/td&gt;&lt;td&gt; inp &lt;/td&gt;&lt;td&gt; Load a task with current parameters &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;TGET &lt;/td&gt;&lt;td&gt; tget &lt;/td&gt;&lt;td&gt; Load a task with parameters last used for that task&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;TVALL &lt;/td&gt;&lt;td&gt; viewer &lt;/td&gt;&lt;td&gt; Display image &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;TVFLG &lt;/td&gt;&lt;td&gt; viewer &lt;/td&gt;&lt;td&gt; Flag raster image of time v. baseline &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UCAT &lt;/td&gt;&lt;td&gt; ls &lt;/td&gt;&lt;td&gt; List ''u-v'' data files &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UVFIX &lt;/td&gt;&lt;td&gt; fixvis &lt;/td&gt;&lt;td&gt; Compute ''u'', ''v'', and ''w'' coordinates &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UVFLG &lt;/td&gt;&lt;td&gt; flagdata &lt;/td&gt;&lt;td&gt; Flag data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UVLIN &lt;/td&gt;&lt;td&gt; uvcontsub &lt;/td&gt;&lt;td&gt; Subtract continuum from ''u-v'' data&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UVLSF &lt;/td&gt;&lt;td&gt; uvcontsub &lt;/td&gt;&lt;td&gt; Subtract continuum from ''u-v'' data&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UVPLT &lt;/td&gt;&lt;td&gt; plotms &lt;/td&gt;&lt;td&gt; Plot ''u-v'' data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;UVSUB &lt;/td&gt;&lt;td&gt; uvsub &lt;/td&gt;&lt;td&gt; Subtracts model ''u-v'' data from corrected ''u-v'' data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;WIPER &lt;/td&gt;&lt;td&gt; plotms &lt;/td&gt;&lt;td&gt; Plot and flag ''u-v'' data &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;ZAP &lt;/td&gt;&lt;td&gt; rmtables &lt;/td&gt;&lt;td&gt; Delete data files &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Do you have a favorite AIPS-to-CASA pair? Disagree with any of the above? Let me know in the comments! I'm still learning.&lt;br /&gt;&lt;br /&gt;p.s. I'm supposed to be writing CASA documentation for the beginner (e.g., myself), so I doubt this is the last time I will be seeking feedback.&lt;br /&gt;&lt;br /&gt;p.p.s. &lt;strike&gt; Why is blogger putting this horrific space before my table? I can't get rid of it and it looks fine in the preview. quack. &lt;/strike&gt; This &lt;a href="http://www.bloggertipsandtricks.com/2007/06/avoid-large-white-space-above-table-in.html"&gt;tip&lt;/a&gt; seemed to get rid of it.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3552921684695358873?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3552921684695358873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3552921684695358873' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3552921684695358873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3552921684695358873'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/02/aips-to-casa-cheat-sheet.html' title='AIPS to CASA cheat sheet'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5286953733778439579</id><published>2010-02-04T22:42:00.002-06:00</published><updated>2010-02-04T22:44:11.048-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>Plot labels and tick marks</title><content type='html'>Reader René would like to know about some aesthetic issues in plotting:&lt;br /&gt;&lt;br /&gt;I have a question regarding labeling. The LTYPE-parameter (eg. in task 'greys') lets you plot "Label in arcsec or other units from reference pixel". This is just what I need, but it stupidly plots it in degrees instead of arcminutes. Is there a way to change this? (Except transforming the coordinates of the whole image I mean ...)&lt;br /&gt;&lt;br /&gt;Also is there a way to adjust the number of ticks to plot? (Add minor and major ticks?)&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5286953733778439579?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5286953733778439579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5286953733778439579' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5286953733778439579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5286953733778439579'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/02/plot-labels-and-tick-marks.html' title='Plot labels and tick marks'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4090643628615466628</id><published>2010-01-25T12:50:00.013-06:00</published><updated>2010-02-04T22:50:59.592-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>Joining Spectral Line Data with Multiple IFs</title><content type='html'>Occasionally I've encountered line data that are taken in 4-IF mode - that is, where you have 2 IFs, each tuned to different frequencies, that overlap on their edges. I found these to be a pain to combine the last time I worked with them (in my first Astronomy research project ever!), and they have resurfaced again now.. but I've discovered a much easier solution: &lt;code&gt;UJOIN&lt;/code&gt;!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;code&gt;UJOIN&lt;/code&gt; takes a data set with 2 IFs tuned to different frequencies (as from 4-IF mode at the VLA), and joined them together. It even deals with re-weighting the overlap regions because now there's more data there! You will want to use &lt;code&gt;UJOIN&lt;/code&gt; on data that has &lt;b&gt;already been calibrated (gain AND bandpass)&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Here are the inputs:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: UJOIN     Converts IFs to additional spectral channels&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     ' '                     Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    ' '                     Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         0                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        0                    Input UV file disk unit #&lt;br /&gt;AIPS 1: OUTNAME    ' '                     Output UV file name (name)&lt;br /&gt;AIPS 1: OUTCLASS   ' '                     Output UV file name (class)&lt;br /&gt;AIPS 1: OUTSEQ        0                    Output UV file name (seq. #)&lt;br /&gt;AIPS 1: OUTDISK       1                    Output UV file disk unit #.&lt;br /&gt;AIPS 1: CHANSEL    *all 0                  Begin, end input channels,&lt;br /&gt;AIPS 1:                                    begin output channel each IF&lt;br /&gt;AIPS 1: OPCODE     ' '                     'DIFF' to output the vis&lt;br /&gt;AIPS 1:                                    difference in the overlap&lt;br /&gt;AIPS 1: DOWEIGHT      1                    0 =&gt; delete spectrum if any&lt;br /&gt;AIPS 1:                                    IF or channel is flagged&lt;br /&gt;AIPS 1:                                    &lt; -0.5 =&gt; keep data even if&lt;br /&gt;AIPS 1:                                    one of the IFs is flagged&lt;br /&gt;AIPS 1:                                    &gt; 0.5 =&gt; delete channel if&lt;br /&gt;AIPS 1:                                    one of the IFs is flagged&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The main thing to set is &lt;code&gt;CHANSEL&lt;/code&gt;. This is a 6-element array:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;chansel(1) - first channel to use from IF 1&lt;br /&gt;chansel(2) - last channel to use from IF 1&lt;br /&gt;chansel(3) - output channel that corresponds to 1st input channel from IF 1 (ugh)&lt;br /&gt;chansel(4) - first channel to use from IF 2&lt;br /&gt;chansel(5) - last channel to use from IF 2&lt;br /&gt;chansel(6) - output channel that corresponds to 1st input channel from IF 2 (ugh again)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The AIPS help file on &lt;code&gt;UJOIN&lt;/code&gt; has some helpful information on how to set these values properly, but I will reproduce what &lt;i&gt;I&lt;/i&gt; did to set these - it's not completely straightforward.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Using UJOIN on your own data&lt;/b&gt;&lt;br /&gt;First, you should apply all your calibrations in &lt;code&gt;SPLIT&lt;/code&gt;. Make sure that when you &lt;code&gt;SPLIT&lt;/code&gt; off your science source, you keep &lt;code&gt;BIF&lt;/code&gt; and &lt;code&gt;EIF&lt;/code&gt; set to 0 - this will create a single source file with both IFs.&lt;br /&gt;&lt;br /&gt;Then, you will need to figure out the frequency and reference pixel of each of your observations (&lt;i&gt;f_1, p_1, f_2, p_2&lt;/i&gt;). I did this by &lt;code&gt;SPLITting&lt;/code&gt; each IF off separately from the LINE data and then running &lt;code&gt;IMHEAD&lt;/code&gt; on each. You should also record &lt;i&gt;delta_f&lt;/i&gt; (from &lt;code&gt;IMHEAD&lt;/code&gt; again - this should be the same for each IF). In my case, &lt;i&gt;f_2&lt;/i&gt; was bigger than &lt;i&gt;f_1&lt;/i&gt; - if this is different for you, you'll have some sign differences somewhere and &lt;code&gt;CHANSEL&lt;/code&gt; will be in a different order.&lt;br /&gt;&lt;br /&gt;Next, figure out if any of the channels in your IFs are on the edges of the bandpass. You will not want to keep these channels as they will add noise into the final, combined UV data. Typically, look at the region where the bandpass is flat-ish, and use that. To find these, you will want to use &lt;code&gt;POSSM&lt;/code&gt; to take a quick look at your bandpass solutions for each antenna:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;default possm&lt;br /&gt;aparm = 0, 1, 0.7, 1.3, -180, 180, 0, 2, 0, 0&lt;br /&gt;source [bpass calibrator]&lt;br /&gt;solint -1&lt;br /&gt;nplots 9&lt;br /&gt;dotv 1&lt;br /&gt;bpver 0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Find the first and last channels of the flat-ish region for each IF (&lt;i&gt;n_first,1; n_last,1; n_first,2; n_last,2&lt;/i&gt;).&lt;br /&gt;&lt;br /&gt;Now you can start setting &lt;code&gt;CHANSEL&lt;/code&gt; with the first and last channels for IF 1:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;chansel(1) = n_first,1      # first channel from flat-ish part of bpass, if 1&lt;br /&gt;chansel(2) = n_last,1       # last channel from flat-ish part of bpass, if 1&lt;br /&gt;chansel(3) = 1              # ichansel(1) goes into output channel 1&lt;br /&gt;chansel(4) = n_first,2      # first channel from flat-ish part of bpass, if 2&lt;br /&gt;chansel(5) = n_last,2       # last channel from flat-ish part of bpass, if 2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now we move on to &lt;code&gt;chansel(6)&lt;/code&gt;, which is not nearly as easy as the above part was. Here you have to figure out which output channel corresponds to &lt;code&gt;chansel(4)&lt;/code&gt;. You'll have to take into consideration all the other ichansel values. Here is the equation I came up with for &lt;code&gt;ichansel(6)&lt;/code&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_N5Nwx8w-w1U/S134F5HYbZI/AAAAAAAAADw/kEBLZaJLtGk/s1600-h/fig6.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 398px; height: 58px;" src="http://3.bp.blogspot.com/_N5Nwx8w-w1U/S134F5HYbZI/AAAAAAAAADw/kEBLZaJLtGk/s400/fig6.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430769505793502610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can find the derivation at the end of this post if you're interested or getting incorrect answers. (As Martha Haynes once said, "You get what you pay for and this is free!")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As a reminder, here's what all of the variables stand for:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;        n = this is the value for ichansel(6)&lt;br /&gt;    f_1,0 = reference frequency of IF 1&lt;br /&gt;    f_2,0 = reference frequency of IF 2&lt;br /&gt;  delta_f = frequency steps between channels&lt;br /&gt;n_first,1 = first channel of IF 1 used in output&lt;br /&gt;n_first,2 = first channel of IF 2 used in output&lt;br /&gt;      p_1 = reference channel of IF 1&lt;br /&gt;      p_2 = reference channel of IF 2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Testing that UJOIN did the right thing&lt;/b&gt;&lt;br /&gt;You'll probably want to check that this actually worked correctly. The &lt;code&gt;UJOIN&lt;/code&gt; help recommends that you use &lt;code&gt;POSSM&lt;/code&gt; to check that the spectrum of the phase calibrator is flat.&lt;br /&gt;&lt;br /&gt;- First, &lt;code&gt;SPLIT&lt;/code&gt; off the phase calibrator separately.&lt;br /&gt;&lt;br /&gt;- Next, run &lt;code&gt;UJOIN&lt;/code&gt; on this phase calibrator file with the same inputs as for the galaxy.&lt;br /&gt;&lt;br /&gt;- Check that the spectrum of the &lt;code&gt;UJOIN&lt;/code&gt; data is flat in &lt;code&gt;POSSM&lt;/code&gt;:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;default possm&lt;br /&gt;aparm 0&lt;br /&gt;solint 0&lt;br /&gt;nplots 0&lt;br /&gt;source [phase calibrator]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This should plot the phase calibrator spectrum with data from all antennas averaged together.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;My derivation of the ichansel(6) equation:&lt;/b&gt;&lt;br /&gt;To figure this out, I wrote some equations to find the frequency at a given channel (&lt;i&gt;f1, f2&lt;/i&gt;):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_N5Nwx8w-w1U/S133KFbqlZI/AAAAAAAAADI/lTJMLkwQXFg/s1600-h/fig1.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 219px; height: 60px;" src="http://2.bp.blogspot.com/_N5Nwx8w-w1U/S133KFbqlZI/AAAAAAAAADI/lTJMLkwQXFg/s320/fig1.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430768478307653010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These tell you the frequency (&lt;i&gt;f_1, f_2&lt;/i&gt;) at an arbitrary channel (&lt;i&gt;n_1, n_2&lt;/i&gt;) for each IF. &lt;i&gt;f_1,0&lt;/i&gt; tells you the frequency at reference pixel &lt;i&gt;p_1&lt;/i&gt; for IF 1. &lt;i&gt;f_2,0&lt;/i&gt; tells you the frequency at reference pixel &lt;i&gt;p_2&lt;/i&gt;, for IF 2. &lt;i&gt;delta_f&lt;/i&gt; is the frequency steps between each channel.&lt;br /&gt;&lt;br /&gt;Now we can write an equation to for the frequency of the output channels:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_N5Nwx8w-w1U/S133UZBNO2I/AAAAAAAAADQ/-67gwLfbUrA/s1600-h/fig2.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 222px; height: 28px;" src="http://2.bp.blogspot.com/_N5Nwx8w-w1U/S133UZBNO2I/AAAAAAAAADQ/-67gwLfbUrA/s320/fig2.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430768655364078434" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We can sub in for &lt;i&gt;f_out,0&lt;/i&gt; because we know what channel we're setting as the first output channel (ichansel 1!), and we know its frequency from the above equation for &lt;i&gt;f_1&lt;/i&gt; (&lt;i&gt;n_1&lt;/i&gt;) for IF 1:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_N5Nwx8w-w1U/S133fZQPhGI/AAAAAAAAADY/GrR50PM6zI8/s1600-h/fig3.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 31px;" src="http://4.bp.blogspot.com/_N5Nwx8w-w1U/S133fZQPhGI/AAAAAAAAADY/GrR50PM6zI8/s320/fig3.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430768844405703778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now we want to know what output channel (&lt;i&gt;n&lt;/i&gt;) corresponds to the first channel of IF 2 (&lt;i&gt;n_first,2&lt;/i&gt;). Where does this occur in &lt;i&gt;f_out&lt;/i&gt;?&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_N5Nwx8w-w1U/S133vduTrzI/AAAAAAAAADg/OOVuzh6gUDI/s1600-h/fig5.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 23px;" src="http://4.bp.blogspot.com/_N5Nwx8w-w1U/S133vduTrzI/AAAAAAAAADg/OOVuzh6gUDI/s320/fig5.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430769120483454770" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now just rearrange that for &lt;i&gt;n&lt;/i&gt;!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_N5Nwx8w-w1U/S134F5HYbZI/AAAAAAAAADw/kEBLZaJLtGk/s1600-h/fig6.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 398px; height: 58px;" src="http://3.bp.blogspot.com/_N5Nwx8w-w1U/S134F5HYbZI/AAAAAAAAADw/kEBLZaJLtGk/s400/fig6.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430769505793502610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4090643628615466628?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4090643628615466628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4090643628615466628' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4090643628615466628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4090643628615466628'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/01/joining-spectral-line-data-with.html' title='Joining Spectral Line Data with Multiple IFs'/><author><name>Adrienne</name><uri>http://www.blogger.com/profile/00397473429623544442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_N5Nwx8w-w1U/S134F5HYbZI/AAAAAAAAADw/kEBLZaJLtGk/s72-c/fig6.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1338182253486490232</id><published>2010-01-19T10:57:00.003-06:00</published><updated>2010-02-04T22:37:34.439-06:00</updated><title type='text'>TV suddenly red?</title><content type='html'>Is your TV suddenly mis-behaving and showing everything in red rather than in black and white? Make sure that TVCHAN=1.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1338182253486490232?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1338182253486490232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1338182253486490232' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1338182253486490232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1338182253486490232'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/01/tv-suddenly-red.html' title='TV suddenly red?'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1145719867283598016</id><published>2010-01-08T10:53:00.004-06:00</published><updated>2010-02-04T22:37:19.044-06:00</updated><title type='text'>IBLED error (related to the TV?)</title><content type='html'>Reader Ruta asks:&lt;br /&gt;&lt;quote&gt;&lt;br /&gt;hi, i have come across an error message copied below while running task 'ibled' on a single source datafile. whats happening and why am i getting this error..? thanks in advance.&lt;br /&gt;localh&gt; IBLED1: Loading data for baseline 1 - 2&lt;br /&gt;localh&gt; IBLED1: Loading data from ***/12:00:53 to ***/11:54:54&lt;br /&gt;localh&gt; IBLED1: There are 25 valid vis. points on this baseline&lt;br /&gt;localh&gt; IBLED1: Loading AMPLITUDE&lt;br /&gt;localh&gt; IBLED1: with Stokes I chs 1- 1 IFs 1- 1&lt;br /&gt;localh&gt; IBLED1: Displaying pixels 1 to 35&lt;br /&gt;localh&gt; IBLED1: Data range 1.092369E+04 1.093816E+04&lt;br /&gt;localh&gt; IBLED1: VISLAB: ERROR 2 RETURNED FROM IMVECT&lt;br /&gt;localh&gt; IBLED1: IBFOAD: ERROR 2 FROM VISLAB&lt;br /&gt;localh&gt; IBLED1: LOADING ERROR 2 FROM IBFOAD&lt;br /&gt;localh&gt; IBLED1: TELEVISION I/O ERROR 2 FROM SETFRM&lt;br /&gt;localh&gt; IBLED1: Temporary master file to be destroyed&lt;br /&gt;localh&gt; IBLED1: Destroyed 1 extension files of type FC&lt;br /&gt;localh&gt; IBLED1: Destroyed UV image file: catno= 540 disk= 3&lt;br /&gt;localh&gt; IBLED1: Purports to die of UNNATURAL causes&lt;br /&gt;localh&gt; IBLED1: voodoo 31DEC09 TST: Cpu= 1.8 Real= 3 IO= 17&lt;br /&gt;&lt;/quote&gt;&lt;br /&gt;Does anyone have any ideas other than double-checking the parameters to make sure that they are correct?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1145719867283598016?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1145719867283598016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1145719867283598016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1145719867283598016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1145719867283598016'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2010/01/reader-ruta-asks-ibled1-voodoo-31dec09.html' title='IBLED error (related to the TV?)'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8508452911657830207</id><published>2009-11-10T13:25:00.015-06:00</published><updated>2010-02-04T23:05:31.077-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='EVLA'/><title type='text'>Heads Up! Inverted Axes for EVLA-VLA data..</title><content type='html'>I recently encountered an issue with one spectral line data set observed during the EVLA-VLA transition (like all my other data sets). So far, only this data set in particular is affected, but it could possibly apply to others if you notice this behavior. If you notice rotation that should not be there compared to other images, this may affect you!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Here are the weird things about this data set:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The velocity axis appears to be backwards, but the header seems normal (is, the cdelt3 value in the header is not of the opposite sign).&lt;/li&gt;&lt;li&gt;Compared to other observations of the same galaxy taken in different configurations, the map is rotated by 180 degrees on the plane of the sky, but again, the header seems normal (cdelt1/2 are both normal).&lt;/li&gt;&lt;/ol&gt;I spent a lot of time trying to figure out the cause of this and originally chalked it up to user error - i.e., something went wrong in the calibration, which gave the phases the opposite sign. Or so I thought.&lt;br /&gt;&lt;br /&gt;Well! Turns out it was a bona fide problem with the EVLA transition, which inverted the velocity axis and gave the phase an incorrect sign. This has mostly been corrected in the archive, but is apparently still present in a few, lingering data sets. The fix for this is to use the task "FLOPM" on the data (after SPLIT) with opcode "VLAE".&lt;br /&gt;&lt;br /&gt;Voila! Problem solved. Now if I could only get back the three weeks I spent banging my head against the proverbial AIPS wall.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8508452911657830207?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8508452911657830207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8508452911657830207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8508452911657830207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8508452911657830207'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/11/heads-up-evla-issue.html' title='Heads Up! Inverted Axes for EVLA-VLA data..'/><author><name>Adrienne</name><uri>http://www.blogger.com/profile/00397473429623544442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-2215342106123323596</id><published>2009-11-10T07:00:00.009-06:00</published><updated>2010-02-04T22:55:30.403-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='combining single-dish and interferometer data'/><title type='text'>IMERG SECRETS</title><content type='html'>IMERG is a program that combines single dish and interferometer data (see &lt;a href="http://adsabs.harvard.edu/abs/2002ASPC..278..375S"&gt;Stanimirovic (2002)&lt;/a&gt; for details on the algorithm). In short, this algorithm (also referred to as "feathering") fourier transforms both the single dish and the interferometer data, uses the overlap region in uv space between the interferometer and single dish data to determine a scaling factor for the single dish data, adds the interferometer image and the scaled single dish image in fourier space, and then fourier transforms it back.&lt;br /&gt;&lt;br /&gt;IMERG has a couple of extra caveats that the user should be aware of before running:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Both images need to be square and the dimensions a power of two.&lt;br /&gt;&lt;li&gt; Make very sure there are no blanks in either image. Use REMAG to replace any blanks with zero. Note that OHGEO will blank any region in the transformed image that is outside the boundaries of the original image. One of the signs that you may have some blanks in your image is really small scaling factors (~1e-8).&lt;br /&gt;&lt;li&gt; Make sure that the single dish image is big enough, i.e., make sure the galaxy is much smaller than the entire image. &lt;/ul&gt;&lt;br /&gt;Edit (11/13/09): As far as I can tell, IMERG does absolutely no checking that the two images have the same axes, so beware and double check that both images are the same. Also the beam that gets put in the resulting image is the single dish beam, not the interferometer beam. Use ADDBEAM to change.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-2215342106123323596?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/2215342106123323596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=2215342106123323596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2215342106123323596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2215342106123323596'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/11/imerg-secrets.html' title='IMERG SECRETS'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1402828230605896318</id><published>2009-11-06T16:54:00.013-06:00</published><updated>2010-02-04T22:35:45.042-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multi-frequency synthesis'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Multi-frequency synthesis in AIPS?</title><content type='html'>(Edited based on re-reading the documentation this morning.)&lt;br /&gt;&lt;br /&gt;Does any one here have experience with multi-frequency synthesis in AIPS? I've got a WSRT data set with 8 continuous IFs each with 64 channels. I'm currently setting &lt;br /&gt;&lt;code&gt;&lt;br /&gt;bif=1; eif=8&lt;br /&gt;bchan=2; echan=50; nchav=49&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;in IMAGR.&lt;br /&gt;&lt;br /&gt;I was going to run it through self-calibration as usual.(See &lt;a href="http://http://aipsforum.blogspot.com/2007/04/self-cal-according-to-claudia-as.html"&gt;the following post&lt;/a&gt; for details.) Is there anything else I need to do?&lt;br /&gt;&lt;br /&gt;[Edited 11/11/09: See Michael Rupen's comment on this post for the answer.]&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1402828230605896318?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1402828230605896318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1402828230605896318' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1402828230605896318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1402828230605896318'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/11/multi-frequency-synthesis-in-aips.html' title='Multi-frequency synthesis in AIPS?'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8615288183327194573</id><published>2009-09-25T23:35:00.003-05:00</published><updated>2009-09-29T14:48:28.079-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><title type='text'>"Air Mass Chart" for Radio Observations?</title><content type='html'>A question that has plagued me for quite some time, as I prepare my EVLA proposal:&lt;br /&gt;Do you all know of a tool to find the rise/set times and elevations of radio sources? My favorite tool for seeing the trajectory of an object through the sky is 'airchart' in IRAF, but unfortunately IRAF assumes you are an optical astronomer and only tracks your sources through the nighttime. Anyone know of something similar for all 24 hours? (the GMRT has one, but it assumes the GMRT's latitude, which is rather different than the VLA's). &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8615288183327194573?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8615288183327194573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8615288183327194573' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8615288183327194573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8615288183327194573'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/09/air-mass-chart-for-radio-observations.html' title='&quot;Air Mass Chart&quot; for Radio Observations?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-2238391784147278377</id><published>2009-09-14T15:11:00.016-05:00</published><updated>2010-02-04T22:39:07.922-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Combining VLA Spectral Line Data with Different Channel Spacings: a Solution!</title><content type='html'>I remember thinking about this briefly in a post further down, and neither Amanda nor I could come to a good solution without resorting to Miriad. After running into the problem myself and spending a lot of time dealing with AIPS, I think I've come to a solution.&lt;br /&gt;&lt;br /&gt;Caveat: this is only valid for combining VLA data with other VLA data. I don't think it will work with ATNF/GMRT + VLA data, but I haven't tried.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I managed to fix this problem in the case of VLA data with a combination of UVCOP, SPECR, and CVEL. Basically, it works because the VLA correlator setup is all multiples of two. In general, if you have a data set with twice as many channels, it has half the channel spacing. This is not always true due to an observer's ability to set up IFs in different ways, but the channel spacings should always differ by some power of two.&lt;br /&gt;&lt;br /&gt;Now for the solution(s).&lt;br /&gt;&lt;br /&gt;For example, imagine you have spectral line data set A with 127 channels and spacing of 6.1 kHz, and data set B with 255 channels and spacing of 3.05 kHz. (The extra channel from each needed to make a power of two is the Channel 0 data set. So you really only have 127 instead of 128 and 255 instead of 256 channels.) Effectively, you will have to either double the channel spacing of data set B, or half the channel size of data set A.&lt;br /&gt;&lt;br /&gt;In order to DBCON, you will need to jump through many AIPS hoops in order to make sure that both data sets have:&lt;br /&gt;- the same number of channels&lt;br /&gt;- the same spectral resolution&lt;br /&gt;- the same frequencies assigned to the same channels&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To degrade the high-resolution data:&lt;/b&gt;&lt;br /&gt;- First, you will need to use UVCOP to chop off one channel in data set B, so an integer number of channels in SPECR will give you the correct velocity resolution. It shouldn't matter if you chop one off from the beginning or from the end, as these are generally line free.&lt;br /&gt;&lt;br /&gt;- Next, use SPECR to regrid data set B to the proper channel spacing. In this case, you will want a channel spacing of 6.1 kHz. This means that you need to tell SPECR to regrid to half as many channels. Each new channel has twice the original channel spacing. In this case, you will tell SPECR to use &lt;code&gt;npoints 127&lt;/code&gt;, which is conveniently half of 254.&lt;br /&gt;&lt;br /&gt;- Now run CVEL on both data sets. The correct inputs are described at the bottom of this guide. The main APARM values to set are:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;aparm(1) = [velocity in m/s to be assigned to..]&lt;br /&gt;aparm(2) = [..this channel number]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Essentially, you have regridded both of your data sets to a system where the given velocity is assigned to the given channel. It may spit out a lot of errors saying that it is shifting the channels by many km/s, but as long as the same channels in both data sets correspond to the same velocities, you're set.&lt;br /&gt;&lt;br /&gt;- Run UVCOP to chop off additional channels if necessary. In this case, the data sets should be the same, but depending on correlator settings, you may have to chop off additional channels. This time, &lt;b&gt;always&lt;/b&gt; chop them off from the end, because you have regridded your data so that the first channels in the set line up with the first channels in the other data set.&lt;br /&gt;&lt;br /&gt;- Run DBCON to combine both data sets. DBCON will shift RA and Dec as long as the pointing centers aren't vastly different.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To oversample the low-resolution data:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- Use SPECR to regrid data set A to 254 (NOT 255) channels. This will effectively chop your channel width in half, so it matches data set B. You will deal with the fact that both data sets have a different number of channels in a few steps, so don't worry.&lt;br /&gt;&lt;br /&gt;- Use CVEL to assign the same frequency to the same channel for both observations. This will shift each spectrum in frequency/channel, but will not resize the channel spacing. More instructions for using CVEL are at the bottom of the guide. The important inputs are:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;aparm(1) = [velocity in m/s to be assigned to..]&lt;br /&gt;aparm(2) = [..this channel number]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Essentially, you have regridded both of your data sets to a system where the given velocity is assigned to the given channel. CVEL may spit out a LOT of errors telling you that you are shifting your channels by a lot, but as long as your galaxy shows up in the same channels in both datasets, you should be okay.&lt;br /&gt;&lt;br /&gt;- use UVCOP to chop off additional channels. Data set A (after SPECR) has 1 fewer channel than data set B. Fix this by chopping off the last channel of data set B using UVCOP. Set &lt;code&gt;BCHAN 0&lt;/code&gt; and &lt;code&gt;ECHAN 254&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;- Use DBCON to combine data set A (after SPECR + CVEL) and data set B (after CVEL + UVCOP). It should shift the RA and Dec of the one of the data sets unless they have vastly different pointing centers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Now for something completely different (aka additional notes):&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Occasionally you will have to chop off more channels from data set A, depending on your correlator set up for both observations. The key point is to make sure that both data sets have the same number of channels with the same channel spacing and the same velocity definition (e.g., channel 52 = -50 km/s).&lt;br /&gt;&lt;br /&gt;And now some info on running CVEL. In some of our observations, we did not use Doppler tracking (Oh, EVLA, you'll be awesome one day), so we also had to tell CVEL the rest frequency of our HI line so it could calculate gas velocity. You may not need all of these inputs, but here's how I had to set the APARM values, which is really the meat of CVEL:&lt;br /&gt;&lt;br /&gt;&lt;code&gt; aparm -50000 52 1 0 1.420e09 5752 1 0&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;What does this mean? Well!&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;aparm(1) = -50000&lt;br /&gt;aparm(2) = 52&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Together these two values shift the spectrum so that a velocity of -50000 m/s lines up with channel 52. This will be different for each galaxy - in our case, it's a galaxy with a systemic velocity of -50000 m/s (NGC 404 in fact).&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;aparm(3) = 1&lt;br /&gt;aparm(4) = 0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;These set the velocity definition. The first sets the reference to heliocentric velocity, and the second tells AIPS to use the optical definition.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;aparm(5) = 1.420e09&lt;br /&gt;aparm(6) = 5752&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This sets the rest frequency of your line in GHz. AIPS does not have enough precision for all the significant figures, so you have to use two APARM values. If you're working with something other than HI, I recommend reading the help file to figure out how to input your frequency.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;aparm(7) = 1&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This is set to 1 for VLA data.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-2238391784147278377?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/2238391784147278377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=2238391784147278377' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2238391784147278377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2238391784147278377'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/09/combining-spectral-line-data-with.html' title='Combining VLA Spectral Line Data with Different Channel Spacings: a Solution!'/><author><name>Adrienne</name><uri>http://www.blogger.com/profile/00397473429623544442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5488304221340727904</id><published>2009-08-24T23:17:00.007-05:00</published><updated>2010-02-04T22:56:46.923-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>Measuring Spectral Lines</title><content type='html'>From reader Fred:&lt;br /&gt;&lt;blockquote&gt;When you've got spectral lines in emission, what's the best way of actually reliably measuring them in AIPS? Half the time, when JMFIT is run on a line, the peak and integrated fluxes come out identical (which makes me suspicious!).&lt;/blockquote&gt;&lt;br /&gt;my (small amount of) insight below the fold...&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I don't usually measure spectral lines in AIPS, and am much more likely to do it in say, IDL, so I don't have any direct insight for you. I'm guessing that JMFIT is not a good way to measure lines, though. I have used JMFIT a lot for measuring continuum point sources, and I can tell you that when the peak and the integrated flux come out to be about equal, this usually means that the source is unresolved. I'm guessing that your spectral lines aren't all actually unresolved (&lt;1 channel in width?), so perhaps JMFIT just doesn't really know what to do with spectral lines. The problem might be that it expects everything to be in terms of mJy/beam, and it usually knows what the beam is in RA/Dec coordinates, and so it is all set up to fit a gaussian to a source and figure out how many beams it covers and how many mJy it emits. This whole set-up doesn't makes much sense when you are talking about one of the coordinates being mJy/channel...&lt;br /&gt;&lt;br /&gt;So, I'm skeptical of using JMFIT, but it might be possible. Unfortunately I don't have other suggestions in AIPS, but I bet other people do?&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5488304221340727904?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5488304221340727904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5488304221340727904' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5488304221340727904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5488304221340727904'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/08/from-reader-fred-when-youve-got.html' title='Measuring Spectral Lines'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5860853994387803453</id><published>2009-08-17T16:44:00.005-05:00</published><updated>2009-08-24T23:28:28.160-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>Multiple contours on one plot</title><content type='html'>From reader Carl: &lt;br /&gt;&lt;blockquote&gt;Hey I'm bumping this because I have a question regarding contour plots. I'd like to overlay 3 separate contour plots onto each other. The AIPS documentation indicates that it can display plots from multiple images, but is a little ambiguous as to whether it can display the contour plots of both images, or just the contour of one and the greyscale of another. Reading the AIPS help file and playing with the task seem to hint that the latter is the case. I'm just wondering if anyone knows for sure whether this can be done in AIPS, and if so, how. Thanks!&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Thanks for the question Carl. See below for my response.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I don't know for sure because I've never tried it, but I'm pretty sure that you can only have one set of contours in KNTR. AIPS plotting is not the most flexible.&lt;br /&gt;&lt;br /&gt;Some solutions that might not be great:&lt;br /&gt;&lt;br /&gt;1) Use a programming language (Python, IDL, perl, C, fortran, etc) and a fits library to read in your files and then plot them exactly like you want.&lt;br /&gt;&lt;br /&gt;2) Make three different contour plots of exactly the same area and overlay them in Illustrator.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anybody else have some solutions?&lt;br /&gt;&lt;br /&gt; I'm wishing that for my latest paper, I'd done custom plots instead of AIPS plots. My hope is that the plotting situation will improve with CASA since it's all plugged into Python and the plotting libraries there.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5860853994387803453?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5860853994387803453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5860853994387803453' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5860853994387803453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5860853994387803453'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/08/multiple-contours-on-one-plot.html' title='Multiple contours on one plot'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3559691827803460372</id><published>2009-08-07T09:28:00.008-05:00</published><updated>2010-02-04T23:00:40.856-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>Flip frequency axis in UV data?</title><content type='html'>Hey, does anyone know an equivalent of 'TRANS' in the UV domain? I have two datasets that I need to DBCON, but they are in reverse order (i.e. CDELT &gt; 0 for one, and CDELT &lt; 0 for the other). Is there a task to flip the UV sideband?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3559691827803460372?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3559691827803460372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3559691827803460372' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3559691827803460372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3559691827803460372'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/08/flip-frequency-axis-in-uv-data.html' title='Flip frequency axis in UV data?'/><author><name>katie mae</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8033351591478156098</id><published>2009-08-06T02:12:00.005-05:00</published><updated>2010-02-04T22:41:03.776-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>Amplitude Self-Calibration and Flux Levels</title><content type='html'>If you want to get really high dynamic range, self-calibration is a necessary. (See &lt;a href="http://aipsforum.blogspot.com/2007/04/self-cal-according-to-claudia-as.html"&gt;this post&lt;/a&gt; for the basics of self-calibrating in AIPS.) However, getting the fluxes right (especially for weak extended emission) is tough. See below for more details.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt; Usually you start off with a phase calibration boxing more and more sources as you improve the model. I usually start boxing fairly conservatively and then box more freely in later phase self-calibration interations. The amplitude self-calibration, however, is slightly different in that you &lt;b&gt;need&lt;/b&gt; to include all the emission that's real and none that's not, i.e., you need to make the best possible image of your source. If you don't include all the emission (say the diffuse stuff), then you are essentially saying that there's zero flux in that part of the image and the fluxes in the resulting image will be forced downward closer to that value. &lt;br /&gt;&lt;br /&gt;There are a couple things to check to see how well you're doing with the flux estimates. One is to plot the visibility amplitudes vs. uv distance. They should be more or less the same. If you have amplitudes in the amplitude self-calibration data that are significantly below that in the unself-calibrated data you've got problems.  Another thing to check is how much total flux you're recovering. The total clean components you use (given in the output of IMAGR) should be close to the total flux in the image and the fluxes of sources shouldn't go down after amplitude self-calibration.&lt;br /&gt;&lt;br /&gt;Thanks to Crystal Brogan and Bill Cotton for their help with this issue.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8033351591478156098?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8033351591478156098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8033351591478156098' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8033351591478156098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8033351591478156098'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/08/amplitude-self-calibration-and-flux.html' title='Amplitude Self-Calibration and Flux Levels'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4822097452725299196</id><published>2009-06-22T11:01:00.007-05:00</published><updated>2010-02-04T23:01:08.954-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image deconvolution'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Mulit-Resolution Clean Tutorial?</title><content type='html'>Here is a very reasonable request from an anonymous reader:&lt;br /&gt;&lt;blockquote&gt;Can someone write about multi-resolution clean(MRC)..basically the steps involved and the way self cal should be carried out while using MRC ? thanks in advance.&lt;/blockquote&gt;&lt;br /&gt;which I can not fulfill, as I have never successfully pulled off a MRC. You might try looking at the EXPLAIN file for IMAGR in the section called "Extended Source Options".&lt;br /&gt;&lt;br /&gt;If anyone knows better resources for learning about how to implement multi-resolution clean, please let us know!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4822097452725299196?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4822097452725299196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4822097452725299196' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4822097452725299196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4822097452725299196'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/06/mulit-resolution-clean.html' title='Mulit-Resolution Clean Tutorial?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4997280111643935677</id><published>2009-06-22T10:53:00.001-05:00</published><updated>2009-06-22T10:55:03.406-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freqids'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>FreqID tolerance</title><content type='html'>And another question from reader Korinne:&lt;br /&gt;&lt;blockquote&gt;With data all observed looking for a particular spectral line over a few objects, should you use different frequency ids for the objects or can you use the same frequency id? I've been using a suggested value of a 2 MHz frequency tolerance in the manual which means they all end up with the same frequency id, but I do not know if it's right.&lt;/blockquote&gt;&lt;br /&gt;Thoughts?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4997280111643935677?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4997280111643935677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4997280111643935677' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4997280111643935677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4997280111643935677'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/06/freqid-tolerance.html' title='FreqID tolerance'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4363309957626309151</id><published>2009-06-22T10:42:00.005-05:00</published><updated>2010-02-04T23:02:10.813-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='Mosaicing'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>Combining Data with Different Pointings</title><content type='html'>Here is a question from reader Korinne:&lt;br /&gt;&lt;blockquote&gt;I have data from three VLA pointings in L band at the same frequency (with the same channel width) but with different pointing centres which cover an area of an object and partially overlap, unintentionally as the pointings don't overlap at the other frequency we observed that the observations were mostly set up for.&lt;br /&gt;&lt;br /&gt;What is the best way to combine this data? I initially imaged and cleaned and then combined with flatn, but it seems like there might be some way to do it at the uv level, but from my readings of the cookbook I can't figure out how I would go about that, particularly in slightly more detail.&lt;/blockquote&gt;&lt;br /&gt;My answer below the fold...&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I think you want DBCON, which can concatenate data in UV space. Try reading &lt;a href="http://aipsforum.blogspot.com/2007/09/complications-with-shamelessly-raiding.html"&gt; this post.&lt;/a&gt; The answer is basically that it depends on just how different your different data pointing are. &lt;br /&gt;&lt;br /&gt;If you are actually talking about mosaicing a source, where your various pointings are offset by significant fractions of the primary  beam, then FLATN might be your best bet. A bit more discussion of mosaicing &lt;a href="http://aipsforum.blogspot.com/search/label/Mosaicing"&gt; here. &lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4363309957626309151?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4363309957626309151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4363309957626309151' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4363309957626309151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4363309957626309151'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/06/combining-data-with-different-pointings.html' title='Combining Data with Different Pointings'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1562275667291640369</id><published>2009-06-14T11:40:00.008-05:00</published><updated>2010-02-04T23:02:30.700-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>Combining Spectral Line UV Data (with slightly different channel setups)</title><content type='html'>Update: See &lt;a href="http://aipsforum.blogspot.com/2009/09/combining-spectral-line-data-with.html"&gt;this lovely post by Adrienne&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a very good question from reader SillyWolf. I know several of us have been wondering how to concatenate spectral line data sets that have approx. the same wavelength coverage, but different channel setups (different widths, different centers). So any advice would be greatly appreciated by many people!&lt;br /&gt;&lt;blockquote&gt;There are two VLA archive data which were observed in spectral line mode. &lt;br /&gt;These two archive data cover very similar frequency range.&lt;br /&gt;The point is that:&lt;br /&gt;not only they have different pointing center (about 1 arcmin away from each other), but also their reference frequencies do not match each other, so their frequencies don't match channel by channel !!&lt;br /&gt;I want to combine these two data together. can I use DBCON to combine them in UV domain, or I have to resample one of these datacubes in image domain and combine them together? &lt;/blockquote&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1562275667291640369?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1562275667291640369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1562275667291640369' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1562275667291640369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1562275667291640369'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/06/combining-spectral-line-uv-data-with.html' title='Combining Spectral Line UV Data (with slightly different channel setups)'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5310567441427902547</id><published>2009-06-12T11:20:00.006-05:00</published><updated>2009-06-15T11:58:16.229-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Averaging Image Channels</title><content type='html'>Here is a good question from Sanch:&lt;br /&gt;&lt;blockquote&gt;I am trying to average spectral channels in an image cube. Can anyone suggest what's the best way&lt;br /&gt;to do it in AIPS?&lt;br /&gt;I don't want to go back to the UV data and re-reduce it to get the image, as the data I am&lt;br /&gt;working on is huge (VLBI data).&lt;/blockquote&gt;&lt;br /&gt;And some more details:&lt;br /&gt;&lt;blockquote&gt;She wants to average together channels in a channel map. In other words, she has a channel map with, say, 100 channels and she wants to turn it into a map with 50 channels. Channels 1 and 2 would be averaged together and become the new "Channel 1," channels 3 and 4 would be averaged together and become the new "Channel 2," and so on.&lt;/blockquote&gt;&lt;br /&gt;Thoughts, AIPS gurus?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5310567441427902547?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5310567441427902547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5310567441427902547' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5310567441427902547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5310567441427902547'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/06/averaging-image-channels.html' title='Averaging Image Channels'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3119835659675311096</id><published>2009-05-23T17:05:00.008-05:00</published><updated>2010-02-04T22:47:46.254-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Channels and CALIB</title><content type='html'>When one is self-calibrating a multi-channel data set, and one gives CALIB a BCHAN and ECHAN value, what is CALIB doing with the channels? Is it averaging them all before it calibrates? &lt;br /&gt;&lt;br /&gt;If it is doing that, then why bother making a Channel 0 data set to calibrate off of? Simply because CALIB runs much faster if it doesn't have to deal with multiple channels? Is there something wrong with using a multi-channel data set to do the initial calibration (on the phase cal + flux cal sources?)&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3119835659675311096?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3119835659675311096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3119835659675311096' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3119835659675311096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3119835659675311096'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/05/channels-and-calib.html' title='Channels and CALIB'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4656470480522408393</id><published>2009-05-13T10:51:00.014-05:00</published><updated>2009-05-13T16:32:27.056-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>A Coarse Course on 3-D imaging</title><content type='html'>An anonymous reader requests:&lt;br /&gt;can someone help me out by writing the detail process of 3d imaging/cleaning after split file is created? I am new to AIPS and any kind of help is welcomed. thanks in advance..&lt;br /&gt;&lt;br /&gt;I would recommend that you look at Joe Lazio's write-up, starting right about here:&lt;div&gt;&lt;a href="http://lwa.nrl.navy.mil/tutorial/node31.html"&gt;http://lwa.nrl.navy.mil/tutorial/node31.html &lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;He discusses using SETFC and IMAGR to image with multiple facets. &lt;/div&gt;&lt;div&gt;Some supplementary personal opinions of mine below the break...&lt;/div&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;So, what I would do is run SETFC as he instructs-- SETFC parameters look like:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 2: SETFC:  Task to make a BOXFILE for input to IMAGR&lt;br /&gt;AIPS 2: Adverbs     Values                 Comments&lt;br /&gt;AIPS 2: ----------------------------------------------------------------&lt;br /&gt;AIPS 2: INNAME     'NGC3631'               UV dataset name (name)&lt;br /&gt;AIPS 2: INCLASS    'AVSPC'                 UV dataset name (class)&lt;br /&gt;AIPS 2: INSEQ         1                    UV dataset name (seq. #)&lt;br /&gt;AIPS 2: INDISK        5                    Disk drive #&lt;br /&gt;AIPS 2: SOURCES    *all ' '                Source selected&lt;br /&gt;AIPS 2: BCOUNT        1                    First field number to use&lt;br /&gt;AIPS 2: BOXFILE    'N3631_610.BOX'&lt;br /&gt;AIPS 2:                                    disk file to write to (the&lt;br /&gt;AIPS 2:                                    input BOXFILE for IMAGR)&lt;br /&gt;AIPS 2: CELLSIZE      0.8         0.8      (X,Y) size of grid in asec&lt;br /&gt;AIPS 2: IMSIZE     2048        2048        field size&lt;br /&gt;AIPS 2: SHIFT         0           0        Position shift (RA,Dec) asec&lt;br /&gt;AIPS 2:                                    for all fields&lt;br /&gt;AIPS 2: FLUX          0                    Minimum component flux =&lt;br /&gt;AIPS 2:                                    (source * beam)&lt;br /&gt;AIPS 2: BPARM         0.35       10        (1) Inner region radius (deg)&lt;br /&gt;AIPS 2:               0           1.5      (2) Field overlap (pixels)&lt;br /&gt;AIPS 2:               0.1       512        (3) Factor to scale NVSS&lt;br /&gt;AIPS 2:             512        *rest 0         fluxes, 0 -&gt; 1&lt;br /&gt;AIPS 2:                                    (4) Radius NVSS search (deg)&lt;br /&gt;AIPS 2:                                    (5) Flux limit in NVSS (Jy)&lt;br /&gt;AIPS 2:                                    (6) IMSIZE for NVSS fields&lt;br /&gt;AIPS 2:                                    (7) IMSIZE for Sun fields&lt;br /&gt;AIPS 2:                                    (8) Write Clean boxes for&lt;br /&gt;AIPS 2:                                        NVSS fields&lt;br /&gt;AIPS 2:                                    (9) Maximum allowed phase&lt;br /&gt;AIPS 2:                                        error in imaging&lt;br /&gt;AIPS 2:                                    (10) Points per beaam&lt;br /&gt;AIPS 2: PBPARM     *all 0                  Beam parameters:&lt;br /&gt;AIPS 2:                                    (1) Cutoff; (2) Use (3)-(7)&lt;br /&gt;AIPS 2:                                    (3)-(7) Beam shape parms&lt;br /&gt;AIPS 2: INFILE     ' '&lt;br /&gt;AIPS 2:                                    NVSS input file name&lt;br /&gt;AIPS 2:                                    ' ' =&gt; AIPS provided.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;But I'd also make sure your CELLSIZE is small enough to thoroughly sample point sources. What i would do is run SETFC once with CELLSIZE= 0 and IMSIZE = 0, and then decrease the CELLSIZE by a factor of 2 or 3, add that to the SETFC parameters, and rerun SETFC. You can let it suggest an IMSIZE to you, given the new CELLSIZE. The max IMSIZE i like to use is 2048, because much bigger than that and IMAGR will average large number of pixels together to show you the field.&lt;br /&gt;&lt;br /&gt;Oftentimes I will tile the central portion of the image (out to ~1 primary beam, or to where bandwidth smearing really bites you, depending on the data; set by BPARM(1)) with bigger fields (IMSIZE=2048) and then let SETFC search for NVSS sources out to a radius ~2 times that of the primary beam (Radius set by BPARM(4)). I put smaller fields on these NVSS sources-- say 512 pixels (Set by BPARM(6)).&lt;br /&gt;&lt;br /&gt;So, then you will have a list of boxes saved in a file (labelled by BOXFILE). It's now time to image. My IMAGR parameters look like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 2: IMAGR: Wide field imaging/Clean task&lt;br /&gt;AIPS 2: Adverbs     Values                 Comments&lt;br /&gt;AIPS 2: ----------------------------------------------------------------&lt;br /&gt;AIPS 2: INNAME     'NGC3631'               Input UV data (name)&lt;br /&gt;AIPS 2: INCLASS    'UVCOP'                 Input UV data (class)&lt;br /&gt;AIPS 2: INSEQ         2                    Input UV data (seq. #)&lt;br /&gt;AIPS 2: INDISK        5                    Input UV data disk drive #&lt;br /&gt;AIPS 2: SOURCES    *all ' '                Source name&lt;br /&gt;AIPS 2: QUAL         -1                    Calibrator qualifier -1=&gt;all&lt;br /&gt;AIPS 2: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 2: TIMERANG   *all 0                  Time range to use&lt;br /&gt;AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 2: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 2: FREQID       -1                    Freq. ID to select.&lt;br /&gt;AIPS 2: SUBARRAY      0                    Sub-array, 0=&gt;all&lt;br /&gt;AIPS 2: ANTENNAS   *all 0                  Antennas to plot&lt;br /&gt;AIPS 2: BASELINE   *all 0                  Baselines with ANTENNAS&lt;br /&gt;AIPS 2: DOCALIB      -1                    &gt; 0 calibrate data &amp;amp; weights&lt;br /&gt;AIPS 2:                                    &gt; 99 do NOT calibrate weights&lt;br /&gt;AIPS 2: GAINUSE       0                    CL (or SN) table to apply&lt;br /&gt;AIPS 2: DOPOL        -1                    If &gt;0.5 correct polarization.&lt;br /&gt;AIPS 2: BLVER        -1                    BL table to apply.&lt;br /&gt;AIPS 2: FLAGVER       0                    Flag table version&lt;br /&gt;AIPS 2: DOBAND       -1                    If &gt;0.5 apply bandpass cal.&lt;br /&gt;AIPS 2:                                    Method used depends on value&lt;br /&gt;AIPS 2:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 2: BPVER        -1                    Bandpass table version&lt;br /&gt;AIPS 2: SMOOTH     *all 0                  Smoothing function. See&lt;br /&gt;AIPS 2:                                    HELP SMOOTH for details.&lt;br /&gt;AIPS 2: STOKES     ' '                     Stokes parameters (see HELP)&lt;br /&gt;AIPS 2: BCHAN         1                    Low freq. channel 0 for cont.&lt;br /&gt;AIPS 2: ECHAN        56                    Highest freq channel&lt;br /&gt;AIPS 2: CHANNEL       0                    Restart channel number&lt;br /&gt;AIPS 2: NCHAV        56                    Number of chan. to average.&lt;br /&gt;AIPS 2: CHINC         1                    Channel incr. between maps.&lt;br /&gt;AIPS 2: BIF           0                    First IF in average.&lt;br /&gt;AIPS 2: EIF           0                    Last IF in average.&lt;br /&gt;AIPS 2: OUTNAME    'N3631_6'               Output image name (name)&lt;br /&gt;AIPS 2: OUTDISK       5                    Output image disk drive #&lt;br /&gt;AIPS 2: OUTSEQ        0                    Output seq. no.&lt;br /&gt;AIPS 2: OUTVER        0                    CC ver. no (Continuum only)&lt;br /&gt;AIPS 2:                                    *** SET OUTVER ON RESTARTS&lt;br /&gt;AIPS 2: IN2NAME    ' '                     UV work file name&lt;br /&gt;AIPS 2: IN2CLASS   ' '                     UV work file class&lt;br /&gt;AIPS 2: IN2SEQ        0                    UV work file seq&lt;br /&gt;AIPS 2:                                    *** SET TO KEEP WORK FILE&lt;br /&gt;AIPS 2: IN2DISK       0                    UV work file disk&lt;br /&gt;AIPS 2: CELLSIZE      0.8         0.8      (X,Y) size of grid in asec&lt;br /&gt;AIPS 2: IMSIZE      512         512        Minimum image size&lt;br /&gt;AIPS 2: NFIELD       21                    Number of fields (max 4096)&lt;br /&gt;AIPS 2: DO3DIMAG      1                    &gt; 0 =&gt; use different tangent&lt;br /&gt;AIPS 2:                                    points for each field&lt;br /&gt;AIPS 2: FLDSIZE    *all 0                  Clean size of each field.&lt;br /&gt;AIPS 2: RASHIFT    *all 0                  RA shift per field (asec)&lt;br /&gt;AIPS 2: DECSHIFT   *all 0                  DEC shift per field (asec)&lt;br /&gt;AIPS 2: UVTAPER       0           0        (U,V) Gaussian taper&lt;br /&gt;AIPS 2:                                      units are kilo-lambda&lt;br /&gt;AIPS 2: UVRANGE       0           0        Min &amp;amp; max baseline (klambda)&lt;br /&gt;AIPS 2: GUARD         0           0        x,y guard band fractional&lt;br /&gt;AIPS 2:                                    radius&lt;br /&gt;AIPS 2: ROTATE        0                    Rotate image CCW from N by&lt;br /&gt;AIPS 2:                                    ROTATE degrees&lt;br /&gt;AIPS 2: ZEROSP     *all 0                  0-spacing fluxes and weights&lt;br /&gt;AIPS 2:                                    SEE HELP!!&lt;br /&gt;AIPS 2: UVWTFN     ' '                     UV dist. weight function&lt;br /&gt;AIPS 2: UVSIZE        0           0        Array size for doing uniform&lt;br /&gt;AIPS 2:                                    weights.  0 -&gt; actual field&lt;br /&gt;AIPS 2:                                    size.&lt;br /&gt;AIPS 2: ROBUST        0                    Robustness power: -5 -&gt; pure&lt;br /&gt;AIPS 2:                                    uniform weights, 5 =&gt; natural&lt;br /&gt;AIPS 2: UVBOX         0                    Additional rows and columns&lt;br /&gt;AIPS 2:                                    used in weighting.&lt;br /&gt;AIPS 2: UVBXFN        1                    Box function type when UVBOX&lt;br /&gt;AIPS 2:                                    &gt; 0.  0 -&gt; 1 round pill box.&lt;br /&gt;AIPS 2: XTYPE         5                    Conv. function type in x&lt;br /&gt;AIPS 2:                                      default spheroidal&lt;br /&gt;AIPS 2: YTYPE         5                    Conv. function type in y&lt;br /&gt;AIPS 2:                                      default spheroidal&lt;br /&gt;AIPS 2: XPARM      *all 0                  Conv. function parms for x&lt;br /&gt;AIPS 2: YPARM      *all 0                  Conv. function parms for y&lt;br /&gt;AIPS 2: NITER      130000                  Maximum # of Clean components&lt;br /&gt;AIPS 2: BCOMP      *all 0                  Begin at BCOMP component&lt;br /&gt;AIPS 2:                                    Specify for each field.&lt;br /&gt;AIPS 2: ALLOKAY       0                    For restart: &gt; 0 =&gt; beams&lt;br /&gt;AIPS 2:                                    okay, &gt; 1 =&gt; work file too&lt;br /&gt;AIPS 2: NBOXES        0                    Number of boxes for Clean&lt;br /&gt;AIPS 2:                                    NB: field 1 only.&lt;br /&gt;AIPS 2: CLBOX      *all 0                  Four coordinates for each box&lt;br /&gt;AIPS 2: BOXFILE    'N3631_610.BOX'         Input file of field params&lt;br /&gt;AIPS 2:                                    and Clean boxes; ' ' =&gt; use&lt;br /&gt;AIPS 2:                                    FLDSIZE, RASHIFT, DECSHIFT,&lt;br /&gt;AIPS 2:                                    NBOXES, CLBOX only.&lt;br /&gt;AIPS 2: OBOXFILE   'N3631_610.BOX'         Output file for final Clean&lt;br /&gt;AIPS 2:                                    boxes&lt;br /&gt;AIPS 2: GAIN          0.1                  Clean loop gain&lt;br /&gt;AIPS 2: FLUX          0                    Minimum Clean component (Jy)&lt;br /&gt;AIPS 2: MINPATCH    121                    Min. BEAM half-width in AP.&lt;br /&gt;AIPS 2: BMAJ          0                    FWHM(asec) major axis Clean&lt;br /&gt;AIPS 2:                                    restoring beam.&lt;br /&gt;AIPS 2: BMIN          0                    FWHM(asec) minor axis Clean&lt;br /&gt;AIPS 2:                                    restoring beam.&lt;br /&gt;AIPS 2: BPA           0                    Clean beam position angle&lt;br /&gt;AIPS 2: OVERLAP       2                    1 =&gt; restore components to&lt;br /&gt;AIPS 2:                                    overlapped fields, &gt;=2=&gt;&lt;br /&gt;AIPS 2:                                    expect overlaps in Cleaning&lt;br /&gt;AIPS 2: PHAT          0                    Prussian hat height.&lt;br /&gt;AIPS 2: FACTOR        0                    Speedup factor see HELP&lt;br /&gt;AIPS 2: CMETHOD    ' '                     Modeling method:&lt;br /&gt;AIPS 2:                                    'DFT','GRID','    '&lt;br /&gt;AIPS 2: IMAGRPRM   *all 0                  Task enrichment parameters&lt;br /&gt;AIPS 2:                                    (1) Antenna diameter (m)&lt;br /&gt;AIPS 2:                                    (2) Source Spectral index&lt;br /&gt;AIPS 2:                                    (3) Frequency scaling factor&lt;br /&gt;AIPS 2:                                    (4) &gt; 0 -&gt; SDI Clean factor&lt;br /&gt;AIPS 2:                                    (5) &gt;0 =&gt; scale residuals&lt;br /&gt;AIPS 2:                                    (6) Half-width in x of box&lt;br /&gt;AIPS 2:                                    (7) Half-width in y of box&lt;br /&gt;AIPS 2:                                    (8) Filter components whose&lt;br /&gt;AIPS 2:                                    neighborhood is weaker than&lt;br /&gt;AIPS 2:                                    IMAGRPRM(8) Jy.  0 -&gt; don't&lt;br /&gt;AIPS 2:                                    (9) Radius in pixels for the&lt;br /&gt;AIPS 2:                                    IMAGRPRM(8) test.&lt;br /&gt;AIPS 2:                                    (10) multiplier of image size&lt;br /&gt;AIPS 2:                                    to get beam size: 0 =&gt; 2;&lt;br /&gt;AIPS 2:                                    2, 1, 0.5 0.25 supported&lt;br /&gt;AIPS 2:                                    (11-16) Multi-resolution&lt;br /&gt;AIPS 2:                                    added controls&lt;br /&gt;AIPS 2:                                    (17) spectral index radius&lt;br /&gt;AIPS 2:                                         0 -&gt; no correction&lt;br /&gt;AIPS 2:                                    (19) Dynamic range limit&lt;br /&gt;AIPS 2:                                    (20) Retry factor (see help)&lt;br /&gt;AIPS 2: NGAUSS        0                    Number of resolutions to use&lt;br /&gt;AIPS 2: WGAUSS     *all 0                  Resolutions in arc sec &gt;= 0&lt;br /&gt;AIPS 2: FGAUSS     *all 0                  Minimum flux for each resol.&lt;br /&gt;AIPS 2: MAXPIXEL      0                    Maximum pixels searched in&lt;br /&gt;AIPS 2:                                    each major cycle.&lt;br /&gt;AIPS 2: IN3NAME    ' '                     Spectral index image name&lt;br /&gt;AIPS 2: IN3CLASS   ' '                     Spectral index image class&lt;br /&gt;AIPS 2: IN3SEQ        0                    Spectral index image sequence&lt;br /&gt;AIPS 2:                                    number&lt;br /&gt;AIPS 2: IN3DISK       0                    Spectral index image disk&lt;br /&gt;AIPS 2: IN4NAME    ' '                     Spectral curvature name&lt;br /&gt;AIPS 2: IN4CLASS   ' '                     Spectral curvature class&lt;br /&gt;AIPS 2: IN4SEQ        0                    Spectral curvature sequence&lt;br /&gt;AIPS 2:                                    number&lt;br /&gt;AIPS 2: IN4DISK       0                    Spectral curvature disk&lt;br /&gt;AIPS 2: FQTOL        -1                    Frequency tolerance in kHz&lt;br /&gt;AIPS 2:                                    (primary beam &amp;amp; spec index)&lt;br /&gt;AIPS 2: DOTV          1                    Display residuals on TV ?&lt;br /&gt;AIPS 2:                                    Start with field = DOTV&lt;br /&gt;AIPS 2: GRCHAN        0                    Graphics channel of boundary&lt;br /&gt;AIPS 2: BADDISK    *all 0                  Disks to avoid for scratch.&lt;br /&gt;&lt;/pre&gt;You're going to want to set CELLSIZE to the same value you used with SETFC. IMSIZE should be the size of the smallest field you are using-- so in this case, 512. Don't worry, IMAGR is smart enough to know that some of the fields are bigger than this.  NFIELD should be set to the number of fields output by SETFC. Set DO3D = 1 whenever you use facets. Set BOXFILE and OBOXFILE to the name of the file outputted from SETFC. Finally, set OVERLAP=2 and DOTV=1. See Joe Lazio's write-up for more detail on other parameters. &lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Don't be surprised that imaging with multiple facets can be realllly slooow...especially if you also have multiple channels. You're going to want to watch IMAGR run on the TV and set clean boxes around your sources, which can sometimes swallow up an entire afternoon or more. On the bright side, now that you have set OBOXFILE, all the clean boxes will be saved to it, so you might not have to watch IMAGR run on the TV next time (unless you say, have self-caled and a bunch of new sources have popped up which now need to be boxed).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The rough general idea is that IMAGR is going to try to find the facet with the brightest flux peak in it, and it will present this facet to you for cleaning. Put boxes around the sources in the facet with TVBOX/REBOX, and then click on CONTINUE CLEAN. IMAGR will now clean some flux out of these boxes, and search again for the facet with the brightest peak. Just keep boxing and continuing to clean until it seems like you've cleaned pretty deeply. There's a good chance some of the facets don't have any sources in them, in which case you can just not box anything at all and then tell IMAGR to CONTINUE CLEAN. If there are no boxes, it will not clean anything.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When you finally STOP CLEANING, IMAGR will restore all the clean components and present you with NFIELD images. You can then use these images to self calibrate, if you like.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If I am planning on doing several self cal iterations, I will often go through the facets and eliminate those with no sources. I just edit the BOX file to remove the facets with no sources, and then decrease the NFIELD parameter in IMAGR appropriately.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;When you're happy with your imaging, you can use FLATN to turn the many facets into one single big image. See the Lazio instructions here:&lt;/div&gt;&lt;div&gt;&lt;a href="http://lwa.nrl.navy.mil/tutorial/node36.html"&gt;http://lwa.nrl.navy.mil/tutorial/node36.html&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4656470480522408393?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4656470480522408393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4656470480522408393' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4656470480522408393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4656470480522408393'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/05/coarse-course-on-3-d-imaging.html' title='A Coarse Course on 3-D imaging'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6015024980438911030</id><published>2009-05-12T12:02:00.004-05:00</published><updated>2009-05-12T12:05:59.678-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Super Resolution</title><content type='html'>When people say they have 'super-resolved' their source-- say, by having a 0.75" beam for VLA 20 cm A config observations-- what do they mean? Did they just ask CLEAN to give them a 0.75" restoring beam? This makes me feel very nervous. What do you guys think? Is it a good idea in some cases?&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6015024980438911030?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6015024980438911030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6015024980438911030' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6015024980438911030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6015024980438911030'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/05/super-resolution.html' title='Super Resolution'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5147205631116568923</id><published>2009-04-15T15:24:00.005-05:00</published><updated>2009-04-15T15:32:36.368-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>AIPS Scripting Example Sans Commentary</title><content type='html'>For your viewing pleasure, here's an example AIPS script. What the script does is calibrate a VLA continuum data set (including polarization). Note that this script is NOT guaranteed to work for YOUR data! DO NOT USE THIS SCRIPT BLINDLY. I am posting this as an example of AIPS scripting, not as an example of how to reduce data.&lt;br /&gt;&lt;br /&gt;See below the cut for the code.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;* REDUCE.099&lt;br /&gt;*&lt;br /&gt;* Purpose: a set of routines designed to aid in the calibration process. Note that&lt;br /&gt;*          these procedures use stuff in VLAPROCS. RUN VLAPROCS before running &lt;br /&gt;*          routines in this file.&lt;br /&gt;*&lt;br /&gt;* NOTES on Run Files with AIPS: &lt;br /&gt;*&lt;br /&gt;*         AIPS is stupid, so indenting stuff with tab characters causes AIPS to &lt;br /&gt;*         barf on a run file.&lt;br /&gt;*&lt;br /&gt;*         To run a RUNFILE, create an environment variable in your shell with the &lt;br /&gt;*         directory where the runfile is. Name the runfile with something short &lt;br /&gt;*         ending in .099 (user number in hex; use EHEX in AIPS to find). In AIPS, &lt;br /&gt;*         change your version to version='myvlar080705'. Caution: you don't want &lt;br /&gt;*         any of your routine names or values to be the same as something already &lt;br /&gt;*         in AIPS. For example, naming a routine CLCAL will cause AIPS to use your&lt;br /&gt;*         CLCAL routine rather than the actual CLCAL routine. You read in your &lt;br /&gt;*         runfile with 'RUN reduce.099'. Changed the file and need to run again? &lt;br /&gt;*         Then just do RUN reduce.099 again. Note that AIPS doesn't get rid of &lt;br /&gt;*         the first instance of RUN reduce.099 in memory, so you need to use &lt;br /&gt;*         COMPRESS periodically to get rid of old reduce.099 stuff. COMPRESS also &lt;br /&gt;*         helps when you have issues after redefining variables etc. To nuke a &lt;br /&gt;*         procedure from the procedures list (help procs to see), use scratch. &lt;br /&gt;*         The procedure still takes up memory however until you run a compress. I &lt;br /&gt;*         haven't figured out how to get rid of old adverbs. &lt;br /&gt;*     &lt;br /&gt;*         Getting errors that say 'AIPS: SYMBOL?' means that POPS (the scripting &lt;br /&gt;*         language) doesn't recognize the command. Try help popsym to get a list &lt;br /&gt;*         of the commands available to you.&lt;br /&gt;* &lt;br /&gt;*         'TXTMAT: NO MEMBER NAME GIVEN' means that you should make sure there's&lt;br /&gt;*          procedure in the memory of AIPS.&lt;br /&gt;*&lt;br /&gt;*         Note that the read command expects single quotes about whatever you &lt;br /&gt;*         enter on the keyboard. Respond 'Y' rather than Y to any prompts.&lt;br /&gt;*      &lt;br /&gt;*         Make sure that the last line of the file is empty otherwise the last &lt;br /&gt;*         line of the program will not be read.&lt;br /&gt;*       &lt;br /&gt;*&lt;br /&gt;* Date              Programmer             Description of Changes&lt;br /&gt;* ----------------------------------------------------------------------&lt;br /&gt;* 3/21/06           A.A. Kepley            Original Code&lt;br /&gt;* 3/23/06           A.A. Kepley            Modified for new 12/05/05 dataset&lt;br /&gt;* 9/12/06     A.A. Kepley            Modified for use with AM694 dataset&lt;br /&gt;* 2/09/06           A.A. Kepley            Modified for use with AM643 dataset&lt;br /&gt;* ======================================================================&lt;br /&gt;*&lt;br /&gt;proc dreduceme&lt;br /&gt;*&lt;br /&gt;* Purpose: dummy procedure to create variables used later&lt;br /&gt;*&lt;br /&gt;* Inputs: none&lt;br /&gt;*&lt;br /&gt;* Outputs: none&lt;br /&gt;* &lt;br /&gt;* Method: none&lt;br /&gt;* &lt;br /&gt;* Date              Programmer             Description of Changes&lt;br /&gt;* ----------------------------------------------------------------------&lt;br /&gt;* 3/21/06           A.A. Kepley            Original Code&lt;br /&gt;* 3/23/06           A.A. Kepley            Modified for new 12/05/05 dataset&lt;br /&gt;*&lt;br /&gt;     string*8 pri_cal                         $ name of primary calibrator.&lt;br /&gt;     string*8 sec_cal                         $ name of secondary calibrator. Also&lt;br /&gt;                                              $ used to calibrate the instrumental&lt;br /&gt;                                              $ polarization response.&lt;br /&gt;     string*8 obj_name(15)                    $ name of object (maybe more than 1). &lt;br /&gt;     scalar   nobj                            $ number of objects&lt;br /&gt;     string*50 myoutname                      $ name of output file for various &lt;br /&gt;                                              $ tasks.&lt;br /&gt;     string*15 dataprefix                     $ what data set I'm reducing.&lt;br /&gt;     scalar   myrefant                        $ reference antenna (1-29).&lt;br /&gt;     string*8 myprompt                        $ prompt value.&lt;br /&gt;     scalar   polangle                        $ polarization angle&lt;br /&gt;     array   pri_uvr(2)                   $ set uvrange for primary calibrator&lt;br /&gt;     array   sec_uvr(2)                   $ set uvrange for secondary calibrators&lt;br /&gt;     scalar  mysolint                          $ set my solution interval&lt;br /&gt;     scalar  mypsolint    $ set my solution interval for my polarization&lt;br /&gt;*&lt;br /&gt;return;finish&lt;br /&gt;*&lt;br /&gt;* ======================================================================&lt;br /&gt;*&lt;br /&gt;proc reduceme&lt;br /&gt;*&lt;br /&gt;* Purpose: Main calibration routine. This routine pretty thoroughly clobbers&lt;br /&gt;*          your AIPS environment you might want to do a save at the command &lt;br /&gt;*          line so you can go back to the way things were (using get) &lt;br /&gt;* &lt;br /&gt;* Inputs:  The user needs to change the values for INNAME, INCLASS, INSEQ, &lt;br /&gt;*          INDISK, PRI_CAL, SEC_CAL, OBJ_NAME, DATAPREFIX, and MYREFANT for&lt;br /&gt;*          each data set.             .&lt;br /&gt;*&lt;br /&gt;* Outputs: calibrated data set with final calibration table in CL 3 and &lt;br /&gt;*          gain and phase calibration table in CL 2. This task also produces a &lt;br /&gt;*          number of files in order to check on the calibration in your main home&lt;br /&gt;*          directory. If you run reduceme several times, the information from the &lt;br /&gt;*          later runs will be appended to the files. The files also include the&lt;br /&gt;*          task input parameters used to run the tasks. The files are named with &lt;br /&gt;*          the data set you are reducing, the object name, and the task which was &lt;br /&gt;*          run.&lt;br /&gt;*          &lt;br /&gt;* Method:  This calibration routine is for single channel continuum calibration &lt;br /&gt;*          including polarization calibration. It follows the procedures in &lt;br /&gt;*          Chapter 4 of the 31DEC05 version of the AIPS Cookbook closely.&lt;br /&gt;*          It uses the old method of calibrating the primary flux calibrator &lt;br /&gt;*          uv limits rather than a model of the source.&lt;br /&gt;* &lt;br /&gt;*          REMEMBER TO CHECK ALL OUTPUT TO MAKE SURE THE REDUCTION WENT WELL AND&lt;br /&gt;*          THAT THE ROUTINE IS DOING WHAT YOU THINK IT SHOULD BE DOING. &lt;br /&gt;* &lt;br /&gt;* Date              Programmer             Description of Changes&lt;br /&gt;* ----------------------------------------------------------------------&lt;br /&gt;* 3/21/06           A.A. Kepley            Original Code&lt;br /&gt;* 3/23/06           A.A. Kepley            Modified for new 12/05/05 dataset&lt;br /&gt;* 9/12/06           A.A. Kepley            Modified for AM694_1 dataset&lt;br /&gt;* 2/09/07           A.A. Kepley            Modified for AM643_1 dataset&lt;br /&gt;&lt;br /&gt;* cleaning things up.&lt;br /&gt;     clrmsg&lt;br /&gt;     dowait true&lt;br /&gt;     default getjy&lt;br /&gt;     default setjy&lt;br /&gt;     default calib&lt;br /&gt;     default clcal&lt;br /&gt;     default listr&lt;br /&gt;     default pcal&lt;br /&gt;     default rldif&lt;br /&gt;     default clcor&lt;br /&gt;&lt;br /&gt;* input file to calibrate &lt;br /&gt;     INNAME     'AM643_1     '          $ Input image name (name)&lt;br /&gt;     INCLASS    'X BAND'                $ Input image name (class)&lt;br /&gt;     INSEQ         1                    $ Input image name (seq. #)&lt;br /&gt;     INDISK        1                    $ Input image disk unit #&lt;br /&gt;&lt;br /&gt;* primary, secondary calibrator, and object to calibrate&lt;br /&gt;     pri_cal = '0521+166'&lt;br /&gt;     sec_cal = '0244+624'&lt;br /&gt;     obj_name = 'N1569',''&lt;br /&gt;     &lt;br /&gt;* Other defaults for calibration&lt;br /&gt;     nobj = 1&lt;br /&gt;     dataprefix = 'AM643_1.'&lt;br /&gt;     myrefant = 5&lt;br /&gt;     flagver 1&lt;br /&gt;     pri_uvr = 0,45            $ since the data are all less than 20 klamdba &lt;br /&gt;     sec_uvr = 0,0             $ this isn't too important&lt;br /&gt;     polangle = -20&lt;br /&gt;     mysolint = 0.0&lt;br /&gt;     mypsolint = 1.0&lt;br /&gt;&lt;br /&gt;* Run setjy to find the flux value for the primary calibrator&lt;br /&gt;     prtask 'SETJY'                     $ clearing out the results&lt;br /&gt;     clrmsg                             $ of previous runs of setjy.&lt;br /&gt;     task 'SETJY'&lt;br /&gt;     sources pri_cal,''&lt;br /&gt;     optype 'calc'&lt;br /&gt;     calcode ''&lt;br /&gt;     freqid 1&lt;br /&gt;     aparm 0&lt;br /&gt;     go&lt;br /&gt;* Save the results of the setjy run&lt;br /&gt;     myoutname dataprefix !! pri_cal !! '.SETJY'&lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname  &lt;br /&gt;     prtask 'AIPS'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs setjy                       $ printing out the setjy inputs&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'setjy'                     $ printing out the setjy results&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* Run VLACALIB on the primary calibrator&lt;br /&gt;*     calsour pri_cal,''&lt;br /&gt;*     calcode ''&lt;br /&gt;*     uvrange pri_uvr&lt;br /&gt;*     refant myrefant&lt;br /&gt;*     snver 1&lt;br /&gt;*     minamper 10&lt;br /&gt;*     minphser 10&lt;br /&gt;*     docalib false &lt;br /&gt;*     gainuse 0&lt;br /&gt;*     doprint 1&lt;br /&gt;*     myoutname dataprefix !! pri_cal !! '.CALIB'&lt;br /&gt;*     outprint myoutname&lt;br /&gt;*     vlacalib&lt;br /&gt;&lt;br /&gt;* Run VLACALIB on the secondary calibrator&lt;br /&gt;*     calsour sec_cal,''&lt;br /&gt;*     calcode ''&lt;br /&gt;*     uvrange sec_uvr&lt;br /&gt;*     refant myrefant&lt;br /&gt;*     snver 1&lt;br /&gt;*     minamper 10&lt;br /&gt;*     minphser 10&lt;br /&gt;*     doprint 1&lt;br /&gt;*     myoutname dataprefix !! sec_cal !! '.CALIB'&lt;br /&gt;*     outprint myoutname&lt;br /&gt;*     vlacalib&lt;br /&gt;&lt;br /&gt;* Run CALIB on the primary calibrator&lt;br /&gt;     prtask 'CALIB'&lt;br /&gt;     clrmsg&lt;br /&gt;     task 'CALIB'&lt;br /&gt;     calsour pri_cal,''&lt;br /&gt;     calcode ''&lt;br /&gt;     bchan 1&lt;br /&gt;     echan 0&lt;br /&gt;     antennas 0&lt;br /&gt;     uvrange pri_uvr&lt;br /&gt;     weightit 0&lt;br /&gt;     snver 1&lt;br /&gt;     minamper 10&lt;br /&gt;     minphser 10&lt;br /&gt;     docalib false &lt;br /&gt;     clr2name&lt;br /&gt;     clroname&lt;br /&gt;     refant myrefant&lt;br /&gt;     gainuse 0&lt;br /&gt;     dopol false&lt;br /&gt;     doband false&lt;br /&gt;     solint mysolint&lt;br /&gt;     solsub 0&lt;br /&gt;     solmin 0&lt;br /&gt;     soltype ''&lt;br /&gt;     aparm  4,0&lt;br /&gt;     aparm(6) 2&lt;br /&gt;     solmode 'A&amp;P'&lt;br /&gt;     cparm 0, 0, minamper/10, minphser/10, 1, 0    &lt;br /&gt;     go&lt;br /&gt;* Save results of CALIB run&lt;br /&gt;     myoutname dataprefix !! pri_cal !! '.CALIB'     &lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname&lt;br /&gt;     prtask 'AIPS'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs calib&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'calib'&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* Run CALIB on the secondary calibrator&lt;br /&gt;     prtask 'CALIB'&lt;br /&gt;     clrmsg&lt;br /&gt;     task 'CALIB'&lt;br /&gt;     calsour sec_cal,''&lt;br /&gt;     calcode ''&lt;br /&gt;     bchan 1&lt;br /&gt;     echan 0&lt;br /&gt;     antennas 0&lt;br /&gt;     uvrange sec_uvr&lt;br /&gt;     weightit 0&lt;br /&gt;     snver 1&lt;br /&gt;     minamper 10&lt;br /&gt;     minphser 10&lt;br /&gt;     docalib false &lt;br /&gt;     clr2name&lt;br /&gt;     clroname&lt;br /&gt;     refant myrefant&lt;br /&gt;     gainuse 0&lt;br /&gt;     dopol false&lt;br /&gt;     doband false&lt;br /&gt;     solint mysolint&lt;br /&gt;     solsub 0&lt;br /&gt;     solmin 0&lt;br /&gt;     soltype ''&lt;br /&gt;     aparm  4,0&lt;br /&gt;     aparm(6) 2&lt;br /&gt;     solmode 'A&amp;P'&lt;br /&gt;     cparm 0, 0, minamper/10, minphser/10, 1, 0    &lt;br /&gt;     go&lt;br /&gt;* Save results of CALIB run&lt;br /&gt;     myoutname dataprefix !! sec_cal !! '.CALIB'     &lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname&lt;br /&gt;     prtask 'AIPS'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs calib&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'calib'&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* Transfering the flux density scale determined by the primary calibrator &lt;br /&gt;* to the secondary calibrator and the polarization angle calibrator&lt;br /&gt;     prtask 'getjy'&lt;br /&gt;     clrmsg&lt;br /&gt;     task 'getjy'&lt;br /&gt;     sources sec_cal,''&lt;br /&gt;     soucode ''&lt;br /&gt;     calsour pri_cal,''&lt;br /&gt;     calcode ''&lt;br /&gt;     bif 1; eif 2&lt;br /&gt;     freqid 1&lt;br /&gt;     snver 1&lt;br /&gt;     go&lt;br /&gt;* Save the results of the setjy run&lt;br /&gt;     myoutname dataprefix !! sec_cal !! '.GETJY'&lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname&lt;br /&gt;     prtask 'aips'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs getjy&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'getjy'&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* Applying the gain and phase solutions from the secondary calibrator to the data&lt;br /&gt;     prtask 'clcal'&lt;br /&gt;     clrmsg&lt;br /&gt;     task 'clcal'&lt;br /&gt;     sources sec_cal, obj_name, ''&lt;br /&gt;     soucode ''&lt;br /&gt;     calsour sec_cal,''&lt;br /&gt;     calcode ''&lt;br /&gt;     opcode 'cali'&lt;br /&gt;     interpol '2pt'&lt;br /&gt;     doblank 1&lt;br /&gt;     dobtween 0&lt;br /&gt;     snver 1&lt;br /&gt;     gainver 1&lt;br /&gt;     gainuse 2&lt;br /&gt;     refant myrefant&lt;br /&gt;     go&lt;br /&gt;* Save the results of the calib run&lt;br /&gt;     myoutname dataprefix !! sec_cal !! '.CLCAL'&lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname&lt;br /&gt;     prtask 'aips'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs clcal&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'clcal'&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* Applying the gain and phase solutions from the primary calibrator to the &lt;br /&gt;* primary calibrator &lt;br /&gt;     prtask 'clcal'&lt;br /&gt;     clrmsg&lt;br /&gt;     task 'clcal'&lt;br /&gt;     sources pri_cal,''&lt;br /&gt;     soucode ''&lt;br /&gt;     calsour pri_cal,''&lt;br /&gt;     calcode ''&lt;br /&gt;     opcode 'cali'&lt;br /&gt;     interpol '2pt'&lt;br /&gt;     doblank 1&lt;br /&gt;     dobtween 0&lt;br /&gt;     snver 1&lt;br /&gt;     gainver 1&lt;br /&gt;     gainuse 2&lt;br /&gt;     refant myrefant&lt;br /&gt;     go&lt;br /&gt;* Save the results of the calib run&lt;br /&gt;     myoutname dataprefix !! pri_cal !! '.CLCAL'&lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname&lt;br /&gt;     prtask 'aips'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs clcal&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'clcal'&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* looking at the results of the gain and phase calibration&lt;br /&gt;     task 'listr'&lt;br /&gt;     optype 'matx'&lt;br /&gt;     sources pri_cal,''&lt;br /&gt;     uvrange pri_uvr&lt;br /&gt;     calcode ''&lt;br /&gt;     stokes ''&lt;br /&gt;     freqid 1&lt;br /&gt;     bif 1; eif 1&lt;br /&gt;     docalib 2&lt;br /&gt;     gainuse 2&lt;br /&gt;     dparm 5, 1, 0                $ plot scalar averaged amp+phase&lt;br /&gt;     docrt false&lt;br /&gt;     myoutname dataprefix !! pri_cal !! '.GPCALRES'&lt;br /&gt;     outprint myoutname&lt;br /&gt;     go&lt;br /&gt;     bif 2; eif 2&lt;br /&gt;     go&lt;br /&gt;&lt;br /&gt;     task 'listr'&lt;br /&gt;     optype 'matx'&lt;br /&gt;     sources sec_cal,''&lt;br /&gt;     uvrange sec_uvr&lt;br /&gt;     calcode ''&lt;br /&gt;     stokes ''&lt;br /&gt;     freqid 1&lt;br /&gt;     bif 1; eif 1&lt;br /&gt;     docalib 2&lt;br /&gt;     gainuse 2&lt;br /&gt;     dparm 5, 1, 0                $ plot scalar averaged amp+phase&lt;br /&gt;     docrt false&lt;br /&gt;     myoutname dataprefix !! sec_cal !! '.GPCALRES'&lt;br /&gt;     outprint myoutname&lt;br /&gt;     go&lt;br /&gt;     bif 2; eif 2&lt;br /&gt;     go&lt;br /&gt;&lt;br /&gt;     bif 1; eif 2&lt;br /&gt;&lt;br /&gt;* prompting to see if I want to do polarization calibration&lt;br /&gt;     print 'Do polarization calibration (Y/N)?'&lt;br /&gt;     read myprompt&lt;br /&gt;     if myprompt = 'N' then &lt;br /&gt;         return&lt;br /&gt;     end&lt;br /&gt;&lt;br /&gt;* Calibrating the instrumental polarization &lt;br /&gt;     prtask 'pcal'&lt;br /&gt;     clrmsg&lt;br /&gt;     task 'pcal'&lt;br /&gt;     calsour sec_cal,''&lt;br /&gt;     docalib 2&lt;br /&gt;     gainuse 2&lt;br /&gt;     solint mypsolint&lt;br /&gt;     soltype 'appr'&lt;br /&gt;     prtlev 1&lt;br /&gt;     bparm 0&lt;br /&gt;     cparm 0&lt;br /&gt;     go&lt;br /&gt;* Save the results of the pcal run&lt;br /&gt;     myoutname dataprefix !! sec_cal !! '.PCAL'&lt;br /&gt;     docrt false&lt;br /&gt;     outprint myoutname&lt;br /&gt;     prtask 'aips'&lt;br /&gt;     clrmsg&lt;br /&gt;     inputs pcal&lt;br /&gt;     prtmsg&lt;br /&gt;     prtask 'pcal'&lt;br /&gt;     prtmsg&lt;br /&gt;&lt;br /&gt;* calibrate the absolute phase angle using either 3C286 (1331+305) or &lt;br /&gt;* 3C138 (0521+166)&lt;br /&gt;    prtask 'rldif'&lt;br /&gt;    clrmsg&lt;br /&gt;    task 'rldif'&lt;br /&gt;    sources pri_cal,''&lt;br /&gt;    uvrange pri_uvr&lt;br /&gt;    docalib 2&lt;br /&gt;    gainuse 2&lt;br /&gt;    dopol true&lt;br /&gt;    docrt false&lt;br /&gt;    myoutname dataprefix !! pri_cal !! '.RLDIF'&lt;br /&gt;    outprint myoutname&lt;br /&gt;    go&lt;br /&gt;&lt;br /&gt;* changing RLdif output to a phase offset correction    &lt;br /&gt;* I've changed the following (9/12/06) so that the polarization angle is set &lt;br /&gt;* earlier in the program depending on what polarization angle source is used.&lt;br /&gt;    for i = 1:2&lt;br /&gt;         clcorprm(i) = polangle - clcorprm(i)&lt;br /&gt;    end&lt;br /&gt;&lt;br /&gt;    print 'finish clcorprm'&lt;br /&gt;&lt;br /&gt;* applying the polarization corrections to the data&lt;br /&gt;    prtask 'clcor'&lt;br /&gt;    clrmsg&lt;br /&gt;    task 'clcor'&lt;br /&gt;    sources ''&lt;br /&gt;    stokes 'L'&lt;br /&gt;    gainver 2&lt;br /&gt;    gainuse 3&lt;br /&gt;    opcode 'polr'&lt;br /&gt;    go&lt;br /&gt;* saving the results of the clcor run&lt;br /&gt;    myoutname dataprefix !! obj_name(1) !! '.CLCOR'&lt;br /&gt;    docrt false&lt;br /&gt;    outprint myoutname&lt;br /&gt;    prtask 'aips'&lt;br /&gt;    clrmsg&lt;br /&gt;    inputs clcor&lt;br /&gt;    prtmsg&lt;br /&gt;    prtask 'clcor'&lt;br /&gt;    prtmsg&lt;br /&gt;&lt;br /&gt;* checking the polarization calibration&lt;br /&gt;    task 'rldif'&lt;br /&gt;    sources pri_cal, sec_cal,''&lt;br /&gt;    uvrange pri_uvr&lt;br /&gt;    freqid 1&lt;br /&gt;    bif 1; eif 2&lt;br /&gt;    docalib 2&lt;br /&gt;    gainuse 3&lt;br /&gt;    dopol 1&lt;br /&gt;    docrt false&lt;br /&gt;    myoutname dataprefix !! pri_cal !! '.PCALRES'&lt;br /&gt;    outprint myoutname&lt;br /&gt;    go&lt;br /&gt;&lt;br /&gt;return;finish&lt;br /&gt;*&lt;br /&gt;* ======================================================================&lt;br /&gt;*&lt;br /&gt;proc killcal&lt;br /&gt;*&lt;br /&gt;* Purpose: clean up old calibration to run new calibration.&lt;br /&gt;*&lt;br /&gt;* Inputs: none&lt;br /&gt;*&lt;br /&gt;* Outputs: deletes all CL tables except CL 1 and all SN tables.&lt;br /&gt;*&lt;br /&gt;* Method: none&lt;br /&gt;* &lt;br /&gt;* Date              Programmer             Description of Changes&lt;br /&gt;* ----------------------------------------------------------------------&lt;br /&gt;* 3/21/06           A.A. Kepley            Original Code&lt;br /&gt;*&lt;br /&gt;*&lt;br /&gt;    vlareset&lt;br /&gt;    inext 'sn'&lt;br /&gt;    invers -1&lt;br /&gt;    extdest&lt;br /&gt;&lt;br /&gt;return; finish&lt;br /&gt;*&lt;br /&gt;* ======================================================================&lt;br /&gt;*&lt;br /&gt;proc test&lt;br /&gt;* &lt;br /&gt;* Purpose: test stuff&lt;br /&gt;* &lt;br /&gt;     print 'Y or N'&lt;br /&gt;     read myprompt&lt;br /&gt;     print myprompt&lt;br /&gt;     if myprompt = 'Y' then &lt;br /&gt;          print 'Yay for Yes!'&lt;br /&gt;          return&lt;br /&gt;     else &lt;br /&gt;          print 'Boo for no!'&lt;br /&gt;     end&lt;br /&gt;&lt;br /&gt;     print 'hello world'&lt;br /&gt;&lt;br /&gt;return; finish&lt;br /&gt;* &lt;br /&gt;* ====================================================================== &lt;br /&gt;*&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5147205631116568923?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5147205631116568923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5147205631116568923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5147205631116568923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5147205631116568923'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/04/aips-scripting-example-sans-commentary.html' title='AIPS Scripting Example Sans Commentary'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6016052574374027569</id><published>2009-04-15T15:14:00.005-05:00</published><updated>2009-06-14T11:59:01.434-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>AIPS Scripting: Progress Update</title><content type='html'>From reader Bruce:&lt;br /&gt;&lt;blockquote&gt;This scripting stuff is very useful, but I can't find scripting AIPS #3 and etc. Is it out there?&lt;br /&gt;&lt;br /&gt;I have lots of files to input, run sdgrid on, then write out. I have no idea how I could go about making sure stuff gets in the right slot to work for any given task.&lt;/blockquote&gt;&lt;br /&gt;The short answer is that I haven't gotten around to writing it yet. (thesis) I'll put it on my to-do list for my observing run next month. It's a good task for 2 in the morning. I'll post an example script without commentary, in case some one would find it useful. &lt;br /&gt;&lt;br /&gt;The slightly longer answer is that you don't need to worry about catalog slots. Instead of dealing with stuff through the getn mechanism, i.e., getn 209, you want to use the actual name of the file (INNAME, INCLASS, INSEQ, INDISK, etc.). That way you know you have the file you want, and don't have to depend on the catalog number always being the same.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6016052574374027569?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6016052574374027569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6016052574374027569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6016052574374027569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6016052574374027569'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/04/aips-scripting-update-on-where-number-3.html' title='AIPS Scripting: Progress Update'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1786151587507251170</id><published>2009-03-07T12:16:00.005-06:00</published><updated>2010-02-04T23:02:42.146-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>More Missing Flux Cals</title><content type='html'>I'm reducing archival data, and a flux calibrator was unfortunately not taken at the beginning and the end of the observation. It was only taken at the beginning, and when I read the data in with FILLM, FILLM says that the antennas moved between my flux cal and my phase cal/data. FILLM then puts the flux cal in a different UV file from the data/phase cal.&lt;br /&gt;&lt;br /&gt;I'm thinking the antennas couldn't have moved THAT much over 15 minutes (and all i want is a flux anyway), so I'd still like to use the flux cal (also there are no appropriate recent fluxes for the phase cal in any of the NRAO databases that Claudia suggested.) Is there a way to&lt;br /&gt;a) apply a flux calibration solution from another uv file?&lt;br /&gt;or&lt;br /&gt;b) relax FILLM's requirements so that it will not be so sensitive to moving antennas and put everything in one file?&lt;br /&gt;or&lt;br /&gt;c) append a source to another UV file? I know uvglu appends in frequency, but i don't think it appends sources.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1786151587507251170?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1786151587507251170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1786151587507251170' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1786151587507251170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1786151587507251170'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/03/more-missing-flux-cals.html' title='More Missing Flux Cals'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-730542361832976169</id><published>2009-03-05T21:11:00.003-06:00</published><updated>2009-03-05T21:23:36.254-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wisconsin Banana Recipes'/><title type='text'>WBR Step 7C: Apply Your Calibration</title><content type='html'>After you have calibrated your calibrators, you are going to want to apply this calibration to your source data-- the object you actually care about imaging.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;First, you need to make  a CL table that interpolates the amplitude/phase solutions found every ~30 minutes for the phase calibrator to your source data. You can use CLCAL or VLACLCAL to do this. Let's say your sources are "PHS_CAL' and 'COOL_GAL', and you have a lovely SN table for 'PHS_CAL' which you determined using the steps in Section 6. Then your inputs to CLCAL will look like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: CLCAL     Task to manage SN and CL calibration tables&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     'NICE_DATA'            Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'L BAND'                Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         2                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input UV file disk unit #&lt;br /&gt;AIPS 1: SOURCES    'PHS_CAL'              Source list to calibrate&lt;br /&gt;AIPS 1:            'COOL_GAL'  *rest ' '&lt;br /&gt;AIPS 1: SOUCODE    ' '                     Source "Cal codes"&lt;br /&gt;AIPS 1: CALSOUR    'PHS_CAL'              Cal sources for calibration&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Source qualifier -1=&gt;all&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to calibrate&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;all,&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas selected, 0=&gt; all&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID       -1                    Freq. ID to select.&lt;br /&gt;AIPS 1: OPCODE     ' '                     Operation 'MERG','CALI',&lt;br /&gt;AIPS 1:                                    'CALP'; ' ' =&gt; 'CALI'&lt;br /&gt;AIPS 1: INTERPOL   '2PT'                   Interpolation function,&lt;br /&gt;AIPS 1:                                    choices are: '2PT','SIMP',&lt;br /&gt;AIPS 1:                                    'AMBG','CUBE','SELF','POLY',&lt;br /&gt;AIPS 1:                                    'SELN'; see HELP for details&lt;br /&gt;AIPS 1: CUTOFF        0                    Interpolation limit in&lt;br /&gt;AIPS 1:                                    time (min); 0=&gt; no limit.&lt;br /&gt;AIPS 1: SAMPTYPE   ' '                     Smoothing function&lt;br /&gt;AIPS 1: BPARM      *all 0                  Smoothing parameters&lt;br /&gt;AIPS 1: ICUT          0.1                  Cutoff for functional forms&lt;br /&gt;AIPS 1: DOBLANK       0                    Blanked value interpolation&lt;br /&gt;AIPS 1: DOBTWEEN      0                    &gt; 0 -&gt; smooth all sources&lt;br /&gt;AIPS 1:                                    together; else separate them&lt;br /&gt;AIPS 1: SMOTYPE    ' '                     Data to smooth&lt;br /&gt;AIPS 1: SNVER         0                    Input SN table, 0=&gt;all.&lt;br /&gt;AIPS 1: INVERS        0                    Upper SN table vers in a&lt;br /&gt;AIPS 1:                                    range.  0=&gt;SNVER&lt;br /&gt;AIPS 1: GAINVER       1                    Input Cal table 0=&gt;high&lt;br /&gt;AIPS 1: GAINUSE       2                    Output CAL table 0=&gt;high+1&lt;br /&gt;AIPS 1: REFANT        8                    Reference antenna 0=&gt;pick.&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disks to avoid for scratch&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now CL table #2 has all the info you need to calibrate your data!&lt;br /&gt;&lt;br /&gt;Next, you want to apply this calibration and split your 'COOL_GAL' data off into a single source file. For this, use SPLIT.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: SPLIT     Task to split multi-source uv data to single source&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1:                                    also works on single files.&lt;br /&gt;AIPS 1: INNAME     'NICE_DATA'            Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'L BAND'                Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         2                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input UV file disk unit #&lt;br /&gt;AIPS 1: SOURCES    'COOL_GAL'             Source list&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Source qualifier -1=&gt;all&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to copy&lt;br /&gt;AIPS 1: STOKES     ' '                     Stokes type to pass.&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID       -1                    Freq. ID to select.&lt;br /&gt;AIPS 1: BIF           0                    Lowest IF number 0=&gt;all&lt;br /&gt;AIPS 1: EIF           0                    Highest IF number 0=&gt;all&lt;br /&gt;AIPS 1: BCHAN         0                    Lowest channel number 0=&gt;all&lt;br /&gt;AIPS 1: ECHAN         0                    Highest channel number&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;all&lt;br /&gt;AIPS 1: DOCALIB       2                    &gt; 0 calibrate data &amp; weights&lt;br /&gt;AIPS 1:                                    &gt; 99 do NOT calibrate weights&lt;br /&gt;AIPS 1: GAINUSE       2                    CL (or SN) table to apply&lt;br /&gt;AIPS 1: DOPOL        -1                    If &gt;0 correct polarization.&lt;br /&gt;AIPS 1: BLVER         -1                    BL table to apply.&lt;br /&gt;AIPS 1: FLAGVER       0                    Flag table version&lt;br /&gt;AIPS 1: DOBAND       -1                    If &gt;0 apply bandpass cal.&lt;br /&gt;AIPS 1:                                    Method used depends on value&lt;br /&gt;AIPS 1:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 1: BPVER         1                    Bandpass table version&lt;br /&gt;AIPS 1: SMOOTH     *all 0                  Smoothing function. See&lt;br /&gt;AIPS 1:                                    HELP SMOOTH for details.&lt;br /&gt;AIPS 1: OUTCLASS   'SPLIT'                 Output UV file name (class)&lt;br /&gt;AIPS 1: OUTSEQ        0                    Output UV file name (seq. #)&lt;br /&gt;AIPS 1: OUTDISK       0                    Output UV file disk unit #.&lt;br /&gt;AIPS 1: DOUVCOMP     -1                    1 (T) =&gt; compressed data&lt;br /&gt;AIPS 1: APARM      *all 0                  Control information:&lt;br /&gt;AIPS 1:                                      1 = 1 =&gt; avg. freq. in IF&lt;br /&gt;AIPS 1:                                               multi-channel out&lt;br /&gt;AIPS 1:                                        = 2 =&gt; avg. freq. in IF&lt;br /&gt;AIPS 1:                                               single channel out&lt;br /&gt;AIPS 1:                                        = 3 =&gt; avg IF's also&lt;br /&gt;AIPS 1:                                      2 = Input avg. time (sec)&lt;br /&gt;AIPS 1:                                      3 &gt; 0 =&gt; Drop subarrays&lt;br /&gt;AIPS 1:                                      4 &gt; 0 =&gt; calibrate weights&lt;br /&gt;AIPS 1:                                      5 = 0 pass only xc data&lt;br /&gt;AIPS 1:                                        = 1 pass xc and ac data&lt;br /&gt;AIPS 1:                                        = 2 pass only ac data&lt;br /&gt;AIPS 1:                                      6 &gt; 0 add full source name&lt;br /&gt;AIPS 1:                                            to header&lt;br /&gt;AIPS 1: NCHAV         0                    Number of chan. to average.&lt;br /&gt;AIPS 1:                                    (used if APARM(1) = 1)&lt;br /&gt;AIPS 1:                                    &lt;= 0 -&gt; ALL&lt;br /&gt;AIPS 1: CHINC         0                    Channel incr. between output&lt;br /&gt;AIPS 1:                                    channels (used if APARM(1)=1)&lt;br /&gt;AIPS 1: ICHANSEL   *all 0                  Array of channel start, stop,&lt;br /&gt;AIPS 1:                                    and increment numbers and IF&lt;br /&gt;AIPS 1:                                    number to be used when&lt;br /&gt;AIPS 1:                                    averaging in frequency.&lt;br /&gt;AIPS 1:                                    (used if APARM(1) = 2, 3)&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disks to avoid for scratch&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The most important things to have set here are DOCAL = 2 and GAINUSE=2. If you have done other fancy things like a baseline-dependent calibration or a bandpass calibration, you can also apply those here.&lt;br /&gt;&lt;br /&gt;SPLIT will make a file with just the calibrated data for your source of interest. You'll need to flag this single-source file, and then you'll be ready to image!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-730542361832976169?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/730542361832976169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=730542361832976169' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/730542361832976169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/730542361832976169'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/03/wbr-step-7c-apply-your-calibration.html' title='WBR Step 7C: Apply Your Calibration'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5896334724836463947</id><published>2009-03-05T09:09:00.005-06:00</published><updated>2009-06-14T11:57:16.474-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Imaging with AIPS</title><content type='html'>Reader Elena has a question:&lt;br /&gt;&lt;blockquote&gt;Could some of you indicate me a tutorial for imaging with AIPS ?&lt;br /&gt;I would need something with examples, and possibly considering both point-like and extended sources.&lt;br /&gt;So far I found this :&lt;br /&gt;http://www-astro.physics.ox.ac.uk/~hrk/AIPS_TUTORIAL/HRK_AIPS_1.html#24.&lt;br /&gt;It's not focused on imaging, but there are some useful images as examples. Besides, it doesn't consider the case when one can not self-calibrate (e.g. looking for all Stokes parameters), that would be very interesting for me.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;My response is below.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;Elena, I would suggest that you read the AIPS COOKBOOK section on imaging and check out the synthesis imaging summer school book on imaging as well. I also encourage you to play around with IMAGR and see how changing the different parameters changes the image.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5896334724836463947?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5896334724836463947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5896334724836463947' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5896334724836463947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5896334724836463947'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/03/imaging-with-aips.html' title='Imaging with AIPS'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-366651833969467949</id><published>2009-03-04T20:52:00.005-06:00</published><updated>2010-02-04T22:48:16.088-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Why is imaging quick sometimes and slloooow others?</title><content type='html'>I have 6 sources, each with 2-3 hours of continuum L-band data on them. For five of them, imaging and self-calibration are really quite quick, but one of the sources takes a factor of 5-6 longer to image/calibrate than the others! Its correlator setup is not different, it was taken only one day previous to the other sources, and it has a similar amount of time on source. Any ideas about why imagr seems to choke for this source? Thanks! &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-366651833969467949?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/366651833969467949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=366651833969467949' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/366651833969467949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/366651833969467949'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/03/why-is-imaging-quick-sometimes-and.html' title='Why is imaging quick sometimes and slloooow others?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7639839536236252801</id><published>2009-02-27T09:05:00.004-06:00</published><updated>2010-02-04T23:05:06.784-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CASA'/><title type='text'>Casa and high frequency data</title><content type='html'>A question from reader Adam:&lt;br /&gt;&lt;blockquote&gt;Do you folks do any work with high frequency (K and Q band) data? Do you use CASA at all? I've been trying to do both.&lt;/blockquote&gt;&lt;br /&gt;My (Amanda) response is below. Feel free to add yours in the comments.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;I've just started playing with CASA, but not with high frequency data. My impressions are that the core utilities are there and that they're making great progress debugging everything and adding functionality. That being said, be extremely careful using CASA for production data reduction and make sure you double-check everything. &lt;br /&gt;&lt;br /&gt;I've heard from other people that there are performance issues associated with large data sets on 32-bit computers. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7639839536236252801?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7639839536236252801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7639839536236252801' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7639839536236252801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7639839536236252801'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/02/casa-and-high-frequency-data.html' title='Casa and high frequency data'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3463158585298997249</id><published>2009-02-25T18:06:00.005-06:00</published><updated>2009-06-14T11:49:47.869-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mystery errors'/><title type='text'>This error paves the road to madness</title><content type='html'>Not to be melodramatic or anything.&lt;br /&gt;But this error:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SCREAT: FAILED TO CREATE REQUESTED SCRATCH FILE&lt;br /&gt;CALCOP: ERROR     5 CREATING SCRATCH FILE&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;has started popping up all over the place ever since i updated to 31Dec08 version of aips. The relevant task always crashes after giving me this error.&lt;br /&gt;&lt;br /&gt;It often pops up when I'm just doing an innocent UVPLT-- and sometimes if I load my data up in TVFLG and wiggle my mouse around and push a few buttons, when i quit out and try UVPLT, the error will be gone. But sometimes it won't.&lt;br /&gt;&lt;br /&gt;And i was just trying to run BLCAL and got the error for that script too! I've checked to make sure my uv data is not being read or written. I don't understand what it means. Any thoughts?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3463158585298997249?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3463158585298997249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3463158585298997249' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3463158585298997249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3463158585298997249'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/02/this-error-paves-road-to-madness.html' title='This error paves the road to madness'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6986777400174436238</id><published>2009-02-10T11:12:00.007-06:00</published><updated>2009-02-10T13:17:35.791-06:00</updated><title type='text'>CVEL and DBCON with ATCA Data</title><content type='html'>I'm reducing some archival, multi-configuration HI data from the ATCA and am having trouble getting the velocity axis quite right. I've put the correct velocity definition in the header using CVEL and then am combining the individual data sets using DBCON with DOPOS=1,1 so it checks the position and frequency information in the header.  However, when I make the image and compare to the originally published image the velocities for various features are way off (~40 to 100 km/s). Any words of wisdom from the peanut gallery on using CVEL and DBCON together?&lt;br /&gt;&lt;br /&gt;I've mostly been following &lt;a href="http://www.atnf.csiro.au/computing/software/atca_aips/atcal_html.html"&gt;The Analysis of ATCA data with AIPS&lt;/a&gt;, but it's a little light on detail on this issue.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6986777400174436238?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6986777400174436238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6986777400174436238' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6986777400174436238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6986777400174436238'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/02/cvel-and-dbcon-data.html' title='CVEL and DBCON with ATCA Data'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3386783128394846083</id><published>2009-02-09T13:28:00.003-06:00</published><updated>2010-02-04T23:06:27.171-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freqids'/><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Watch out for those FreqIDs!</title><content type='html'>If you're a continuum observer (especially if you use the single-channel, 50 MHz correlator setting at the VLA), it's important to remember when reducing line data that each different set of frequencies in line data is given its own FreqID number. Some tasks work fine with datasets with multiple FreqIDs (e.g., LISTR), but other tasks (e.g., TVFLG or SPFLG) need to be told what FREQID to use or they won't find the data. You can control how the FREQIDs are assigned in FILLM.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3386783128394846083?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3386783128394846083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3386783128394846083' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3386783128394846083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3386783128394846083'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/02/blog-post.html' title='Watch out for those FreqIDs!'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1443898009340693979</id><published>2009-01-28T18:36:00.004-06:00</published><updated>2010-02-04T23:01:22.790-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image deconvolution'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Clean Boxes from SETFC</title><content type='html'>Here is a question from an anonymous reader:&lt;br /&gt;&lt;blockquote&gt;I'm new to AIPS, and noticed that using SETFC automatically sets clean boxes for every facet, the same size as every facet. When I've been wide field imaging, I've just been adding smaller clean boxes around sources on top of these. Is this ok, or is it better to delete these automatic boxes, and just manually add ones around obvious sources? Thanks.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I think I know the answer to this, if you click to read on...&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;You definitely want to delete the big clean box. By and large, you don't want clean boxes to overlap, and you do not want to clean your entire field (which is what you're doing if you leave that big clean box). Someone at NRAO once really stressed to me that you want your clean boxes placed as tightly around the real flux in your sources as possible. So get rid of those big boxes.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1443898009340693979?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1443898009340693979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1443898009340693979' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1443898009340693979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1443898009340693979'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/01/clean-boxes-from-setfc.html' title='Clean Boxes from SETFC'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5041981522798719005</id><published>2009-01-16T10:04:00.011-06:00</published><updated>2010-02-04T23:06:51.565-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Bad Gain Exponents</title><content type='html'>I'm trying to calibrate some archival VLA HI data from 1989 and FILLM keeps giving me scary messages about BAD GAIN EXPONENTS, e.g.,&lt;br /&gt;&lt;code&gt;&lt;br /&gt;MCCHED:  0/02:34:45.0 12 x 12  BAD GAIN EXPONENT      26&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;AIPS seems to really not like this. &lt;strike&gt;The source table of the resulting data file only contains the first source observed, which is not right.&lt;/strike&gt; I'm was going to be more aggressive about the FILLM selection parameters to avoid the bad times, but was wondering if anyone else has encountered this?&lt;br /&gt;&lt;br /&gt;EDIT: After playing with the TIMERANG keyword for FILLM, it seems like this is a problem with how AIPS is reading in the file. Everytime I change the TIMERANG keyword, the data with the BAD GAIN EXPONENTS changes to the earliest data in the file. Weird.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5041981522798719005?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5041981522798719005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5041981522798719005' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5041981522798719005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5041981522798719005'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2009/01/bad-gain-exponents.html' title='Bad Gain Exponents'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1646375515235640366</id><published>2008-12-15T23:01:00.004-06:00</published><updated>2010-02-04T23:09:25.659-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Making AIPS and Miriad Work Together'/><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Importing Miriad files into AIPS</title><content type='html'>A question from Danny:&lt;br /&gt;&lt;br /&gt;Hello AIPS ninjas.&lt;br /&gt;&lt;br /&gt;Is there any way to import miriad *.uv files -the kind that are whole directories full of binary files- into AIPS?&lt;br /&gt;&lt;br /&gt;~Danny&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1646375515235640366?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1646375515235640366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1646375515235640366' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1646375515235640366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1646375515235640366'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/12/importing-miriad-files-into-aips.html' title='Importing Miriad files into AIPS'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4899933162651469843</id><published>2008-12-10T19:48:00.008-06:00</published><updated>2009-01-06T11:23:32.363-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Making AIPS and KVIS Work Together'/><title type='text'>Kvis &amp; AIPS awesomeness!</title><content type='html'>You can use &lt;a href="http://www.atnf.csiro.au/computing/software/karma/index.html"&gt;kvis&lt;/a&gt; to view your AIPS images directly! See below for more details. Thanks to Bryan Gaensler for this awesome tip.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;The program &lt;a href="http://www.atnf.csiro.au/computing/software/karma/index.html"&gt;kvis&lt;/a&gt; is an image viewer that is part of the karma image analysis package. An undocumented, but cool feature of this program is that if you navigate to your AIPS data directory (typically somewhere like $AIPS_ROOT/DATA/LOCALHOST_1) in the kvis file selector you will see each AIPS image file with its correct name (instead of crytic filenames like FQD001001.099;) and be able to click on them and view them. Once you've got then in kvis, you can even save to FITS.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4899933162651469843?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4899933162651469843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4899933162651469843' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4899933162651469843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4899933162651469843'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/12/kvis-aips-awesomeness.html' title='Kvis &amp; AIPS awesomeness!'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-2911267523695978013</id><published>2008-12-05T15:27:00.007-06:00</published><updated>2010-02-04T23:07:35.698-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Missing Scans!</title><content type='html'>I'm reducing some EVLA-VLA data, and I discovered that one of the calibrator scans was missing in the data. It was listed in the "scan list" on the archive and the observe files were (to the best of our knowledge) correct. After emailing the analysts, we figured out that the scan was flagged by the online flagger. You can read in the data without applying these online flags using CPARM(3) = 16.&lt;br /&gt;&lt;br /&gt;I'm still trying to figure out why it was flagged, and I'm assuming that this information is stored in the "OF Table" extension. However, I haven't been able to find any information on that table using google (googling "aips 'OF table'" doesn't really work because you get a lot of pages with properties of tables, not info about the OF table).&lt;br /&gt;&lt;br /&gt;I'll post what I learn about this (if anything), but it's something to keep in mind if you find yourself missing scans..&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-2911267523695978013?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/2911267523695978013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=2911267523695978013' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2911267523695978013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2911267523695978013'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/12/missing-scans.html' title='Missing Scans!'/><author><name>Adrienne</name><uri>http://www.blogger.com/profile/00397473429623544442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-2442133739270695403</id><published>2008-10-20T10:07:00.004-05:00</published><updated>2010-02-04T23:01:39.359-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image deconvolution'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Multi-scale clean vs. regular clean</title><content type='html'>Those of you clean afficiandos should check out this recent astro-ph article: &lt;br /&gt;&lt;a href="http://arxiv.org/abs/0810.2825"&gt;Multi-Scale CLEAN: A comparison of its performance against classical CLEAN in galaxies using THINGS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-2442133739270695403?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/2442133739270695403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=2442133739270695403' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2442133739270695403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2442133739270695403'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/10/multi-scale-clean-vs-regular-clean.html' title='Multi-scale clean vs. regular clean'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1657412190674974106</id><published>2008-10-20T10:06:00.002-05:00</published><updated>2010-02-04T22:52:12.379-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image analysis'/><title type='text'>SUBIM question</title><content type='html'>A question from reader Jenny:&lt;br /&gt;    &lt;br /&gt;I'm trying to combine two optical images using AIPS (don't ask why!) but the FITS images I have are not centred on the sources I want to combine. I want to use SUBIM to create images centred on my targets but is there a way to get the task to create the image using the ra and dec of the target rather than TRC and BLC?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1657412190674974106?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1657412190674974106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1657412190674974106' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1657412190674974106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1657412190674974106'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/10/subim-question.html' title='SUBIM question'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-9200254585339793355</id><published>2008-10-20T09:24:00.005-05:00</published><updated>2010-02-04T22:48:52.923-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mystery errors'/><title type='text'>Mystery Error: TASK HAS NOT BEGUN IN 15.1 SECONDS</title><content type='html'>A question from Tony:&lt;br /&gt;&lt;br /&gt;Has anyone start getting the following error message:&lt;br /&gt;&lt;br /&gt;AIPS 1: TASK HAS NOT BEGUN IN 15.1 SECONDS&lt;br /&gt;AIPS 1: Begin check for any 'standard' scratch files&lt;br /&gt;AIPS 1: Scratch files -- destroyed: 0 still active: 0&lt;br /&gt;AIPS 1: Resumes&lt;br /&gt;&lt;br /&gt;A few people across the department have receive the same error message, and I think it is a problem related to 31DEC08.&lt;br /&gt;&lt;br /&gt;But why 15.1 seconds?!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-9200254585339793355?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/9200254585339793355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=9200254585339793355' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/9200254585339793355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/9200254585339793355'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/10/mystery-error-task-has-not-begun-in-151.html' title='Mystery Error: TASK HAS NOT BEGUN IN 15.1 SECONDS'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4674189506411952372</id><published>2008-10-14T12:20:00.004-05:00</published><updated>2008-10-14T12:46:22.748-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Imaging GMRT Data</title><content type='html'>A plea for advice from an anonymous reader:&lt;br /&gt;&lt;br /&gt;Off topic, &amp; quite possibly a stupid question from an AIPS newbie, but I'd really appreciate any help. I'm currently processing some GMRT data (30mins, 610MHz, 38 facets, each imsize 512, cellsize 1.5), &amp; IMAGR seems to take a very long time to run, ~2hrs for 1000 iterations. I'm wondering if this is normal, or if something has gone wrong during the SPLAT process, where I split off the source from the multi source dataset, and averaged every 7 channels between channels 1 &amp; 105.&lt;br /&gt;&lt;br /&gt;IMAGR, with NCHAV=15,when running, appears to process channels 1-15, then 2-16,3-17 etc, is this normal for data that has been averaged as above?&lt;br /&gt;Thanks.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4674189506411952372?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4674189506411952372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4674189506411952372' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4674189506411952372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4674189506411952372'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/10/imaging-gmrt-data.html' title='Imaging GMRT Data'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3506962553544660344</id><published>2008-09-15T17:25:00.010-05:00</published><updated>2010-02-04T23:11:19.635-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Importing AIPS images into IRAF</title><content type='html'>Here is a question from reader donkeypuncher:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;I'd like to use IRAF to do some analysis on images produced in AIPS. Alas, I am unable to open in IRAF the FITS files output by AIPS (task FITTP). I get this simple, non-informative message when I attempt to use the IRAF task display:&lt;br /&gt;&lt;br /&gt;ERROR: Cannot open image (IMAGE.FITS)&lt;br /&gt;&lt;br /&gt;I'm guessing it's a format issue, because I have no problem loading in ds9. Any ideas?&lt;br /&gt;&lt;br /&gt;BTW, I like the site, thanks for your contributions!&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;My guess at an answer can be found if you click below..&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I think that IRAF needs and expects the '.fits' suffix to be in all small letters. Try changing your image name to 'image.fits' and see if that helps.&lt;br /&gt;Also-- something else I've noticed is that optical software often freaks out at the small pixel values in AIPS images (For example, are your pixel values on the order 10^-3 to 10^-6?). Once you get your image into IRAF, you might want to try multiplying your entire image by some large constant, say a million, using imarith. This could potentially save you headaches.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3506962553544660344?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3506962553544660344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3506962553544660344' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3506962553544660344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3506962553544660344'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/09/importing-aips-images-into-iraf.html' title='Importing AIPS images into IRAF'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7819144189008229669</id><published>2008-09-15T10:53:00.005-05:00</published><updated>2009-01-21T14:10:14.431-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Flux calibration scales at the VLA?</title><content type='html'>I've run into what looks like a systematic offset between flux scales of earlier observations and my observations. I'm using the 1999.2 coefficients to set my flux scale and it looks like the earlier observations are using the coefficients from Baars et al. (1977). Any ideas on what the differences are between these two systems? 5%? 10%? 20%? I've tried searching the VLA calibration documentation for the information, but didn't find anything useful (although maybe I missed something).&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7819144189008229669?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7819144189008229669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7819144189008229669' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7819144189008229669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7819144189008229669'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/09/flux-calibration-scales-at-vla.html' title='Flux calibration scales at the VLA?'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4541403789631659836</id><published>2008-08-21T11:56:00.003-05:00</published><updated>2008-08-21T12:00:35.694-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Clearing AIPS Variables?</title><content type='html'>During my recent forays into AIPS scripting, I have often wanted to change how a variable is defined...say by changing an array from dimensions of 50 to 200. When I try to do this, AIPS tells me that the variable is 'ALREADY DF' (or defined, i'm guessing). Is there some way to clear a variable? &lt;br /&gt;&lt;br /&gt;Well, I just thought to do a 'RESTORE 0', which seems to clear everything. So maybe that it is the best solution?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4541403789631659836?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4541403789631659836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4541403789631659836' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4541403789631659836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4541403789631659836'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/08/clearing-aips-variables.html' title='Clearing AIPS Variables?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6012184060036461521</id><published>2008-08-17T17:54:00.005-05:00</published><updated>2010-02-04T22:55:07.112-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><title type='text'>MSGSRV Aesthetics</title><content type='html'>I've been wanting a scrollbar in my MSGSRV for as long as I can remember, and I finally got one! This is how I did it (on my Mac, running X11)...&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I made a .Xdefaults file in my home directory with these lines:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPSmsg*scrollBar: True&lt;br /&gt;AIPSmsg*saveLines: 500 &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;I quit out of AIPS and in the xterm where I was running aips, I typed:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;xrdb -load ~/.Xdefaults&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;to make my computer register the .Xdefaults file.&lt;br /&gt;&lt;br /&gt;When I started up AIPS again, I had a scroll bar! This &lt;a href=http://www.aips.nrao.edu/cgi-bin/ZXHLP2.PL?MSGSRV&gt; page&lt;/a&gt; gave me this hint, plus tells you how to change other MSGSRV settings, like colors.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6012184060036461521?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6012184060036461521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6012184060036461521' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6012184060036461521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6012184060036461521'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/08/msgsrv-aesthetics.html' title='MSGSRV Aesthetics'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1065975242568864837</id><published>2008-08-14T18:43:00.004-05:00</published><updated>2010-02-04T23:11:52.726-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Reading ASCII Tables into AIPS?</title><content type='html'>I'm trying to write a script where I repeat some steps on lots of different objects, and therefore I want to read a list of coordinates into AIPS. I currently have an ASCII list of x and y values. Can i read it into AIPS as two arrays so that my script can access them? Or do I have to do something hideous like manually fill the arrays within my script?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1065975242568864837?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1065975242568864837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1065975242568864837' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1065975242568864837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1065975242568864837'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/08/reading-ascii-tables-into-aips.html' title='Reading ASCII Tables into AIPS?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7996393692845872562</id><published>2008-08-14T13:40:00.003-05:00</published><updated>2008-08-14T13:45:55.694-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Making AIPS and Miriad Work Together'/><title type='text'>AIPS system temperatures.. in miriad?</title><content type='html'>&lt;span class="fullpost"&gt;So we're trying to reduce our data in AIPS and then image in it miriad. Sounds familiar. Anyway, we want to use options=systemp when inverting the uv data. However, I've noticed that miriad doesn't appear to correctly import the system temperatuers from AIPS when using "fits" to read in the fits file that I wrote with AIPS using FITTP. In fact, it sets all the system temperatures to 60K, exactly.&lt;br /&gt;&lt;br /&gt;There is an option in fits (varwt) to use the reciprocal of the noise variance on a visibility as its weight, but the system temperatures are still set to 60K.&lt;br /&gt;&lt;br /&gt;Ideas?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7996393692845872562?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7996393692845872562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7996393692845872562' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7996393692845872562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7996393692845872562'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/08/aips-system-temperatures-in-miriad.html' title='AIPS system temperatures.. in miriad?'/><author><name>Adrienne</name><uri>http://www.blogger.com/profile/00397473429623544442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-117863331771886528</id><published>2008-08-11T14:48:00.004-05:00</published><updated>2009-01-06T11:27:19.747-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Making AIPS and Miriad Work Together'/><category scheme='http://www.blogger.com/atom/ns#' term='Mosaicing'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><title type='text'>Mosaicing: AIPS/Miriad/whatever works!</title><content type='html'>&lt;span class="fullpost"&gt;Is anyone familiar with mosacing techniques in AIPS, Miriad, or both? I have 21cm VLA spectral line data, taken mosaic-style, and am having a heck of a time trying to stitch the pointings together. Here's what I have done so far:&lt;br /&gt;&lt;br /&gt;Reduced in the standard manner with AIPS up until the 'SPLIT' step&lt;br /&gt;Wrote out each pointing with FITTP&lt;br /&gt;Loaded into Miriad&lt;br /&gt;In Miriad, 'invert', 'mossdi', and 'restor', mostly with the defaults for parameters&lt;br /&gt;&lt;br /&gt;The best way I can describe the results is like a bad patchwork quilt...does anyone know of a good cookbook or guide for putting together pointings into a mosaic? I know AIPS has some tasks for this (VTESS/UTESS/LTESS) but I haven't had success with them. Thanks!&lt;br /&gt;&lt;br /&gt;Katie&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-117863331771886528?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/117863331771886528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=117863331771886528' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/117863331771886528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/117863331771886528'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/08/mosaicing-aipsmiriadwhatever-works.html' title='Mosaicing: AIPS/Miriad/whatever works!'/><author><name>katie mae</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1699371574879792316</id><published>2008-07-22T10:22:00.005-05:00</published><updated>2010-02-04T22:49:10.596-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>How does CALIB make use of clean components?</title><content type='html'>A question from Sam Tun....&lt;br /&gt; I've been working on some self-cal programs for the Owens Valley Solar Array, and I am having similar problems as these. I would want a self-caled map that gives me a good approximation to my CLEAN map fluxes, but no go on that. So, my question is, does anyone know what is done to the clean components to get them to return appropriate visibilities to feed into self-cal? I believe that in AIPS you feed the CLEAN map as a model into calib, but does anyone know the details of what goes on in there (or where to find them)? Gracias.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1699371574879792316?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1699371574879792316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1699371574879792316' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1699371574879792316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1699371574879792316'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/how-does-calib-make-use-of-clean.html' title='How does CALIB make use of clean components?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-520565227016031897</id><published>2008-07-22T10:14:00.005-05:00</published><updated>2010-02-04T22:51:27.569-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image analysis'/><title type='text'>Total Flux in an Image Region?</title><content type='html'>A question from an anonymous reader...&lt;br /&gt;But I have this issue: How to find the total flux in a given region? tvstat can make regions, but it shows only mean and rms. Is there any task that will show total flux under a selection?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-520565227016031897?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/520565227016031897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=520565227016031897' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/520565227016031897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/520565227016031897'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/total-flux-in-image-region.html' title='Total Flux in an Image Region?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5307665741780288572</id><published>2008-07-16T20:22:00.006-05:00</published><updated>2010-02-04T23:03:12.127-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>How does DBCON deal with flagging?</title><content type='html'>Does anybody out there understand how DBCON flags your data? The help file is being less than transparent. DBCON seems to copy over all the FG tables from the first image you give it to the DBCON'd file, but does not appear to copy FG tables from the second image. &lt;br /&gt;&lt;br /&gt;There is this note in the help file:&lt;br /&gt;"Also, any CL, FG, TY, WX, IM, MC, PC, AT, CT, OB, or GC tables with version=1 will have their source numbers translated and appended to the end of the corresponding table (if any) from the first file."&lt;br /&gt;So, let's say I have 13 flag tables for Image1 and 6 flag tables for Image2 (which happens a lot with the new crazy FG table creation scheme). Does this mean FG #1 for Image2 gets appended to FG tables 1-13 from Image1? And then in the futere, I will be apply a combination of FG#1 to Image1 and FG #13 to Image2? That's kinda dumb...&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5307665741780288572?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5307665741780288572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5307665741780288572' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5307665741780288572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5307665741780288572'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/how-does-dbcon-deal-with-flagging.html' title='How does DBCON deal with flagging?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1142030910081118280</id><published>2008-07-09T16:51:00.006-05:00</published><updated>2008-07-09T17:06:31.662-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>How to Know When You Can Self-Cal and What Solint To Use</title><content type='html'>Have you ever done a self-calibration run to find out the self cal is actually making your images worse, not better? Have you ever guessed at what SOLINT to use while self calibrating? I know I have!&lt;br /&gt;&lt;br /&gt;People always say you should evaluate the signal-to-noise of your data before self-calibrating, but I never understood what this meant until today! There is a simple equation to find out if you can self-cal and if the SOLINT you are considering might be too short....&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;First image your data and clean it pretty good. Afterwards you can look in the image header and not the total cleaned flux. This is your 'Signal'.&lt;br /&gt;&lt;br /&gt;Second of all, you want to calculate the noise in your data, per baseline per SOLINT. First, measure the rms noise in your image, in Jy/beam (sig_image). Next, calculate the number of baselines in your data (N_base  where N_base = ((N_ant * N_ant-1) / 2) and N_ant is the number of operational antennae). Finally, figure out how much time-on-source went into making your image, in minutes (TOS). The noise of your data per baseline for a given SOLINT (in minutes) is then:&lt;br /&gt;Noise = sig_image * sqrt(N_base) * sqrt(TOS/SOLINT)&lt;br /&gt;&lt;br /&gt;Now, compare the 'Signal' with the 'Noise'. For 'P' self cal, you want the Signal to be at least 5 times greater than the Noise. If it's not, then increase your SOLINT. For A&amp;P self cal, you probably want a signal-to-noise of 10-20, at least.&lt;br /&gt;&lt;br /&gt;Note: If you are doing multi-facet imaging (at lower frequencies), you want to use the total flux in your data-- that is the sum from all facets, The image headers tell you this as 'CCTOTAL'. &lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1142030910081118280?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1142030910081118280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1142030910081118280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1142030910081118280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1142030910081118280'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/how-to-know-when-you-can-self-cal-and.html' title='How to Know When You Can Self-Cal and What Solint To Use'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6760366937251257320</id><published>2008-07-09T16:41:00.006-05:00</published><updated>2010-02-04T23:03:31.442-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>Self Calibration and DBCON</title><content type='html'>Let's say you have two data sets that you want to DBCON together. Should you self calibrate them individually? or after DBCONing?&lt;br /&gt;&lt;br /&gt;The tip I got is you should self-cal each data set individually as best you can, then DBCON. However, after DBCONing, there might be some small gain offsets between the two data sets. Do a final A&amp;P self cal on the DBCONed data set with a really long SOLINT, so that you basically have one SN solution per data set. This will ensure the original data sets are as consistent with one another as possible.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6760366937251257320?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6760366937251257320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6760366937251257320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6760366937251257320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6760366937251257320'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/self-calibration-and-dbcon.html' title='Self Calibration and DBCON'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7898772147469962660</id><published>2008-07-09T16:30:00.006-05:00</published><updated>2010-02-04T22:55:50.803-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>Two More Ways to Identify Bad Data</title><content type='html'>Crystal also said a good way to identify RFI is to look at Stokes V, either in TVFLG or UVPLT or whatever. RFI is usually polarized and will pop out as unusually high baselines/channels/times.&lt;br /&gt;&lt;br /&gt;Stokes V will usually mimic your amplitude structure (as a function of baseline length). So, for example, if your source has high amplitudes at short baselines, Stokes V should also be a bit higher on these short baselines (so don't get confused and flag them).&lt;br /&gt;&lt;br /&gt;And another way to find that bad data-- Data weights. Plot your data in UVPLT with BPARM = 0 13. The weights for all the data should cluster-- if there are any points that are anomalously low or high, flag them! Crystal says she likes to use WIPER. Obviously, be more concerned about data with really high weights that really low weights-- because this data will affect your overall data set more, as it is up-weighted!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7898772147469962660?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7898772147469962660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7898772147469962660' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7898772147469962660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7898772147469962660'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/two-more-ways-to-identify-bad-data.html' title='Two More Ways to Identify Bad Data'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8494610942767684366</id><published>2008-07-09T16:22:00.004-05:00</published><updated>2008-07-09T16:30:28.251-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>Don't Clip Your Data!</title><content type='html'>I'm at the GBT, and just had a nice long chat with Crystal Brogan (who was very helpful when she reeally didn't need to be). I'm gonna list a few tips she suggests.&lt;br /&gt;&lt;br /&gt;Here's one: DON'T CLIP!! She said that if you clip your data based on amplitude (or phase), what you're really doing is masking the lower-level bad data. A baseline is probably all bad if it has quite a few high points, and you don't want to just flag the really high stuff, you want to flag it all. If you clip the high stuff, it will be very hard to ever identify that whole baseline as bad. You'll essentially be 'losing' bad data. I know CLIPing is sometimes tempting, especially at the GMRT, but I can see that it's an especially bad idea in this case.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8494610942767684366?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8494610942767684366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8494610942767684366' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8494610942767684366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8494610942767684366'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/07/dont-clip-your-data.html' title='Don&apos;t Clip Your Data!'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6957286937620196259</id><published>2008-06-30T14:57:00.005-05:00</published><updated>2008-07-01T09:06:40.559-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>Need Larger Fonts on Plots</title><content type='html'>I'm trying to get the labels for my plots in AIPS to be much larger than the default. LWPLA has an option to specify the font size, dparm(8), but after playing with it, it seems like 24pt is the maximum font size. I would really like to use something bigger than this. I can modify the labels manually in Illustrator, but that requires repositioning all the labels, which is way too time intensive. Any other ideas?&lt;br /&gt;&lt;br /&gt;UPDATE: Solution using ASPMM parameter in LWPLA detailed in comments.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6957286937620196259?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6957286937620196259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6957286937620196259' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6957286937620196259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6957286937620196259'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/06/large-fonts-on-plots.html' title='Need Larger Fonts on Plots'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6390638902832837881</id><published>2008-06-28T15:06:00.004-05:00</published><updated>2010-02-04T22:56:11.927-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>Bins in UVPLT</title><content type='html'>You know what is a great easy way to visualize your data that I often forget about? Bin your data in UVPLT! For example, if you are making a UV distance vs. Amplitude plot, then you can actually see the amplitude structure instead of just seeing tons of points ranging all the way down to an amplitude of zero.&lt;br /&gt;&lt;br /&gt;All you have to do is set BPARM(8) = 50 or the number of bins you want. &lt;br /&gt;&lt;br /&gt;I think it also plots up faster this way then plotting lots of individual points!&lt;br /&gt;Of course, if what you care about is a handful of really pathelogical points, than this is not the right strategy. But if you are, say, trying to identify a bad baseline or something, this works great!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6390638902832837881?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6390638902832837881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6390638902832837881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6390638902832837881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6390638902832837881'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/06/bins-in-uvplt.html' title='Bins in UVPLT'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8594921395205176196</id><published>2008-06-17T18:21:00.003-05:00</published><updated>2008-06-18T16:28:44.125-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Calibrating Data without a Flux Calibrator</title><content type='html'>Sometimes when I get data from the archive, it appears that the observers have not observed a flux calibrator. There is a phase calibrator. Is it possible to use this data? Is the data really only good for imaging and getting the morphology of an object, but you can not trust it for absolute fluxes? I feel like I should be able to do something clever to get fluxes...&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8594921395205176196?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8594921395205176196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8594921395205176196' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8594921395205176196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8594921395205176196'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/06/calibrating-data-without-flux.html' title='Calibrating Data without a Flux Calibrator'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3017268050434645114</id><published>2008-06-08T11:50:00.003-05:00</published><updated>2009-06-14T11:51:47.818-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>Flagging After A&amp;P Self Calibration?</title><content type='html'>I've been wondering lately-- when you run an Amplitude &amp; Phase Self-Cal run, often times this can make certain parts of your data look anomalously high or low. Usually it's pretty mild, but a couple of times, it has been rather dramatic. A bit distressing, as I don't really understand why CALIB chose to make my amplitudes worse...&lt;br /&gt;&lt;br /&gt;But anyway, does anyone out there have opinions on whether you should flag your data again after an A&amp;P self cal? If you do flag, do you then copy the flag table over to the un-A&amp;P-self-calibrated data set, and the re-self-calibrate using this new flag table? And iterate so on till no more "bad" data pops up on the A&amp;P self cal?&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3017268050434645114?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3017268050434645114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3017268050434645114' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3017268050434645114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3017268050434645114'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/06/flagging-after-self-calibration.html' title='Flagging After A&amp;P Self Calibration?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-2576211595359376256</id><published>2008-06-06T15:59:00.005-05:00</published><updated>2010-02-04T23:03:48.954-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>DBCONing Data Sets From Different Epochs</title><content type='html'>If you are an archive monger like me, you might find yourself reducing one J2000. data set and one B1950. data set, and then wanting to concatenate them together. If you try to do this, DBCON will yell at you. So... &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;You will have to run EPOSWTCH on the 1950 data set to bring it into epoch 2000. However, if you try to run DBCON now, DBCON will still yell at you and say:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;tsingt&gt; DBCON1: DEC      AXIS HAS UNEQUAL ATTRIBUTES&lt;br /&gt;tsingt&gt; DBCON1: Purports to die of UNNATURAL causes&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;As explained by Eric Greisen &lt;a href="http://listmgr.cv.nrao.edu/pipermail/daip/2004-January/005929.html"&gt; here &lt;/a&gt;, this is because the image you EPOSWTCHed now has a Declination axis with a rotation imposed upon it. For example:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: Image=NGC1569   (UV)         Filename=N1569_3B    .SC_P1 .   1&lt;br /&gt;AIPS 1: Telescope=VLA                Receiver=VLA&lt;br /&gt;AIPS 1: Observer=AA116               User #=   53&lt;br /&gt;AIPS 1: Observ. date=21-AUG-1990     Map date=06-JUN-2008&lt;br /&gt;AIPS 1: # visibilities    135940     Sort order  TB&lt;br /&gt;AIPS 1: Rand axes: UU-L-SIN  VV-L-SIN  WW-L-SIN  BASELINE  TIME1&lt;br /&gt;AIPS 1:            WEIGHT  SCALE&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat&lt;br /&gt;AIPS 1: COMPLEX      1   1.0000000E+00       1.00  1.0000000E+00    0.00&lt;br /&gt;AIPS 1: STOKES       4  -1.0000000E+00       1.00 -1.0000000E+00    0.00&lt;br /&gt;AIPS 1: FREQ         1   8.4149000E+09       1.00  5.0000000E+07    0.00&lt;br /&gt;AIPS 1: IF           2   1.0000000E+00       1.00  1.0000000E+00    0.00&lt;br /&gt;AIPS 1: RA           1    04 30 49.498       1.00       3600.000    0.00&lt;br /&gt;AIPS 1: DEC          1    64 50 59.587       1.00       3600.000   -0.60&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: Coordinate equinox 2000.00&lt;br /&gt;AIPS 1: Rest freq      0.000         Vel type: OPTICAL wrt YOU&lt;br /&gt;AIPS 1: Alt ref. value  0.00000E+00  wrt pixel    1.00&lt;br /&gt;AIPS 1: Maximum version number of extension files of type FQ is   1&lt;br /&gt;AIPS 1: Maximum version number of extension files of type HI is   1&lt;br /&gt;AIPS 1: Maximum version number of extension files of type AN is   1&lt;br /&gt;AIPS 1: Maximum version number of extension files of type WX is   1&lt;br /&gt;AIPS 1: Maximum version number of extension files of type FG is   1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You can get rid of this rotation using UVSRT:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: UVSRT:  Task which sorts UV data&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     'N1569_3B'              Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'SC_P1'                 Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         1                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Disk unit # of input UV data&lt;br /&gt;AIPS 1: OUTNAME    ' '                     Sorted UV file name (name)&lt;br /&gt;AIPS 1: OUTCLASS   'ROTAT'                 Sorted UV file name (class)&lt;br /&gt;AIPS 1: OUTSEQ        0                    Sorted UV file name (seq. #)&lt;br /&gt;AIPS 1: OUTDISK       0                    Disk unit # of sorted UV data&lt;br /&gt;AIPS 1:                                      0 =&gt; highest with space&lt;br /&gt;AIPS 1:                                    If outfile spec. equals the&lt;br /&gt;AIPS 1:                                    infile spec., output will&lt;br /&gt;AIPS 1:                                    overwrite the input&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disk drive #'s to avoid&lt;br /&gt;AIPS 1: SORT       ' '                     Two char. sort order, eg.'XY'&lt;br /&gt;AIPS 1:                                    blank =&gt; 'XY'&lt;br /&gt;AIPS 1: ROTATE        0.6                  Angle thru which to rotate.&lt;br /&gt;AIPS 1:                                    positive rotates CCW&lt;br /&gt;AIPS 1: DEFER         0                    Defer output file creation?&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note that the ROTATE parameter is the negative of the rotation noted in the header. Now you should be able to DBCON the EPOSWTCHed data with the other J2000 data set!&lt;br /&gt;&lt;br /&gt;(You may have to UVSRT the DBCONed data so that it is in TB order again.)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-2576211595359376256?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/2576211595359376256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=2576211595359376256' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2576211595359376256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/2576211595359376256'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/06/dbconing-data-sets-from-different.html' title='DBCONing Data Sets From Different Epochs'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3137768001540383272</id><published>2008-06-02T17:53:00.004-05:00</published><updated>2008-06-17T18:28:05.817-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Calibrating One Calibrator with Two UVranges</title><content type='html'>The VLA calibrator manual recommends that if you are using 3c286 as your flux calibrator at 20 cm in A configuration, you should use the uvrange 0-18 AND 90-180 (for the latter, decrease flux by 6%). This makes me wonder how on earth one would do this. First of all, I do not know how to calibrate on two separate uvranges and then merge that information. Second of all, I do not know how to reduce a flux by 6%. Anyone? Anyone?&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3137768001540383272?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3137768001540383272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3137768001540383272' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3137768001540383272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3137768001540383272'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/06/calibrating-one-calibrator-with-two.html' title='Calibrating One Calibrator with Two UVranges'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8552375279541017419</id><published>2008-03-07T17:17:00.004-06:00</published><updated>2008-06-30T15:05:46.861-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>Help Miriad Selfcal Tip</title><content type='html'>IGNORE THE FOLLOWING POST. If Miriad is rescaling to large values during the self-calibration process, this is a sign that something is wrong with your self-calibration and you need to increase the self-calibration interval or need more clean components.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strike&gt;This is a bit off the beaten path, but I'd thought I'd post it anyway.  If you're self-calibrating in Miriad, it helps to set the &lt;code&gt;noscale&lt;/code&gt; option. &lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;The &lt;code&gt;noscale&lt;/code&gt; option prevents Miriad from rescaling the gains during amplitude+phase self-calibrating so that the rms gain is 1.0. If you have a lot of outliers, not setting this option can play havoc with the derived amplitudes.  A sign that this may be a problem for your data would be unrealistically large amplitudes (much greater than 1.0) after amplitude+phase self-calibration.&lt;/strike&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8552375279541017419?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8552375279541017419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8552375279541017419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8552375279541017419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8552375279541017419'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/03/help-miriad-selfcal-tip.html' title='Help Miriad Selfcal Tip'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1532606920838985693</id><published>2008-02-04T15:29:00.001-06:00</published><updated>2008-03-23T23:52:32.476-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bandpasses'/><title type='text'>Bandpass calibration trauma</title><content type='html'>I've been working on bandpass calibrating some WSRT data. Usually this is a pretty simple process, but for some reason I can't get it to work out here. When I calibrate the data I'm getting large closure errors that seem to be baseline and polarization dependent. Before bandpass calibration, I went through the data and flagged anything that looked like it had an amplitude that was off.  After flagging I thought the data looked pretty good in SPFLG. Changing the reference antenna or the calibration source doesn't fix the problem. What had partially fixed the problem for the LL feed at least was going from the default SOLTYPE to SOLTYPE='L1R', which uses a more robust method of fitting the bandpass that is less sensitive to variations in the input data.&lt;br /&gt;&lt;br /&gt;Any ideas? I've put my inputs to BPASS  and some sample output below.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update (2/4/08): &lt;/b&gt;It looks like using bpassprm(5) = -1 instead of bpassprm(5) = 0 works. bpassprm(5) = -1 is only supposed to be used in cases of decent phase stability. It averages over time and then averages the ichansel channels rather than averaging the ichansel channels on a record-by-record base as does bpassprm(5)=0. Therefore, bpassprm(5)=-1 gives me a bit more signal enabling better bandpass calibration.  The phase stability of my observations is pretty good, so I think I'm safe using this parameter.]&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;AIPS 1: BPASS     Task to generate a "Bandpass" (BP) table.&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: USERID        0                    User number&lt;br /&gt;AIPS 1: INNAME     'POLANG'                Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    '13CM'                  Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         3                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        2                    Input UV file disk unit #&lt;br /&gt;AIPS 1:&lt;br /&gt;AIPS 1:                                    Data Selection&lt;br /&gt;AIPS 1: CALSOUR    '3C286'                 Bandpass calibrator sources.&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Calibrator qualifier -1=&gt;all&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: UVRANG        0           0        UV range to select&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to select&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID        1                    Freq. ID to select.&lt;br /&gt;AIPS 1: BIF           0                    Lowest IF number 0=&gt;all&lt;br /&gt;AIPS 1: EIF           0                    Highest IF number 0=&gt;all&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;all&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to select&lt;br /&gt;AIPS 1:&lt;br /&gt;AIPS 1:                                    CLEAN map (optional)&lt;br /&gt;AIPS 1: IN2NAME    ' '                     Cleaned map name (name)&lt;br /&gt;AIPS 1: IN2CLASS   ' '                     Cleaned map name (class)&lt;br /&gt;AIPS 1: IN2SEQ        0                    Cleaned map name (seq. #)&lt;br /&gt;AIPS 1: IN2DISK       0                    Cleaned map disk unit #&lt;br /&gt;AIPS 1: INVERS       -1                    CC file version #.&lt;br /&gt;AIPS 1: NCOMP      *all 0                  # comps to use for model.&lt;br /&gt;AIPS 1:                                    1 value per field&lt;br /&gt;AIPS 1: FLUX          0                    Lowest CC component used.&lt;br /&gt;AIPS 1: NMAPS         0                    No. Clean map files&lt;br /&gt;AIPS 1: CMETHOD    ' '                     Modeling method:&lt;br /&gt;AIPS 1:                                    'DFT','GRID','    '&lt;br /&gt;AIPS 1: SMODEL     *all 0                  Source model, 1=flux,2=x,3=y&lt;br /&gt;AIPS 1:                                    See HELP SMODEL for details.&lt;br /&gt;AIPS 1:&lt;br /&gt;AIPS 1:                                    Control options&lt;br /&gt;AIPS 1: DOCALIB       1                    &gt; 0 calibrate data &amp; weights&lt;br /&gt;AIPS 1:                                    &gt; 99 do NOT calibrate weights&lt;br /&gt;AIPS 1: GAINUSE       2                    CL table to apply (SN table&lt;br /&gt;AIPS 1:                                    to apply to single-source)&lt;br /&gt;AIPS 1: DOPOL        -1                    If &gt;0 correct polarization.&lt;br /&gt;AIPS 1: BLVER        -1                    BL table to apply.&lt;br /&gt;AIPS 1: FLAGVER       1                    Flag table version&lt;br /&gt;AIPS 1: DOBAND       -1                    If &gt;0 apply bandpass cal.&lt;br /&gt;AIPS 1:                                    Method used depends on value&lt;br /&gt;AIPS 1:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 1: BPVER         0                    Bandpass table version&lt;br /&gt;AIPS 1: SOLINT        0                    Solution interval (mins)&lt;br /&gt;AIPS 1:                                    -1 =&gt; do whole time range&lt;br /&gt;AIPS 1: SOLTYPE    'L1R'                   Soln type,'  ','L1','GCON',&lt;br /&gt;AIPS 1: REFANT        5                    Reference antenna&lt;br /&gt;AIPS 1: OUTVERS       0                    Output BP table version&lt;br /&gt;AIPS 1:                                    0 =&gt; a new table to be&lt;br /&gt;AIPS 1:                                         generated.&lt;br /&gt;AIPS 1: SMOOTH     *all 0                  Smoothing function.&lt;br /&gt;AIPS 1:                                    BE VERY CAREFUL HERE.&lt;br /&gt;AIPS 1: ANTWT      *all 0                  Ant. wts (0 =&gt; 1.)&lt;br /&gt;AIPS 1: WEIGHTIT      0                    Modify data weights function&lt;br /&gt;AIPS 1: MINAMPER     10                    Amplitude closure error&lt;br /&gt;AIPS 1:                                    regarded as excessive in %&lt;br /&gt;AIPS 1: MINPHSER     10                    Phase closure error regarded&lt;br /&gt;AIPS 1:                                    as excessive in degrees&lt;br /&gt;AIPS 1: BPASSPRM      0           2        Control information:&lt;br /&gt;AIPS 1:               0           0        1: if &gt; 0 use only the&lt;br /&gt;AIPS 1:               0          10           autocorrelation data.&lt;br /&gt;AIPS 1:              10           1        2: print level - see help&lt;br /&gt;AIPS 1:               1           3        3: If &gt; 0 do not divide data&lt;br /&gt;AIPS 1:               0                       by source model&lt;br /&gt;AIPS 1:                                    4: If &gt; 0 store phases only&lt;br /&gt;AIPS 1:                                       in the BP table.&lt;br /&gt;AIPS 1:                                    5: Divide by 'channel 0'&lt;br /&gt;AIPS 1:                                       **** SEE HELP - NEW ****&lt;br /&gt;AIPS 1:                                    6: amp closure error limit -&lt;br /&gt;AIPS 1:                                       print channels averaging&lt;br /&gt;AIPS 1:                                       over this if (2) &gt; 0&lt;br /&gt;AIPS 1:                                    7: phase closure error limit&lt;br /&gt;AIPS 1:                                       print channels averaging&lt;br /&gt;AIPS 1:                                       over this if (2) &gt; 0&lt;br /&gt;AIPS 1:                                    8: &gt; 0 =&gt; scalar average&lt;br /&gt;AIPS 1:                                    9: &gt; 0 =&gt; interpolate over&lt;br /&gt;AIPS 1:                                       flagged channels if poss.&lt;br /&gt;AIPS 1:                                    10:1 =&gt; normalize amplitudes&lt;br /&gt;AIPS 1:                                         using all channels&lt;br /&gt;AIPS 1:                                       2 =&gt; normalize amplitudes&lt;br /&gt;AIPS 1:                                         using ICHANSEL channels&lt;br /&gt;AIPS 1:                                       3 =&gt; normalize amplitudes&lt;br /&gt;AIPS 1:                                         and zero average phase&lt;br /&gt;AIPS 1:                                         using ICHANSEL channels&lt;br /&gt;AIPS 1:                                       4 =&gt; normalize amplitudes&lt;br /&gt;AIPS 1:                                         and zero average phase&lt;br /&gt;AIPS 1:                                         using all channels&lt;br /&gt;AIPS 1:                                       0 =&gt; no deliberate norm.&lt;br /&gt;AIPS 1:                                    11: &gt; 0 solution weights are&lt;br /&gt;AIPS 1:                                       independent of channel&lt;br /&gt;AIPS 1:                                       = -1 weights scaled&lt;br /&gt;AIPS 1:                                         by amplitude**2&lt;br /&gt;AIPS 1:                                       &lt; -1.5 weights scaled by&lt;br /&gt;AIPS 1:                                         1 / amplitude**2&lt;br /&gt;AIPS 1: ICHANSEL      5          50        Array of start and stop chan&lt;br /&gt;AIPS 1:               1           1        numbers, plus a channel&lt;br /&gt;AIPS 1:               5          50        increment and IF to be used&lt;br /&gt;AIPS 1:               1           2        to select channels to sum to&lt;br /&gt;AIPS 1:               5          50        find a 'channel 0'.  If all&lt;br /&gt;AIPS 1:               1           3        0, range set to inner 75% of&lt;br /&gt;AIPS 1:               5          50        observing band.&lt;br /&gt;AIPS 1:               1           4           5          50&lt;br /&gt;AIPS 1:               1           5           5          50&lt;br /&gt;AIPS 1:               1           6           5          50&lt;br /&gt;AIPS 1:               1           7           5          50&lt;br /&gt;AIPS 1:               1           8        *rest 0&lt;br /&gt;AIPS 1: SPECINDX      0                    Spectral index to correct&lt;br /&gt;AIPS 1:                                    'Channel 0' uv-data&lt;br /&gt;AIPS 1: IN3NAME    ' '                     Channel 0 uv name (name)&lt;br /&gt;AIPS 1:                                    must be '' to suppress option&lt;br /&gt;AIPS 1: IN3CLASS   ' '                     Channel 0 uv name (class)&lt;br /&gt;AIPS 1:                                    must be '' to suppress option&lt;br /&gt;AIPS 1: IN3SEQ        0                    Channel 0 uv name (seq. #)&lt;br /&gt;AIPS 1: IN3DISK       0                    Channel 0 uv disk unit #&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disks to avoid for scratch&lt;br /&gt;&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   1  Rpol&lt;br /&gt;localh&gt; BPASS1:     1-  2   25%    0d    1- 10  123%    0d    1- 13   44%    1d&lt;br /&gt;localh&gt; BPASS1:     1- 14   32%    1d    2-  4   34%    1d    2-  6   73%  178d&lt;br /&gt;localh&gt; BPASS1:     2-  7   25%    2d    2-  8  133%    0d    2-  9  238%  180d&lt;br /&gt;localh&gt; BPASS1:     2- 10  917%  178d    2- 11  662%    2d    2- 12  298%  178d&lt;br /&gt;localh&gt; BPASS1:     2- 13   80%    0d    2- 14  118%    1d    3-  8   53%    0d&lt;br /&gt;localh&gt; BPASS1:     3- 10   13%    1d    3- 13   20%    0d    3- 14   27%    0d&lt;br /&gt;localh&gt; BPASS1:     4-  6   74%    0d    4-  8   20%    2d    4-  9   63%    1d&lt;br /&gt;localh&gt; BPASS1:     4- 10  120%  178d    4- 11   31%    0d    4- 12   52%    0d&lt;br /&gt;localh&gt; BPASS1:     4- 13   35%    1d    4- 14   52%    1d    5-  8   63%    1d&lt;br /&gt;localh&gt; BPASS1:     5- 13   19%    0d    5- 14   28%    0d    6-  7   28%    1d&lt;br /&gt;localh&gt; BPASS1:     6-  9  111%    1d    6- 10  906%    0d    6- 11   84%    1d&lt;br /&gt;localh&gt; BPASS1:     6- 12  126%    1d    6- 14   24%    2d    7-  8  243%    2d&lt;br /&gt;localh&gt; BPASS1:     7-  9   26%    0d    7- 10  167%    0d    8- 11  140%  176d&lt;br /&gt;localh&gt; BPASS1:     8- 12   19%  178d    8- 13   32%    2d    8- 14   51%    2d&lt;br /&gt;localh&gt; BPASS1:     9- 10  801%    0d    9- 11   72%    0d    9- 12  107%    1d&lt;br /&gt;localh&gt; BPASS1:     9- 14   18%    2d   10- 11  586%    1d   10- 12  864%    0d&lt;br /&gt;localh&gt; BPASS1:    10- 13  205%    0d   10- 14   60%  176d   11- 12   64%    1d&lt;br /&gt;localh&gt; BPASS1:    12- 13   11%    0d   12- 14   28%    0d&lt;br /&gt;localh&gt; BPASS1: Closure error statistics: IF  7 correlator  1&lt;br /&gt;localh&gt; BPASS1: Channel   Mean amp &amp;  amp**2    Mean phase &amp; phase**2    Excess&lt;br /&gt;localh&gt; BPASS1:     1       52.84    104.74         16.72      53.59        53&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   2  Rpol&lt;br /&gt;localh&gt; BPASS1:     1- 13   13%    0d    2-  8   19%    2d    2- 13   13%    7d&lt;br /&gt;localh&gt; BPASS1:     2- 14   21%    5d    4-  8   11%    1d    4- 13   11%    2d&lt;br /&gt;localh&gt; BPASS1:     4- 14   16%    0d    5- 14   10%    1d    6- 12   12%    0d&lt;br /&gt;localh&gt; BPASS1:     7- 10   11%    1d    8- 12    1%   11d    9- 12   12%    1d&lt;br /&gt;localh&gt; BPASS1:    10- 12   12%    3d   10- 14   13%    1d&lt;br /&gt;localh&gt; BPASS1:     2        4.90      6.60          2.13       3.30        14&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   3  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 10   13%    0d    6- 14   11%    1d    9- 10   13%    1d&lt;br /&gt;localh&gt; BPASS1:     3        2.66      4.15          0.58       0.78         3&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   4  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 10   11%    0d    6- 14   11%    1d    9- 14   10%    2d&lt;br /&gt;localh&gt; BPASS1:    10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:     4        2.66      4.08          0.57       0.76         4&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   5  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 10   11%    0d    6- 14   10%    1d   10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:     5        2.60      3.99          0.53       0.69         3&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   6  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   10%    0d    6- 10   11%    0d    6- 14   12%    1d&lt;br /&gt;localh&gt; BPASS1:     9- 14   11%    2d   10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:     6        2.65      4.10          0.55       0.73         5&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   7  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   10%    1d    6- 14   12%    1d   10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:     7        2.58      3.92          0.51       0.69         3&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   8  Rpol&lt;br /&gt;localh&gt; BPASS1:    10- 13   10%    1d&lt;br /&gt;localh&gt; BPASS1:     8        2.20      3.30          0.55       0.73         1&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7   9  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   11%    1d   10- 13   11%    1d&lt;br /&gt;localh&gt; BPASS1:     9        2.24      3.37          0.51       0.68         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  35  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   11%    1d&lt;br /&gt;localh&gt; BPASS1:    35        2.27      3.37          0.56       0.75         1&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  36  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   11%    1d&lt;br /&gt;localh&gt; BPASS1:    36        2.23      3.38          0.55       0.74         1&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  37  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   12%    1d&lt;br /&gt;localh&gt; BPASS1:    37        2.28      3.46          0.52       0.71         1&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  38  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   11%    0d    6- 14   12%    1d&lt;br /&gt;localh&gt; BPASS1:    38        2.32      3.58          0.54       0.73         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  39  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   10%    1d    6- 14   11%    1d&lt;br /&gt;localh&gt; BPASS1:    39        2.31      3.52          0.54       0.73         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  40  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   11%    0d    6- 14   11%    1d&lt;br /&gt;localh&gt; BPASS1:    40        2.28      3.49          0.54       0.73         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  41  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   11%    1d    6- 14   11%    1d    9- 10   10%    0d&lt;br /&gt;localh&gt; BPASS1:    10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:    41        2.47      3.78          0.52       0.70         4&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  42  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 10   11%    0d    6- 14   10%    1d    7- 14   13%    1d&lt;br /&gt;localh&gt; BPASS1:    10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:    42        2.79      4.24          0.54       0.73         4&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  43  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   10%    1d    7- 10   15%    0d    7- 14   13%    1d&lt;br /&gt;localh&gt; BPASS1:     9- 10   11%    1d   10- 13   10%    1d&lt;br /&gt;localh&gt; BPASS1:    43        2.85      4.38          0.55       0.75         5&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  44  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   10%    1d    7- 14   13%    1d    9- 10   10%    1d&lt;br /&gt;localh&gt; BPASS1:    10- 13   10%    1d&lt;br /&gt;localh&gt; BPASS1:    44        2.57      3.94          0.56       0.76         4&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  45  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   11%    1d    6- 14   11%    1d    7- 14   12%    1d&lt;br /&gt;localh&gt; BPASS1:     9- 10   10%    0d    9- 14   10%    2d   10- 13   10%    1d&lt;br /&gt;localh&gt; BPASS1:    45        2.57      3.97          0.54       0.74         6&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  46  Rpol&lt;br /&gt;localh&gt; BPASS1:     6-  7   10%    1d    6- 14   11%    1d    7- 14   12%    1d&lt;br /&gt;localh&gt; LOGFILE FOR USER  333 GETTING LARGE: USE PRTMSG AND CLRMSG NOW!         &lt;br /&gt;localh&gt; BPASS1:    46        2.52      3.87          0.56       0.77         3&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  47  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   11%    1d    7- 14   13%    1d    9- 10   10%    0d&lt;br /&gt;localh&gt; BPASS1:    47        2.67      4.04          0.58       0.76         3&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  48  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   11%    1d   10- 13   11%    1d&lt;br /&gt;localh&gt; BPASS1:    48        2.58      3.86          0.57       0.76         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  49  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   10%    1d   10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:    49        2.59      3.87          0.55       0.72         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  50  Rpol&lt;br /&gt;localh&gt; BPASS1:     6- 14   11%    1d    9- 10   10%    0d   10- 13   12%    1d&lt;br /&gt;localh&gt; BPASS1:    50        2.59      3.88          0.56       0.73         3&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  51  Rpol&lt;br /&gt;localh&gt; BPASS1:     9- 10   10%    0d&lt;br /&gt;localh&gt; BPASS1:    51        2.27      3.41          0.52       0.70         1&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  52  Rpol&lt;br /&gt;localh&gt; BPASS1:     9- 10   10%    0d    9- 14   10%    2d&lt;br /&gt;localh&gt; BPASS1:    52        2.07      3.11          0.52       0.69         2&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  62  Rpol&lt;br /&gt;localh&gt; BPASS1:     8- 11   11%    0d    8- 14   12%    1d    9- 14   10%    0d&lt;br /&gt;localh&gt; BPASS1:    10- 13   14%    2d&lt;br /&gt;localh&gt; BPASS1:    62        2.98      4.31          0.88       1.11         4&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  63  Rpol&lt;br /&gt;localh&gt; BPASS1:     1- 12   11%    3d    2-  4   15%    4d    2- 12   10%    8d&lt;br /&gt;localh&gt; BPASS1:     3-  7   13%    1d    4-  7    7%   12d    4-  8   19%   10d&lt;br /&gt;localh&gt; BPASS1:     4- 11   14%    5d    5- 11   10%    3d    5- 12   11%    1d&lt;br /&gt;localh&gt; BPASS1:     7- 11   11%    7d    7- 12   16%    4d    8- 12   16%    3d&lt;br /&gt;localh&gt; BPASS1:     8- 13   14%    4d    8- 14   18%    2d   10- 13   13%    5d&lt;br /&gt;localh&gt; BPASS1:    10- 14   13%    6d   11- 13   12%    3d   11- 14   12%    1d&lt;br /&gt;localh&gt; BPASS1:    63        6.02      7.44          3.66       4.36        18&lt;br /&gt;localh&gt; BPASS1: Closure errors at  3/  2 47 50. IF/Chn no.    7  64  Rpol&lt;br /&gt;localh&gt; BPASS1:     1-  7   23%    2d    1-  8   35%   12d    1- 11    2%   12d&lt;br /&gt;localh&gt; BPASS1:     1- 12   17%    8d    1- 13    2%   11d    1- 14    2%   15d&lt;br /&gt;localh&gt; BPASS1:     2-  3   14%    5d    2-  4   63%    8d    2-  6   16%   12d&lt;br /&gt;localh&gt; BPASS1:     2-  7  203%   27d    2-  8  156%   14d    2- 10   15%    7d&lt;br /&gt;localh&gt; BPASS1:     2- 11    4%   55d    2- 12  107%   48d    2- 13   34%   45d&lt;br /&gt;localh&gt; BPASS1:     2- 14    3%   56d    3-  7   28%    4d    3-  8   41%   12d&lt;br /&gt;localh&gt; BPASS1:     3- 11    6%   12d    3- 12    9%   13d    3- 14    4%   13d&lt;br /&gt;localh&gt; BPASS1:     4-  7   73%   35d    4-  8   68%   28d    4- 10    5%   10d&lt;br /&gt;localh&gt; BPASS1:     4- 11   53%   23d    4- 12    5%   46d    4- 13   64%    2d&lt;br /&gt;localh&gt; BPASS1:     4- 14   66%   20d    5-  6   10%    2d    5-  7   11%   17d&lt;br /&gt;localh&gt; BPASS1:     5-  8    2%   21d    5- 11   27%    4d    5- 12   30%    1d&lt;br /&gt;localh&gt; BPASS1:     5- 13   16%    9d    5- 14   30%    8d    6-  7    6%   19d&lt;br /&gt;localh&gt; BPASS1:     6-  8   27%   26d    6- 11   19%    9d    6- 12   34%    7d&lt;br /&gt;localh&gt; BPASS1:     6- 14   27%    6d    7-  8  178%   15d    7-  9   15%   16d&lt;br /&gt;localh&gt; BPASS1:     7- 10   12%   11d    7- 11  125%   45d    7- 12  257%   31d&lt;br /&gt;localh&gt; BPASS1:     7- 13   50%   47d    7- 14   88%   43d    8-  9   11%   22d&lt;br /&gt;localh&gt; BPASS1:     8- 10   22%   21d    8- 11   55%   55d    8- 12  164%   42d&lt;br /&gt;localh&gt; BPASS1:     8- 13   17%   56d    8- 14    9%   53d    9- 11    5%   12d&lt;br /&gt;localh&gt; BPASS1:     9- 12   27%    3d    9- 13    4%   13d    9- 14    3%   15d&lt;br /&gt;localh&gt; BPASS1:    10- 11   10%   14d   10- 12   20%    9d   10- 13   12%    9d&lt;br /&gt;localh&gt; BPASS1:    10- 14   20%   13d   11- 12  128%   20d   11- 13   72%    6d&lt;br /&gt;localh&gt; BPASS1:    11- 14   90%    1d   12- 13   96%   23d   12- 14  106%   16d&lt;br /&gt;localh&gt; BPASS1:    13- 14   47%    6d&lt;br /&gt;localh&gt; BPASS1:    64       27.85     45.82         15.40      21.64        67&lt;br /&gt;localh&gt; BPASS1: Antenna  1  IF  7  corr 1  had        12 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  2  IF  7  corr 1  had        26 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  3  IF  7  corr 1  had        11 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  4  IF  7  corr 1  had        24 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  5  IF  7  corr 1  had        13 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  6  IF  7  corr 1  had        51 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  7  IF  7  corr 1  had        40 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  8  IF  7  corr 1  had        31 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna  9  IF  7  corr 1  had        29 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna 10  IF  7  corr 1  had        54 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna 11  IF  7  corr 1  had        26 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna 12  IF  7  corr 1  had        31 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna 13  IF  7  corr 1  had        40 excess closure errors&lt;br /&gt;localh&gt; BPASS1: Antenna 14  IF  7  corr 1  had        62 excess closure errors&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1532606920838985693?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1532606920838985693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1532606920838985693' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1532606920838985693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1532606920838985693'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/02/bandpass-calibration-trauma.html' title='Bandpass calibration trauma'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3216974998851240231</id><published>2008-01-04T02:47:00.002-06:00</published><updated>2010-02-04T23:14:09.870-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Double Sources-- and not the AGN kind</title><content type='html'>I'm having this problem with some archival data from 1990. I have two nights of data on a galaxy, spaced a few nights apart from one another.  I calibrate the nights separately, and image them separately. It rapidly becomes obvious that the images from the two nights are shifted relative to one another, but not in any simple way. The galaxy center, at the image center, is at the same position in both, but as you go out radially, the first night's sources are further out, radially. It's as if the image is stretched one night, relative to the other. &lt;br /&gt;&lt;br /&gt;AIPS thinks that both images have the same pixel scale, so that means a source will have different R.A. and Dec (by about an arcminute, pretty bad!) between the two nights' images. If I DBCON the two nights, I get lots of double sources.&lt;br /&gt;&lt;br /&gt;The observational setup claims to be exactly the same between the two nights-- same pointing center, same correlator set-up.&lt;br /&gt;&lt;br /&gt;Anyone have any idea what might be causing this? I think I've had a similar problem with GMRT data before, and gave up temporarily and went on to a different project. I'm guessing it's a calibration issue?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3216974998851240231?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3216974998851240231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3216974998851240231' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3216974998851240231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3216974998851240231'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2008/01/double-sources-and-not-agn-kind.html' title='Double Sources-- and not the AGN kind'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-7595517796403155313</id><published>2007-12-03T13:14:00.000-06:00</published><updated>2007-12-03T17:23:04.641-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><title type='text'>Setting up New Data Disks</title><content type='html'>My latest organizational scheme for AIPS is to give each project a new AIPS data disk. I just spent some time adding a new data disk to my AIPS installation on my laptop. Here's what I did to get it. (BTW, I've got a MacBook, but that shouldn't matter for this.)&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;In $AIPS_ROOT, cd to DA00. Save a copy of the DADEVS.LIST file as DADEVS.LIST.old. Then edit the DADEVS.LIST. I just copied the first uncommented line (set up by AIPS) and incremented the data disk number by 1, i.e., LOCALHOST_2. Now save a copy of the NETSP file in the same directory to NETSP.old. Again, edit the file by copying the first uncommented line and incrementing the data disk number by 1. Finally, cd to $AIPS_ROOT/DATA, mkdir LOCALHOST_2 (or whatever your new data disk is named), cd to LOCALHOST_2, and create a file named SPACE (touch SPACE). Now when you start up AIPS you should have additional data disks available. &lt;br /&gt;&lt;br /&gt;Most of this tip was taken from &lt;a href="http://www.aips.nrao.edu/aipsmgr/"&gt;the AIPS Manager FAQ&lt;/a&gt; (see "How do I configure new AIPS data areas?").&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-7595517796403155313?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/7595517796403155313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=7595517796403155313' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7595517796403155313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/7595517796403155313'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/12/setting-up-new-data-disks.html' title='Setting up New Data Disks'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1490604829297506893</id><published>2007-10-04T21:03:00.000-05:00</published><updated>2007-10-05T12:09:08.956-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Your friend, the tilde</title><content type='html'>Ever had to enter a lot of numbers into an array in an AIPS script and run out of room (like in &lt;a href="http://aipsforum.blogspot.com/2007/07/limited-line-length-in-runfiles.html"&gt;this post&lt;/a&gt;)? Trying to figure out the mysteries of plcolor without typing 5 million numbers? In your time of need, the handy tilde will help you out. See below the fold for more details.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;The popsym help file (type &lt;code&gt;help popsym&lt;/code&gt; to access) gives you this handy tidbit of information on the tilde&lt;br /&gt;&lt;code&gt;&lt;br /&gt;A(i) ~ 1,2,3  Store values in A(i),A(i+1)... (change only as many as on RHS)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now here's an example,&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;filename = '10208722.UVF','10208724.UVF','10208726.UVF','10208727.UVF'&lt;br /&gt;filename(5) ~ '10208733.UVF','10303423.UVF','10303424.UVF','10303461.UVF'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Tah-Dah!! That's all there really is to it. Use the tilde, Luke -- your fingers will thank you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1490604829297506893?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1490604829297506893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1490604829297506893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1490604829297506893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1490604829297506893'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/10/your-friend-tilde.html' title='Your friend, the tilde'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4381452004243966734</id><published>2007-09-21T15:45:00.000-05:00</published><updated>2007-09-21T16:03:23.855-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>Beam Squint and Self Calibration (relevant even if you don't care about polarization!)</title><content type='html'>Here's another tip from Juan Uson about a self-cal trick to get the very best dynamic range in your images.&lt;br /&gt;&lt;br /&gt;The VLA has beam squint in Stokes V. What this means is that away from the center of your field, the RR and LL polarizations separate a bit (I don't really understand the details of this). This leads to an image artifact-- if you have a bright source off the center of your field, it'll seem like you can't clean it very well. Even if you've done your very best job at self calibration and cleaned very deeply, there will still remain rings around the source (which of course drives up your noise). &lt;br /&gt;&lt;br /&gt;One easy fix for this problem is to do a normal Phase self calibration, but when it's time for your A&amp;P self calibration, average your RR and LL. I believe the relevant parameter for this in CALIB is APARM(3) &gt; 1. This should give you a self cal that is not affected by the beam squint, and models your bright sources better!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4381452004243966734?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4381452004243966734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4381452004243966734' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4381452004243966734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4381452004243966734'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/09/beam-squint-and-self-calibration.html' title='Beam Squint and Self Calibration (relevant even if you don&apos;t care about polarization!)'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3418983750932176014</id><published>2007-09-21T15:34:00.000-05:00</published><updated>2007-09-21T15:42:02.405-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>Clean Components and Self Calibration</title><content type='html'>Well, I just talked to Juan Uson from NRAO-Charlottesville, and he delivered some useful information for us burgeoning self-cal experts.&lt;br /&gt;&lt;br /&gt;He says that you should ALWAYS use all your clean components for self calibration. Don't cut at the first negative! He says that when they were first learning about self cal, they were very timid and therefore advised people to cut at the first negative, but now they know better. You want to use your very best clean component model for self cal, which includes all components!&lt;br /&gt;&lt;br /&gt;Here are some reasons why-- &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;a bright source that is centered on the edge between two pixels will actually take an infinite number of clean components to model, because basically the clean algorithm keeps exchanging flux back and forth between the surrounding pixels. so, to model such a source, there are lots of negative clean components required.&lt;br /&gt;&lt;br /&gt;if a source has any complex structure at all, you can't really effectively model it without using some negative components.&lt;br /&gt;&lt;br /&gt;I told him that occasionally, the word on the street is "Just self cal off of one bright source that you know the structure of, and leave the rest of the flux alone." When I tried to do that once, the self cal created fictional ghost sources in my data and it scared me! Juan was not surprised; he said its a terrible idea to self cal on only a select few sources. Basically what self cal does is divide your real fluxes by your model fluxes, and try to make the residuals look like noise. If there is still real flux in your residuals (because your clean model is based off only a select few sources), then it will try to turn that real flux into noise and crazy things will happen. &lt;br /&gt;&lt;br /&gt;So, clean out all your flux, and use all your clean components!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3418983750932176014?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3418983750932176014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3418983750932176014' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3418983750932176014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3418983750932176014'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/09/clean-components-and-self-calibration.html' title='Clean Components and Self Calibration'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3797371185679735984</id><published>2007-09-19T10:35:00.002-05:00</published><updated>2010-02-04T23:08:40.737-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='importing data'/><title type='text'>Filling data that includes midnight</title><content type='html'>When you get your data from the archive, it's normally in several files. For me, each file is usually a day's worth of data, so I fill and calibrate each data file separately. However, if you have observations that go from say 20:00 on 17-Feb to 6:00 on 18-Feb, the archive creates a separate files for the observations on the 17th and for the observations on the 18th. You need to read in both files to calibrate that series of observations.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3797371185679735984?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3797371185679735984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3797371185679735984' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3797371185679735984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3797371185679735984'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/09/filling-data-that-includes-midnight.html' title='Filling data that includes midnight'/><author><name>amanda</name><uri>http://www.blogger.com/profile/11427598026149859459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-8380901439560341696</id><published>2007-09-17T15:19:00.003-05:00</published><updated>2010-02-04T23:04:06.373-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archive'/><category scheme='http://www.blogger.com/atom/ns#' term='imaging'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenating uv data'/><title type='text'>Complications with Shamelessly Raiding the Archive</title><content type='html'>Amanda and I are spending the week in Socorro, so hopefully we will be learning little new AIPS facts every day! Here's my first one:&lt;br /&gt;&lt;br /&gt;Sometimes I have dreams about raiding the VLA archive and combining like 6 different data sets. However, often times the data sets will have slightly different centers-- in my case, often one observer centers on the galaxy's center, while another observer center on a supernova that goes off in the outskirts of the galaxy, some 5 arcminutes away. I was wondering, can you just DBCON these two data sets together, and AIPS can handle it?&lt;br /&gt;&lt;br /&gt;The answer is...&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;DBCON can adjust the phases, so yes, it can image data from two pointings with significantly different centers. What Miller Goss said you have to be wary of is that DBCON doesn't adjust amplitudes. So, if there are two different pointing centers, the center of your galaxy is going to fall in different locations of the primary beam in the different observations. If you are combining two observations separated by 5 arcminutes at 20cm, where the primary beam is 30 arcminutes, this shouldn't be a big issue...probably the primary beam sensitivity of the two pointings will only vary by a few percent. However, if the separation of your pointings starts approaching the size of the primary beam, then you can no longer use DBCON and need to think of some other way to combine the data.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-8380901439560341696?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/8380901439560341696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=8380901439560341696' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8380901439560341696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/8380901439560341696'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/09/complications-with-shamelessly-raiding.html' title='Complications with Shamelessly Raiding the Archive'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6318175702228563840</id><published>2007-08-10T00:18:00.000-05:00</published><updated>2007-08-10T01:52:12.887-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>AIPS Binary Downloads</title><content type='html'>Oh my god. Installing software on my new mac makes me feel like a complete idiot.&lt;br /&gt;&lt;br /&gt;There are all these detailed websites about how to install aips on your mac, but NONE (not one!) of them link to the actualy binaries! Many of them mention that said binaries exist. I think they are available by ftp. Ftp to what, though, i ask you? Does anybody know how to download the aips binaries so i can get on with this installation nightmare?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6318175702228563840?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6318175702228563840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6318175702228563840' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6318175702228563840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6318175702228563840'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/08/aips-binary-downloads.html' title='AIPS Binary Downloads'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5160744120522786128</id><published>2007-07-26T10:18:00.002-05:00</published><updated>2010-02-04T23:13:01.038-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='outputting data'/><title type='text'>Multiple output files</title><content type='html'>&lt;span class="fullpost"&gt;If one wants to write out multiple fits files at a time which have same inname and inclass just different inseq no. how does one do that?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5160744120522786128?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5160744120522786128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5160744120522786128' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5160744120522786128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5160744120522786128'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/07/multiple-output-files.html' title='Multiple output files'/><author><name>Scorpionqueen</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-9167393250851725707</id><published>2007-07-25T09:38:00.000-05:00</published><updated>2007-10-05T12:11:14.099-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>limited line length in runfiles</title><content type='html'>in runfiles you can't have lines longer than ~70 characters (i'm not sure what the actual limit is).  i've only had a problem with this once when i was defining a large array of filenames for the multiple pointings in a mosaic.  the only way to get the whole array defined was to fill in the last three entries manually.  i've posted the code i used below.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;     string*8 obj_name(15)&lt;br /&gt;     obj_name = 'GH40-1','GH40-2','GH40-3','GH40-4','GH40-5','GH40-6'&lt;br /&gt;     obj_name(7) = 'GH40-7'&lt;br /&gt;     obj_name(8) = 'GH40-8'&lt;br /&gt;     obj_name(9) = 'GH40-9'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Note added by Amanda on 10/05/07: It's actually easier to use the tilde. See &lt;a href="http://aipsforum.blogspot.com/2007/10/your-friend-tilde.html"&gt;this post.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-9167393250851725707?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/9167393250851725707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=9167393250851725707' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/9167393250851725707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/9167393250851725707'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/07/limited-line-length-in-runfiles.html' title='limited line length in runfiles'/><author><name>emily</name><uri>http://www.blogger.com/profile/07622151655752935690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3070512864089513663</id><published>2007-07-05T12:58:00.001-05:00</published><updated>2010-02-04T22:54:47.947-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>SMOTH and and regridding</title><content type='html'>Can anyone suggest an AIPS task that can help me with the following?  I'm looking at emission lines in a diffuse source.  I needed to try and increase my S/N levels, but could not smooth the line because it has some complicated structure (multiple velocity components, etc) that I want to fit.  So, I smoothed spatially using SMOTH.&lt;br /&gt;&lt;br /&gt;Since my beam is now almost twice the size that it used to be (6'' instead of 4'') I think the pixel size of the original image may be oversampling the beam.  Can I regrid the smoothed image to have 1'' pixels instead of 0.5'' pixels?  How?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Katie&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3070512864089513663?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3070512864089513663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3070512864089513663' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3070512864089513663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3070512864089513663'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/07/smoth-and-and-regridding.html' title='SMOTH and and regridding'/><author><name>KED</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3127840891479731200</id><published>2007-07-04T17:33:00.002-05:00</published><updated>2010-02-04T22:57:02.375-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image analysis'/><title type='text'>Gaussian Fitting</title><content type='html'>Here is a request from an anonymous reader; any advice, anyone?&lt;br /&gt;&lt;br /&gt;Can you please help me with the following? I have an image with 5 substructures in it. The peaks inthe image decrease in size from left to right, the leftmost two are the brightest. All of them are close to each other. With AIPS jmfit I can fit not more than 4 gaussians. I played around a bit and noticed that dividing the whole image into two parts and fitting 2 gaussians and 3 gaussians respectively in the two parts does not work properly and gives a bad fit. So I came up with this idea. I can first fit four gaussians to first four peaks, and then from the whole image subtract the brightest two. To the residual image now I fit 3 gaussians. I checked whether this technique gives me a good fit to a slice of data (Wrote my own fortran programs for that). It seems to work but my problem is how to do it in aips.&lt;br /&gt;&lt;br /&gt;So my problem is the following. I want to fit 4 gaussians to a selected range of data. Then subtract only the brightest two gaussian from the whole image. Then fit other three gaussians to another restricted part of the data. Could anyone please help me on this? &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3127840891479731200?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3127840891479731200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3127840891479731200' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3127840891479731200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3127840891479731200'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/07/gaussian-fitting.html' title='Gaussian Fitting'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4484166476036690093</id><published>2007-06-30T10:39:00.000-05:00</published><updated>2007-06-30T11:18:20.706-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>self-calibration subtleties : 2 questions</title><content type='html'>&lt;ul&gt;&lt;br /&gt;&lt;li&gt;i have a dataset which shows significantly different structure depending on the weighting (robust value) used when i image it.  should i self-cal using maps with a natural weighting that show the diffuse emission or maps with a more uniform weighting which emphasize the point sources?  &lt;i&gt;i'm inclined to use a robust value around 0 because i feel like the point sources are more reliable self-cal targets (and contribute more flux) even though what i really care about is the diffuse stuff and the maps i make for the analysis will use a robust &gt; 0.&lt;/i&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;do i always need to self-cal using clean components from the entire primary beam even if the source i care about is only in the inner 15%?  &lt;i&gt;since it does seem true that "the best self-cal model is the one that contains the most flux" i think i am obligated to image the entire primary beam during self-calibration.&lt;/i&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4484166476036690093?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4484166476036690093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4484166476036690093' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4484166476036690093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4484166476036690093'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/self-calibration-subtleties-2-questions.html' title='self-calibration subtleties : 2 questions'/><author><name>emily</name><uri>http://www.blogger.com/profile/07622151655752935690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1927636846517773826</id><published>2007-06-20T16:49:00.000-05:00</published><updated>2007-06-30T14:22:53.550-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bandpasses'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>Reference Frequencies (Center v. Edge?)</title><content type='html'>I've come to the conclusion that for 1-channel continuum data coming from the VLA, the frequency that you see in the header and in your LISTR 'scans' ouput is the center of your bandwidth (not the beginning). &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I come to this conclusion mostly because the L-band observing guide on the VLA web page says that "The two recommended center frequencies are 1365 and 1435 MHz." I used the defaults when I made my observe files, and now my LISTR output lists these two frequencies.&lt;br /&gt;&lt;br /&gt;EDIT: June 21 2007&lt;br /&gt;And these words from Eric Greisen&lt;br /&gt;&lt;pre&gt;In FITS coordinates, the stated coordinate is at the center of each&lt;br /&gt;voxel.  It may be moved by having a non-integer reference pixel.  In&lt;br /&gt;normal VLA data we do not do that, so these frequencies are nominally&lt;br /&gt;at the center of your band.  I say nominally, because if the bandshape&lt;br /&gt;is not symmetric about the center, then the effective frequency will&lt;br /&gt;diverge from the one stated.  True astrometry should never be done&lt;br /&gt;with wide, asymmetric bandshapes (and the VLA at 50 MHz is&lt;br /&gt;asymmetric).&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1927636846517773826?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1927636846517773826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1927636846517773826' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1927636846517773826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1927636846517773826'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/reference-frequencies.html' title='Reference Frequencies (Center v. Edge?)'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-75569285325103303</id><published>2007-06-19T15:55:00.001-05:00</published><updated>2008-10-25T14:42:28.139-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>Where did R go?</title><content type='html'>Ok, this is kind of a strange thing.  I'm working with Pband data.  I've gone through initial flagging, and then I run CALIB.  But for some reason it's not finding my R data... so I get 1/2 good solutions and 1/2 failed solutions (because it finds the L just fine).  But I look at the data (and when I flagged it too) and it's *there*.  Has anyone encountered this?  What's going on and how to I fix it?  I'm using pretty standard inputs...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-75569285325103303?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/75569285325103303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=75569285325103303' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/75569285325103303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/75569285325103303'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/where-did-r-go.html' title='Where did R go?'/><author><name>Kisha</name><uri>http://www.blogger.com/profile/06904288403617995781</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-3327250208410805597</id><published>2007-06-14T11:41:00.002-05:00</published><updated>2010-02-04T23:10:15.176-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Making AIPS and Miriad Work Together'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>Reference Frequencies (AIPS v. Miriad)</title><content type='html'>I went back and reviewed my early post; this is an update, with a few more details.&lt;br /&gt;&lt;br /&gt;I've been working with GMRT data reduced in AIPS, and ATCA data reduced in MIRIAD.&lt;br /&gt;It turns out that (at least for GMRT observations) AIPS gives the reference frequency (in imhead or prtan) as the frequency in the middle of the first channel, whereas Miriad gives the reference frequency (in prthd or uvlist, options=spectral) as that measured at the end of the first channel.  But don't freak out yet--the channels still contain the same data, they are just identified differently in AIPS vs Miriad.  See "read more" for details.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;It's relatively easy to see from reading the headers, so I'm not sure why this caused me trouble when I first posted it (notice the "at Pixel" in the AIPS header):&lt;br /&gt;&lt;br /&gt;From AIPS:&lt;br /&gt;&lt;p style="font-family: courier;"&gt;&lt;br /&gt;AIPS 1: Image=NGC2997   (UV)         Filename=15JAN       .UVLIN .   1&lt;br /&gt;AIPS 1: Telescope=GMRT               Receiver=GMRT&lt;br /&gt;AIPS 1: Observer=PISANO              User #=   43&lt;br /&gt;AIPS 1: Observ. date=14-JAN-2007     Map date=18-APR-2007&lt;br /&gt;AIPS 1: # visibilities    325734     Sort order  TB&lt;br /&gt;AIPS 1: Rand axes: UU-L-SIN  VV-L-SIN  WW-L-SIN  BASELINE  TIME1&lt;br /&gt;AIPS 1:            WEIGHT  SCALE&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat&lt;br /&gt;AIPS 1: COMPLEX      1   1.0000000E+00       1.00  1.0000000E+00    0.00&lt;br /&gt;AIPS 1: STOKES       2  -1.0000000E+00       1.00 -1.0000000E+00    0.00&lt;br /&gt;AIPS 1: FREQ       128   1.4129999E+09       0.50  3.1250000E+04    0.00&lt;br /&gt;AIPS 1: IF           1   1.0000000E+00       1.00  1.0000000E+00    0.00&lt;br /&gt;AIPS 1: RA           1    09 45 38.811       1.00       3600.000    0.00&lt;br /&gt;AIPS 1: DEC          1   -31 09 27.768       1.00       3600.000    0.00&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: Coordinate equinox 2000.00&lt;br /&gt;AIPS 1: Rest freq      0.000         Vel type: RADIO   wrt YOU&lt;br /&gt;AIPS 1: Alt ref. value  0.00000E+00  wrt pixel    1.00&lt;br /&gt;AIPS 1: Max version number of extension files type HI is   1&lt;br /&gt;AIPS 1: Max version number of extension files type FQ is   1&lt;br /&gt;AIPS 1: Max version number of extension files type AN is   1&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;From MIRIAD:&lt;br /&gt;&lt;p style="font-family: courier;"&gt;&lt;br /&gt;****************************************************************&lt;br /&gt;Filename: 15jan.uvlin/&lt;br /&gt;Telescope: GMRT&lt;br /&gt;Object: ngc2997             Observer: PISANO&lt;br /&gt;First time: 07JAN15:18:31:06.8&lt;br /&gt;Number of antennae: 30&lt;br /&gt;Polarisations Present: RR,LL&lt;br /&gt;Type of correlations present: crosscorrelation&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;Spectral Correlations:&lt;br /&gt;Spectrum  Channels  Freq(chan=1)  Increment  Restfreq&lt;br /&gt;  1        128       1.41302     0.000031   1.42041 GHz&lt;br /&gt;Total number of correlations: 83387904&lt;br /&gt;Correlations are stored in 16-bit form&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;J2000    Source RA: 9:45:38.811   Dec: -31:09:27.76&lt;br /&gt;Apparent Source RA: 9:45:58.554   Dec: -31:11:18.61&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;As a side note, when checking the reference freq in AIPS check the outputs of both imhead and prtan--an AIPS bug is that occassionally they don't match!&lt;br /&gt;From Chapter 8 of the AIPS cookbook:&lt;br /&gt;"Another, more serious, problem is that two locations in the FITS file give the "reference frequency" -- the header and the antenna table. In principle these should agree. However there are instances when they will differ. Task FITS will issue a warning when this happens, and will use the antenna table reference frequency as the true reference frequency. In some cases this will be the correct frequency. In others it will not."...pg 8-7&lt;br /&gt;&lt;br /&gt;**Note, this is now consistent with one of Laura's later posts (Edited by KMH 9/6/07).&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-3327250208410805597?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/3327250208410805597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=3327250208410805597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3327250208410805597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/3327250208410805597'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/making-aips-miriad-work-together.html' title='Reference Frequencies (AIPS v. Miriad)'/><author><name>Kelley</name><uri>http://www.blogger.com/profile/05450406433926399724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-977390686939026248</id><published>2007-06-12T14:43:00.000-05:00</published><updated>2008-01-22T22:28:39.207-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Tricky, Tricky FOR Loops</title><content type='html'>I was just trying to write a FOR loop which would run UVCOP many times. When I ran&lt;br /&gt;&lt;br /&gt;for i = 1 to 10; bchan i; echan i; go uvcop; end&lt;br /&gt;&lt;br /&gt;AIPS would set bchan and echan to 1, then it would run UVCOP once, then it would set bchan and echan to 2, and end the FOR loop. I really didn't know what the problem was-- this loop should work. Then Eric told me this trick: put WAIT before the END, so that now your loop looks like this:&lt;br /&gt;&lt;br /&gt;for i = 1 to 10; bchan i; echan i; go uvcop; wait; end&lt;br /&gt;&lt;br /&gt;I guess what was happening was that the loop was continuing on before uvcop had finished running, and the loop was getting all confused. It worked with a WAIT!&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-977390686939026248?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/977390686939026248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=977390686939026248' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/977390686939026248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/977390686939026248'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/tricky-trick-for-loops.html' title='Tricky, Tricky FOR Loops'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6486543931743914297</id><published>2007-06-11T10:48:00.000-05:00</published><updated>2008-01-22T22:29:07.336-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='spectral line'/><title type='text'>XYZ</title><content type='html'>What does AIPS consider the x, y, and z axes? For example, XSMTH smoothes your data along the x axis. What on earth does this mean? I would think the z axis would be velocity.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6486543931743914297?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6486543931743914297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6486543931743914297' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6486543931743914297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6486543931743914297'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/xyz.html' title='XYZ'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5256482691571952356</id><published>2007-06-11T10:41:00.003-05:00</published><updated>2010-02-04T23:13:15.687-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='outputting data'/><title type='text'>Tarballs?</title><content type='html'>Is there a way to read out a whole bunch of files from AIPS at once? My hard drive on my laptop is getting full, so I wanted to tar up all the files from a reduction of one of my galaxies, read it out to a fits file, and scp it over to my work computer. Is there a way to do this, or do i have to run FITTP on each file individually?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5256482691571952356?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5256482691571952356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5256482691571952356' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5256482691571952356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5256482691571952356'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/tarballs.html' title='Tarballs?'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5933536310031104381</id><published>2007-06-08T18:28:00.000-05:00</published><updated>2008-01-22T22:24:08.309-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips n&apos; tricks'/><title type='text'>File Sizes</title><content type='html'>Anybody know how to figure out how much hard drive space each aips file is taking up? I can look in the DATA directory, but all the names are written in code there. It would be so much nice if there was an actual aips command. &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5933536310031104381?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5933536310031104381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5933536310031104381' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5933536310031104381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5933536310031104381'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/file-sizes.html' title='File Sizes'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1602031349074106269</id><published>2007-06-04T23:57:00.002-05:00</published><updated>2007-06-30T14:12:21.192-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wisconsin Banana Recipes'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>WBR Step 6L: Calibration</title><content type='html'>Calibration is usually a somewhat iterative process. I will lightly flag my calibrator, then calibrate the calibrator, then see if any new funky looking data points have appeared. If they have, I will flag again and calibrate again. Wash, rinse, repeat until no funky data points show up.&lt;br /&gt;&lt;br /&gt;So how do you calibrate your data anyway?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;Assuming you've lightly flagged your phase and flux calibrators, according to Step 5, now we're ready to run SETJY. SETJY basically just writes to your data the most accurate flux for your flux calibrator. Important parameters to consider here:&lt;br /&gt;--SOURCES  '1331+305',  '0137+331', or '0542+498' (whichever one you used. sometimes you will have two different flux calibrators, and you can enter them both here.&lt;br /&gt;--OPTYPE 'CALC'&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: SETJY     Task to enter source info into source (SU) table.&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'             Input image name (name)&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  Input image name (class)&lt;br /&gt;AIPS 1: INSEQ         1                    Input image name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input image disk unit #&lt;br /&gt;AIPS 1: SOURCES    '1331+305'              Sources to modify.&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Source qualifier -1=&gt;all&lt;br /&gt;AIPS 1: BIF           0                    Low IF # for flux density&lt;br /&gt;AIPS 1: EIF           0                    High IF # for flux density&lt;br /&gt;AIPS 1: ZEROSP     *all 0                  I,Q,U,V flux density (Jy)&lt;br /&gt;AIPS 1: OPTYPE     'CALC'                  '    ' =&gt; use other adverbs&lt;br /&gt;AIPS 1:                                    for required operation&lt;br /&gt;AIPS 1:                                    'CALC' =&gt; determine&lt;br /&gt;AIPS 1:                                    3C286/3C48/1934 fluxes from&lt;br /&gt;AIPS 1:                                    standard formulae&lt;br /&gt;AIPS 1:                                    'REJY' =&gt; reset source&lt;br /&gt;AIPS 1:                                    fluxes to zero.&lt;br /&gt;AIPS 1:                                    'REVL' =&gt; reset velocity&lt;br /&gt;AIPS 1:                                    to zero&lt;br /&gt;AIPS 1:                                    'RESE' =&gt; reset fluxes &amp;&lt;br /&gt;AIPS 1:                                    velocities to zero.&lt;br /&gt;AIPS 1: CALCODE    ' '                     New calibrator code:&lt;br /&gt;AIPS 1:                                      '----' =&gt; change to blank&lt;br /&gt;AIPS 1: SYSVEL        0                    Velocity of source (km/s)&lt;br /&gt;AIPS 1: RESTFREQ      0           0        Line rest frequency (Hz)&lt;br /&gt;AIPS 1: VELTYP     ' '                     Velocity type 'LSR,'HELIO'&lt;br /&gt;AIPS 1: VELDEF     ' '                     Velocity definition 'RADIO',&lt;br /&gt;AIPS 1:                                    'OPTICAL'&lt;br /&gt;AIPS 1: FREQID        0                    FQ table entry to use for&lt;br /&gt;AIPS 1:                                    velocity information and&lt;br /&gt;AIPS 1:                                    'CALC' option&lt;br /&gt;AIPS 1: APARM      *all 0                  (1): Pixel to which SYSVEL&lt;br /&gt;AIPS 1:                                         refers ( 0=&gt;1)&lt;br /&gt;AIPS 1:                                    (2): Only for 'CALC' option:&lt;br /&gt;AIPS 1:                                      &lt;= 0 =&gt; use latest VLA&lt;br /&gt;AIPS 1:                                          values (1999.2) or,&lt;br /&gt;AIPS 1:                                          for 1934-638, the&lt;br /&gt;AIPS 1:                                          ATCA value of 30Jul94.&lt;br /&gt;AIPS 1:                                         1 =&gt; use Baars values&lt;br /&gt;AIPS 1:                                          or old ATCA/PKS values&lt;br /&gt;AIPS 1:                                          for 1934-638&lt;br /&gt;AIPS 1:                                         2 =&gt; use VLA 1995.2&lt;br /&gt;AIPS 1:                                          values or for 1934-638&lt;br /&gt;AIPS 1:                                          the ATCA value of&lt;br /&gt;AIPS 1:                                          30Jul94.&lt;br /&gt;AIPS 1:                                      &gt;= 3 =&gt; use oldest VLA&lt;br /&gt;AIPS 1:                                          values (1990) or,&lt;br /&gt;AIPS 1:                                          for 1934-638, the&lt;br /&gt;AIPS 1:                                          ATCA value of 30Jul94.&lt;br /&gt;AIPS 1:                                    (3): Only for 'CALC' option:&lt;br /&gt;AIPS 1:                                         multiply the calculated&lt;br /&gt;AIPS 1:                                         fluxes by APARM(3) with&lt;br /&gt;AIPS 1:                                         0 -&gt; 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to run calib!&lt;br /&gt;(I wouldn't use VLACALIB (like the AIPS cookbook tells you too) because some parts of VLACALIB are a bit of a black box, and can set certain parameters quite mysteriously (I've had it use SOLINT = 400 before, for no good reason).&lt;br /&gt;&lt;br /&gt;Run calib on your flux calibrator first. Here are some parameters you should definitely worry about and set:&lt;br /&gt;CALSOUR  '1331+305' (name of flux calibrator)&lt;br /&gt;UVRANGE (find this in the VLA calibrator manual. the best calibrators are ones where you don't have to set this.)&lt;br /&gt;DOCALIB 2 (apply weights)&lt;br /&gt;REFANT 6 (you chose a refant in step 3, use it!)&lt;br /&gt;SOLINT 1 (this is how often to solve for a calibration solution. 1 seems to work well often.)&lt;br /&gt;SOLMODE 'A&amp;P' (calibrate amplitudes and phases)&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: CALIB:  Task to determine calibration for data.&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1:                                    Input uv data.&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'                UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                     UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         1                       UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                       UV file disk drive #&lt;br /&gt;AIPS 1:                                    Data selection (multisource):&lt;br /&gt;AIPS 1: CALSOUR    '1331+305'              Calibrator sources&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Calibrator qualifier -1=&gt;all&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID        1                    Freq. ID to select.&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to use.&lt;br /&gt;AIPS 1: BCHAN         0                    Lowest channel number 0=&gt;all&lt;br /&gt;AIPS 1: ECHAN         0                    Highest channel number&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to select. 0=all&lt;br /&gt;AIPS 1: DOFIT      *all 0                  Subset of ANTENNAS list for&lt;br /&gt;AIPS 1:                                    which solns are desired.&lt;br /&gt;AIPS 1: ANTUSE     *all 0                  Mean gain is calculated&lt;br /&gt;AIPS 1:                                    (CPARM(2)&gt;0) using only the&lt;br /&gt;AIPS 1:                                    listed antennas. See explain.&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;all&lt;br /&gt;AIPS 1: UVRANGE       0           0        Range of uv distance for full&lt;br /&gt;AIPS 1:                                    weight&lt;br /&gt;AIPS 1: WTUV          0                    Weight outside UVRANGE 0=0.&lt;br /&gt;AIPS 1: WEIGHTIT      0                    Modify data weights function&lt;br /&gt;AIPS 1:                                    Cal. info for input:&lt;br /&gt;AIPS 1: DOCALIB       2                    If &gt;0 calibrate data&lt;br /&gt;AIPS 1:                                    = 2 calibrate weights&lt;br /&gt;AIPS 1: GAINUSE       0                    CL table to apply.&lt;br /&gt;AIPS 1: DOPOL        -1                    If &gt;0 correct polarization.&lt;br /&gt;AIPS 1: BLVER        -1                    BL table to apply.&lt;br /&gt;AIPS 1: FLAGVER       1                    Flag table version&lt;br /&gt;AIPS 1: DOBAND       -1                    If &gt;0 apply bandpass cal.&lt;br /&gt;AIPS 1:                                    Method used depends on value&lt;br /&gt;AIPS 1:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 1: BPVER         1                    Bandpass table version&lt;br /&gt;AIPS 1: SMOOTH     *all 0                  Smoothing function. See&lt;br /&gt;AIPS 1:                                    HELP SMOOTH for details.&lt;br /&gt;AIPS 1:&lt;br /&gt;AIPS 1:                                    CLEAN map. See HELP.&lt;br /&gt;AIPS 1: IN2NAME    ' '                        Cleaned map name (name)&lt;br /&gt;AIPS 1: IN2CLASS   ' '                        Cleaned map name (class)&lt;br /&gt;AIPS 1: IN2SEQ        0                       Cleaned map name (seq. #)&lt;br /&gt;AIPS 1: IN2DISK       0                       Cleaned map disk unit #&lt;br /&gt;AIPS 1: INVERS        0                    CC file version #.&lt;br /&gt;AIPS 1: NCOMP      *all 0                  # comps to use for model.&lt;br /&gt;AIPS 1:                                    1 value per field&lt;br /&gt;AIPS 1: FLUX          0                    Lowest CC component used.&lt;br /&gt;AIPS 1: NMAPS         0                    No. Clean map files&lt;br /&gt;AIPS 1: CMETHOD    ' '                     Modeling method:&lt;br /&gt;AIPS 1:                                    'DFT','GRID','    '&lt;br /&gt;AIPS 1: CMODEL     ' '                     Model type: 'COMP','IMAG'&lt;br /&gt;AIPS 1: SMODEL     *all 0                  Source model, 1=flux,2=x,3=y&lt;br /&gt;AIPS 1:                                    See HELP SMODEL for models.&lt;br /&gt;AIPS 1:&lt;br /&gt;AIPS 1:                                    Output uv data file.&lt;br /&gt;AIPS 1: OUTNAME    ' '                        UV file name (name)&lt;br /&gt;AIPS 1: OUTCLASS   ' '                        UV file name (class)&lt;br /&gt;AIPS 1: OUTSEQ        0                       UV file name (seq. #)&lt;br /&gt;AIPS 1: OUTDISK       0                       UV file disk drive #&lt;br /&gt;AIPS 1:&lt;br /&gt;AIPS 1:                                    Solution control adverbs:&lt;br /&gt;AIPS 1: REFANT        6                    Reference antenna&lt;br /&gt;AIPS 1: SOLINT        1                    Solution interval (min)&lt;br /&gt;AIPS 1: SOLSUB        0                    Solution subinterval&lt;br /&gt;AIPS 1: SOLMIN        0                    Min solution interval&lt;br /&gt;AIPS 1: APARM      *all 0                  General parameters&lt;br /&gt;AIPS 1:                                       1=min. no. antennas&lt;br /&gt;AIPS 1:                                       2 &gt; 0 =&gt; data divided&lt;br /&gt;AIPS 1:                                       3 &gt; 0 =&gt; avg. RR,LL&lt;br /&gt;AIPS 1:                                       5 &gt; 0 =&gt; avg. IFs.&lt;br /&gt;AIPS 1:                                       6=print level, 1=good,&lt;br /&gt;AIPS 1:                                         2 closure, 3 SNR&lt;br /&gt;AIPS 1:                                       7=SNR cutoff (0=&gt;5)&lt;br /&gt;AIPS 1:                                       8=max. ant. # (no AN)&lt;br /&gt;AIPS 1:                                       9 &gt; 0 =&gt; pass failed soln&lt;br /&gt;AIPS 1:                                    Phase-amplitude Parameters:&lt;br /&gt;AIPS 1: DOFLAG        0                    Flag on closure error?&lt;br /&gt;AIPS 1: SOLTYPE    ' '                     Soln type,'  ','L1','GCON',&lt;br /&gt;AIPS 1:                                       'R', 'L1R', 'GCOR'&lt;br /&gt;AIPS 1: SOLMODE    'A&amp;P'                   Soln. mode: 'A&amp;P','P','P!A',&lt;br /&gt;AIPS 1:                                    'GCON',&lt;br /&gt;AIPS 1: SOLCON        0                    Gain constraint factor.&lt;br /&gt;AIPS 1: MINAMPER      0                    Amplitude closure error&lt;br /&gt;AIPS 1:                                    regarded as excessive in %&lt;br /&gt;AIPS 1: MINPHSER      0                    Phase closure error regarded&lt;br /&gt;AIPS 1:                                    as excessive in degrees&lt;br /&gt;AIPS 1: CPARM      *all 0                  Phase-amp. parameters&lt;br /&gt;AIPS 1:                                       1 = Min el for gain&lt;br /&gt;AIPS 1:                                            normalization (deg)&lt;br /&gt;AIPS 1:                                       2 &gt;0 =&gt; normalize gain&lt;br /&gt;AIPS 1:                                       3 avg. amp. closure err&lt;br /&gt;AIPS 1:                                       4 avg. ph. closure err&lt;br /&gt;AIPS 1:                                       5 &gt;0 =&gt; scalar average&lt;br /&gt;AIPS 1:                                       6 limit clipping in robust&lt;br /&gt;AIPS 1: SNVER         0                    Output SN table, 0=&gt;new table&lt;br /&gt;AIPS 1: ANTWT      *all 0                  Ant. weights (0=&gt;1.0)&lt;br /&gt;AIPS 1: GAINERR    *all 0                  Std. Dev. of antenna gains.&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disk no. not to use for&lt;br /&gt;AIPS 1:                                       scratch files.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You will get some output that looks like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;localh&gt; CALIB1: Writing SN table    1&lt;br /&gt;localh&gt; CALIB1: RPOL, IF= 1 The average gain over these antennas is  3.080E+00&lt;br /&gt;localh&gt; CALIB1: RPOL, IF= 2 The average gain over these antennas is  3.088E+00&lt;br /&gt;localh&gt; CALIB1: LPOL, IF= 1 The average gain over these antennas is  3.033E+00&lt;br /&gt;localh&gt; CALIB1: LPOL, IF= 2 The average gain over these antennas is  3.086E+00&lt;br /&gt;localh&gt; CALIB1: Found         2321 good solutions&lt;br /&gt;localh&gt; CALIB1: Failed on        7 solutions&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Some ways to tell if your data is really acting up is if you have tons of bad solutions (if you do, you might want to consider increasing your solint). Additionally, for some telescopes (not really for the VLA), if you have lots of bad solutions, you might have to tell CALIB to accept points of lower quality.&lt;br /&gt;aparm(1) = 4 (CALIB default is a minimum of 6 antennas for a good solution, you could decrease it to 4.)&lt;br /&gt;aparm(7) = 3 (CALIB default is a signal-to-noise in your solutions of 5. This is a bit high for some telescopes, and can reasonably be decreased to 3.)&lt;br /&gt;soltype = 'L1' (this should be a more robust method for finding solutions (robust against outlying points). However, AIPS wants you to know that you will "lose some statistical efficiency". You could try other robust soltypes, too, but be warned they might be slow.)&lt;br /&gt;&lt;br /&gt;Additionally, in my experience, it's a good thing that those 4 numbers (one for each polarization and IF) are all about the same (around 3.08). If one is really different than the others, than it might imply that their is bad data in that if/polarization.&lt;br /&gt;&lt;br /&gt;All CALIB does is spit out a 'SN' table. The way we have it right now (SNVER = 0), every time you run CALIB it will spit out a new SN table. If you set SNVER = 1, every time you run CALIB, it would just append new information to this table.&lt;br /&gt;&lt;br /&gt;Let's see if this calibration brought up any new bad data that needs to be flagged. If we want to apply calibration to our data in tasks like UVPLT and TVFLG, the calibration needs to be in a 'CL' table, not a "SN' table (yeah, stupid AIPS rule). To copy our 'SN' table to a 'CL' table, use VLACLCAL. First, you will need to type:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;run vlaprocs&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;to load up the task VLACLCAL. Then set three important parameters. In this case, we'll use:&lt;br /&gt;SOURCES = '1331+305' (the name of your flux cal)&lt;br /&gt;CALSOUR = '1331+305' (the name of your flux cal)&lt;br /&gt;REFANT = 6 (your reference antenna)&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: VLACLCAL  Procedure to run CLCAL and LISTR for VLA data.&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1:                                    Use RUN VLAPROCS first&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'             Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         1                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input UV file disk unit #&lt;br /&gt;AIPS 1: SOURCES    '1331+305'              Source list to calibrate&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: SOUCODE    ' '                     Source "Cal codes"&lt;br /&gt;AIPS 1: CALSOUR    '1331+305'              Cal sources for calibration&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Source qualifier -1=&gt;all&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: FREQID        1                    Unique frequency code&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to calibrate&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;all&lt;br /&gt;AIPS 1: INTERPOL   ' '                     Interpolation function&lt;br /&gt;AIPS 1: SAMPTYPE   ' '                     Smoothing function&lt;br /&gt;AIPS 1: DOBLANK       0                    Blanked value interpolation&lt;br /&gt;AIPS 1: DOBTWEEN      1                    &gt; 0 -&gt; smooth all sources&lt;br /&gt;AIPS 1:                                    together; else separate them&lt;br /&gt;AIPS 1: SMOTYPE    ' '                     Data to smooth&lt;br /&gt;AIPS 1: BPARM      *all 0                  Smoothing parameters&lt;br /&gt;AIPS 1: ICUT           .1                  Cutoff for functional forms&lt;br /&gt;AIPS 1: GAINVER       0                    Input Cal table 0=&gt;1&lt;br /&gt;AIPS 1: GAINUSE       0                    Output CAL table 0=&gt;2&lt;br /&gt;AIPS 1: REFANT        6                    Reference antenna 0=&gt;pick.&lt;br /&gt;AIPS 1: DOPRINT       1                    &gt;0 Print messages to a file&lt;br /&gt;AIPS 1:                                    or to the printer.&lt;br /&gt;AIPS 1: OUTPRINT   *all ' '                Printer disk file to save&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disks to avoid for scratch&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This should write out a CL table 2. If you want to apply this caibration in, say, TVFLG, you would just use&lt;br /&gt;DOCAL = 2&lt;br /&gt;GAINUSE = 2&lt;br /&gt;and that applies the CL table 2.&lt;br /&gt;&lt;br /&gt;At this point, I also like to flag on phase. I've had a few data sets where amplitudes looks ok for the calibrators, but there are still some quite aberrant points in phase. In general, any points with phases &gt; +/-10 degrees are probably bad (for your calibrators, which are point sources!!! unfortunately, you won't be able to flag on phase at all for your target source, because your target source will not be a point source and will therefore have phases running the whole gamut from -180 to +180 degrees.)&lt;br /&gt;&lt;br /&gt;If you want to 'undo' the calibration (let's say because you flagged some data, and now you want to do a new and improved calibration and no longer need your old one), just delete your SN tables, and all CL tables which are greater than 1. BUT DON'T DELETE CL TABLE 1!!! This has important basic information in it.&lt;br /&gt;&lt;br /&gt;When you think you have the very best calibration for your flux calibrator, I like to then repeat this same process for my phase calibrator. Iterate by running CALIB and VLACLCAL on your phase calibrator, and then flagging it until in uvplt there are very no aberrant points left in amplitude or phase. (Make sure you check each IF and each polarization!)&lt;br /&gt;&lt;br /&gt;Now, when you trust your calibration/flagging for both your calibrators, Delete your SN tables and CL table #2. Let's do final runs of CALIB. At this point I set SNVER = 1 so that CALIB will write out solutions for both calibrators to the same SN table.&lt;br /&gt;--Run CALIB on your flux calibrator.&lt;br /&gt;--Run CALIB on your phase calibrator.&lt;br /&gt;&lt;br /&gt;Now, run GETJY to get a flux for your phase calibrator. Parametrs to set:&lt;br /&gt;SOURCES = your phase calibrator&lt;br /&gt;CALSOUR = your flux calibrator&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: GETJY     Task to determine source flux densities.&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     'AC825'                 Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         1                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input UV file disk unit #&lt;br /&gt;AIPS 1: SOURCES    '1033+395'              Source list to find fluxes&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: SOUCODE    ' '                     Source "Cal codes"&lt;br /&gt;AIPS 1: CALSOUR    '1331+305'              Cal sources for calibration&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: QUAL         -1                    Source qualifier -1=&gt;all&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: BIF           0                    Lowest IF number 0=1&lt;br /&gt;AIPS 1: EIF           0                    Highest IF number&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range of solutions.&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to use&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;all&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID        2                    Freq. ID to select.&lt;br /&gt;AIPS 1: SNVER         2                    Input SN table, 0=&gt;all.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You will get some output that looks like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;localh&gt; GETJY1: Task GETJY  (release of 31DEC05) begins&lt;br /&gt;localh&gt; GETJY1:    Source:Qual      CALCODE IF  Flux (Jy)&lt;br /&gt;localh&gt; GETJY1: 1033+395        :  0   A     1     .40437 +/-    .00091&lt;br /&gt;localh&gt; GETJY1:                              2     .39109 +/-    .00074&lt;br /&gt;localh&gt; GETJY1: Appears to have ended successfully&lt;br /&gt;localh&gt; GETJY1: localhost    31DEC05 TST: Cpu=        .0  Real=       0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;At this point, what you want to worry about is the errors in the fluxes determined for your phase cal. If they are big, something has gone awry. What you do NOT need to worry about is if the fluxes are significantly different from those in the VLA calibrator manual. Remember that these calibrators are AGN-- they vary in flux!! Flux calibrators have been chosen because their fluxes are hopefully quite steady, but phase calibrators have only been chosen to be pointy. Their fluxes may vary. That's why you are comparing them with the flux calibrator, to get the best flux determination for them at the time of your observations!&lt;br /&gt;&lt;br /&gt;A fun exercise is to look up your phase calibrator using &lt;a href=http://aips2.nrao.edu/vla/calflux.html&gt; this Java applet.&lt;/a&gt; It will show you how the flux of your calibrator has changed over time (their are only data points here when someone has actually used your phase calibrator for their VLA observations).&lt;br /&gt;&lt;br /&gt;Finally, do final runs of VLACLCAL. &lt;br /&gt;Do one run with &lt;br /&gt;SOURCES = your phase cal, your target sources&lt;br /&gt;CALSOUR = your phase cal&lt;br /&gt;Do one more run with&lt;br /&gt;SOURCES = your flux cal&lt;br /&gt;CALSOUR = your flux cal&lt;br /&gt;The defaults on VLACLCAL are smart enough to always output to CL table #2 (even if it already exists).&lt;br /&gt;&lt;br /&gt;A good way to do a final check of your calibration (although it should be quite good if you have done it the iterative way I suggest!) is to run LISTR in 'MATX' mode. &lt;br /&gt;OPTYPE = 'MATX'&lt;br /&gt;SOURCES = your phase cal&lt;br /&gt;DOCAL = 2&lt;br /&gt;GAINUSE = 2&lt;br /&gt;DPARM(1) = 5&lt;br /&gt;DOCRT = -1&lt;br /&gt;OUTPRINT = a file name&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: LISTR:  Task to print UV data and calibration tables.&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: USERID        0                    User number.&lt;br /&gt;AIPS 1: INNAME     'AC825'                 UV data (name).&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  UV data (class).&lt;br /&gt;AIPS 1: INSEQ         1                    UV data (seq. #).  0 =&gt; high&lt;br /&gt;AIPS 1: INDISK        1                    Disk unit #.       0 =&gt; any&lt;br /&gt;AIPS 1: OPTYPE     'MATX'                  List type:&lt;br /&gt;AIPS 1:                                     'MATX','LIST','GAIN','SCAN'&lt;br /&gt;AIPS 1: INEXT      'CL'                    CL, SN or TY table for 'GAIN'&lt;br /&gt;AIPS 1: INVER         0                    CL, Sn or TY table version&lt;br /&gt;AIPS 1: SOURCES    '1033+395'              Source list&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to list&lt;br /&gt;AIPS 1: STOKES     ' '                     Stokes type to list.&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID        0                   Freq. ID to select.&lt;br /&gt;AIPS 1:                                    None selected =&gt; 1.&lt;br /&gt;AIPS 1: BIF           1                    Lowest IF number 0=1&lt;br /&gt;AIPS 1: EIF           1                    Highest IF number&lt;br /&gt;AIPS 1: BCHAN         1                    Low channel number 0=&gt;1&lt;br /&gt;AIPS 1: ECHAN         0                    High channel number&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to list&lt;br /&gt;AIPS 1: BASELINE   *all 0                  Baselines with ANTENNAS&lt;br /&gt;AIPS 1: UVRANGE     0           0        UV range in kilolambda&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0=&gt;1&lt;br /&gt;AIPS 1:                                    Cal. info for input:&lt;br /&gt;AIPS 1: DOCALIB       2                    If &gt;0 calibrate data&lt;br /&gt;AIPS 1:                                    = 2 calibrate weights&lt;br /&gt;AIPS 1: GAINUSE       2                   CAL (CL or SN) table to apply&lt;br /&gt;AIPS 1: DOPOL        -1                    If &gt;0 correct polarization.&lt;br /&gt;AIPS 1: BLVER        -1                    BL table to apply.&lt;br /&gt;AIPS 1: FLAGVER       0                    Flag table version&lt;br /&gt;AIPS 1: DOBAND       -1                    If &gt;0 apply bandpass cal.&lt;br /&gt;AIPS 1:                                    Method used depends on value&lt;br /&gt;AIPS 1:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 1: BPVER        -1                    Bandpass table version&lt;br /&gt;AIPS 1: SMOOTH     *all 0                  Smoothing function. See&lt;br /&gt;AIPS 1:                                    HELP SMOOTH for details.&lt;br /&gt;AIPS 1: DPARM         5           1        Control info:&lt;br /&gt;AIPS 1:            *rest 0                 (1) 0=amp, 1=phase, 2=rms&lt;br /&gt;AIPS 1:                                        3=amp+rms, 4=phase+rms&lt;br /&gt;AIPS 1:                                        5=amp+phase, 6=delay,&lt;br /&gt;AIPS 1:                                        7=rate, 8=SNR, 9=par. ang&lt;br /&gt;AIPS 1:                                        10 = Tsys, 11=elev,&lt;br /&gt;AIPS 1:                                        12 = multiband delay&lt;br /&gt;AIPS 1:                                        13 = Tant  14 = weights&lt;br /&gt;AIPS 1:                                        N.B. Options 3 and 4 only&lt;br /&gt;AIPS 1:                                        valid for OPTYPE = 'MATX'&lt;br /&gt;AIPS 1:                                    (2) 0=vec avg, 1=scalar&lt;br /&gt;AIPS 1:                                    (3) No. col (4-10) def=4.&lt;br /&gt;AIPS 1:                                    (4) avg. time min (MATX,LIST)&lt;br /&gt;AIPS 1:                                        *** significant&lt;br /&gt;AIPS 1:                                    (5) Type of gain listings:&lt;br /&gt;AIPS 1:                                        0 =&gt; all with same scale&lt;br /&gt;AIPS 1:                                        like DEC-10 listings;&lt;br /&gt;AIPS 1:                                        1 =&gt; scan/source info at&lt;br /&gt;AIPS 1:                                        source/scan boundaries.&lt;br /&gt;AIPS 1:                                    (6) Matrix scaling control:&lt;br /&gt;AIPS 1:                                        0 =&gt; plot amp &amp; rms&lt;br /&gt;AIPS 1:                                        matrices with same scale;&lt;br /&gt;AIPS 1:                                        1 =&gt; self-scale each&lt;br /&gt;AIPS 1:                                        separately.&lt;br /&gt;AIPS 1:                                    (7) &gt; 0 self-scale phase&lt;br /&gt;AIPS 1:                                        displays, else degrees.&lt;br /&gt;AIPS 1: DOACOR       -1                    &gt; 0 include autocorrelations&lt;br /&gt;AIPS 1: FACTOR        0                    When DPARM(5)=0 Multiply&lt;br /&gt;AIPS 1:                                    gain listings by FACTOR,&lt;br /&gt;AIPS 1:                                    0=&gt; use scale factor from&lt;br /&gt;AIPS 1:                                    first record printed.&lt;br /&gt;AIPS 1: DOCRT        -1                    &gt; 0 -&gt; use the terminal,&lt;br /&gt;AIPS 1:                                    else use the line printer&lt;br /&gt;AIPS 1:                                    &gt; 72 =&gt; terminal width&lt;br /&gt;AIPS 1: OUTPRINT   'MATX_CAL1'&lt;br /&gt;AIPS 1:                                    Printer disk file to save&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disk to avoid for scratch.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;When you look at this list of numbers, amplitudes should be near constant between baselines and in time. Phases should be around zero. Lots of 0's and 1's are good! Teens and 20's are bad! If you have nice phases that are mostly small numbers, then...&lt;br /&gt;&lt;br /&gt;Congratulations! You have calibrated your data!!!&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1602031349074106269?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1602031349074106269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1602031349074106269' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1602031349074106269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1602031349074106269'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/wbr-step-6l-calibration.html' title='WBR Step 6L: Calibration'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1663220560270057191</id><published>2007-06-04T15:20:00.000-05:00</published><updated>2007-06-30T14:15:59.664-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wisconsin Banana Recipes'/><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>WBR Step 5L: Flag Your Calibrators</title><content type='html'>Ok, 'L' stands for Line data. Most of the steps for reducing line data can also be found in &lt;a href="http://www.aoc.nrao.edu/aips/CookHTML/CookBookap2.html#x154-382000B"&gt; Appendix B of the AIPS cookbook&lt;/a&gt;. What we have to do first is flag the Channel 0 data for our calibrators.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;First, you should know that flagging is really a matter of personal taste. This is the way I like to do it, but you might find something that you like a whole lot more.&lt;br /&gt;&lt;br /&gt;Secondly, don't be surprised when flagging is by far the most time consuming aspect of interferometric data reduction. Especially if you're screwing around with data from the VLA as it is transitioning to the EVLA.&lt;br /&gt;&lt;br /&gt;Thirdly, at least at this stage, only flag on amplitude. After some calibration, you might consider flagging on phase, but not yet.&lt;br /&gt;&lt;br /&gt;A good place to start flagging is QUACK. QUACK flags the beginning of each scan of data, because often times the first little bit of time on an object is bad. QUACK from the 31Dec05 release of AIPS was really quite transparent, with parameters looking like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: QUACK     Flags specified portion of scans of UV data&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'             Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         1                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input UV file disk unit #&lt;br /&gt;AIPS 1: SOURCES    *all ' '                Sources selected/deselected&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray number 0=&gt;all.&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to flag (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to flag (MHz)&lt;br /&gt;AIPS 1: FREQID        1                    Freq. ID to flag. -1=&gt;all.&lt;br /&gt;AIPS 1:                                    0=&gt; first Freq. ID.&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time: start day,hr,min,sec&lt;br /&gt;AIPS 1:                                          stop day,hr,min,sec.&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to flag&lt;br /&gt;AIPS 1: FLAGVER       0                    Flag table version number&lt;br /&gt;AIPS 1: OPCODE     'ENDB'                  'END ', 'BEG ', 'ENDB'&lt;br /&gt;AIPS 1:                                    'TAIL';   ' ' =&gt; 'BEG '&lt;br /&gt;AIPS 1: REASON     *all ' '                Reason (24 char.)&lt;br /&gt;AIPS 1: APARM         0            .33     (1) =&gt; Cutting time (min)&lt;br /&gt;AIPS 1:            *rest 0                 from end (ENDG) 0 =&gt; 2&lt;br /&gt;AIPS 1:                                    (2) =&gt; Cutting time (min)&lt;br /&gt;AIPS 1:                                    from beg/end (BEGB/ENDB)&lt;br /&gt;AIPS 1:                                    0 =&gt; 0.1&lt;br /&gt;AIPS 1:                                    (3) Back start of flagging&lt;br /&gt;AIPS 1:                                     &lt;0 =&gt; no padding (0 seconds)&lt;br /&gt;AIPS 1:                                      0 =&gt; 5 seconds [default]&lt;br /&gt;AIPS 1:                                     &gt;0 =&gt; APARM(3) seconds&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In this case, I'm flagging the last third of a minute in each scan. If you wanted to flag the first part of a scan, you would set &lt;br /&gt;OPCODE = 'BEG'. The Dec07 version of QUACK is really different and I don't understand it yet. Maybe someone can write in with pointers about it?&lt;br /&gt;&lt;br /&gt;Good. Next, I like to look at my data in TVFLG and give it a quick flag. Here are some important parameters to consider before your run TVFLG.&lt;br /&gt;SOURCES-- only look at one calibrator at a time in TVFLG. Otherwise your scale will be all messed up and you'll be confused.&lt;br /&gt;TIMERANG-- You really really want all of your data to be able to fit with a smooth time of 10 seconds. What will happen is that if there is too much time spent on your source, AIPS will force you to average your data for multiples of 10s, and this is bad. Because you will flag your data, and think you got rid of the really bright points, but then you will look at all the visibilities in UVPLT and still see lots of bright points. You will be in for far fewer nasty surprises if you make sure smooth time is 10s (In the TVFLG window, it should say AVG 1). Therefore, if you're getting AVG &gt; 1, you should probably break your data up and view it several times in TVFLG with different timeranges. You probably won't know if you need to set a timerange until you load up TVFLG once, and see how much data there is.&lt;br /&gt;DOCAL = 2-- apply weights to your data before you view them in TVFLG.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: TVFLG:  Task to edit UV data using the TV display and cursor&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: USERID        0                    User number.&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'             UV data (name).&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  UV data (class).&lt;br /&gt;AIPS 1: INSEQ         1                    UV data (seq. #).  0 =&gt; high&lt;br /&gt;AIPS 1: INDISK        1                    Disk unit #.       0 =&gt; any&lt;br /&gt;AIPS 1: DOCAT         0                    Catalog work file ?&lt;br /&gt;AIPS 1: IN2SEQ        1                    Sequence number of work file&lt;br /&gt;AIPS 1: IN2DISK       1                    Disk number of work file&lt;br /&gt;AIPS 1: DOHIST       -1                    Record flags in history file&lt;br /&gt;AIPS 1: SOURCES    '1331+305'              Source list&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to include&lt;br /&gt;AIPS 1: STOKES     ' '                     Stokes type to display&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID        0                    Freq. ID to select.&lt;br /&gt;AIPS 1: BIF           0                    Lowest IF number 0=1&lt;br /&gt;AIPS 1: EIF           0                    Highest IF number&lt;br /&gt;AIPS 1: BCHAN         0                    Lowest channel number 0=&gt;1&lt;br /&gt;AIPS 1: ECHAN         0                    Highest channel number&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to include&lt;br /&gt;AIPS 1: BASELINE   *all 0                  Baselines with ANTENNAS&lt;br /&gt;AIPS 1: UVRANGE       0           0        UV range in kilolambda&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0 =&gt; all, but the&lt;br /&gt;AIPS 1:                                    task is more efficient doing&lt;br /&gt;AIPS 1:                                    one at a time&lt;br /&gt;AIPS 1:                                    Cal. info for input:&lt;br /&gt;AIPS 1: DOCALIB       2                    If &gt;0 calibrate data&lt;br /&gt;AIPS 1:                                    = 2 calibrate weights&lt;br /&gt;AIPS 1: GAINUSE       1                    CAL (CL or SN) table to apply&lt;br /&gt;AIPS 1: DOPOL        -1                    If &gt;0 correct polarization.&lt;br /&gt;AIPS 1: BLVER        -1                    BL table to apply.&lt;br /&gt;AIPS 1: FLAGVER       1                    Flag table version 0 =&gt; high&lt;br /&gt;AIPS 1:                                       &lt; 0 no flagging on input&lt;br /&gt;AIPS 1:                                       Used w single-source too&lt;br /&gt;AIPS 1: DOBAND       -1                    If &gt;0 apply bandpass cal.&lt;br /&gt;AIPS 1:                                    Method used depends on value&lt;br /&gt;AIPS 1:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 1: BPVER         0                    Bandpass table version&lt;br /&gt;AIPS 1: SMOOTH     *all 0                  Smoothing function. See&lt;br /&gt;AIPS 1:                                    HELP SMOOTH for details.&lt;br /&gt;AIPS 1: DPARM         0           0        Control info:&lt;br /&gt;AIPS 1:               0           0        (1) 0=amp, 1=phase, 2=rms,&lt;br /&gt;AIPS 1:              10          10            3=rms/mean for initial&lt;br /&gt;AIPS 1:            *rest 0                     display, can choose any&lt;br /&gt;AIPS 1:                                        interactively later&lt;br /&gt;AIPS 1:                                    (2) &gt; 0 include autocorr data&lt;br /&gt;AIPS 1:                                    (3) &gt;0 = baseline as ant pair&lt;br /&gt;AIPS 1:                                        for B as x-axis only&lt;br /&gt;AIPS 1:                                    (4) &gt;0 =&gt; divide by source&lt;br /&gt;AIPS 1:                                        IPOL flux&lt;br /&gt;AIPS 1:                                    (5) Expand time ranges by&lt;br /&gt;AIPS 1:                                        DPARM(5) in sec&lt;br /&gt;AIPS 1:                                    (6) y-axis interval: give the&lt;br /&gt;AIPS 1:                                        sample time in seconds.&lt;br /&gt;AIPS 1:                                        default = 10 seconds.&lt;br /&gt;AIPS 1:                                    (7) initial IF displayed, 0&lt;br /&gt;AIPS 1:                                        =&gt; BIF, can choose BIF -&lt;br /&gt;AIPS 1:                                        EIF interactively&lt;br /&gt;AIPS 1:                                    (8) initial channel displayed&lt;br /&gt;AIPS 1:                                        0 =&gt; BCHAN, can choose&lt;br /&gt;AIPS 1:                                        BCHAN - ECHAN later&lt;br /&gt;AIPS 1:                                        interactively&lt;br /&gt;AIPS 1:                                    (9,10) pixrange for initial&lt;br /&gt;AIPS 1:                                        TV load - can reset later&lt;br /&gt;AIPS 1:                                        interactively&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disks to avoid for scratch&lt;br /&gt;AIPS 1:                                    and for master grid file.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Make sure that you look at all your channels, polarizations, and IFs. I like the 'clip interactively' command a lot for getting rid of high or low points. &lt;br /&gt;&lt;br /&gt;I recently (finally!) figured out how to invert the scale in TVFLG, so that low points appear bright. Use the 'tvtransf' option, type an 'a' to get an option to change the contrast/brightness of the image. A little square will pop up. Type 'c' now to invert the image, and then move your mouse around with the button held down to get an image stretch you like. Tah Dah!&lt;br /&gt;&lt;br /&gt;One useful note: You have to set the Stokes Flag in terms of 0's and 1's, and this is what the binary code means:&lt;br /&gt;1000-- flag only right polarization&lt;br /&gt;0100--flag only left polarization&lt;br /&gt;1111--flag both polarizations&lt;br /&gt;&lt;br /&gt;NOTE: TVFLG can take a long time to load if you have lots of channels or data. It's usually pretty fast for the calibrators, because you don't usually spend much time on them. But while TVFLG is loading up your target data (no, we're not there yet), you might want to go eat lunch. Depending on the data set.&lt;br /&gt;&lt;br /&gt;Finally, double check everything in UVPLT. Beware, UVPLT likes to plot data in terms of Stokes I, which is quite confusing. Choose to plot STOKES = 'RR' or 'LL' for more clarity. BPARM is the important set of parameters which mostly determine what you're plotting. BPARM = 0 is a good place to start, as this plots amplitude against the length of your baselines. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1663220560270057191?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1663220560270057191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1663220560270057191' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1663220560270057191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1663220560270057191'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/06/step-5l-flagging-calibrators.html' title='WBR Step 5L: Flag Your Calibrators'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-6568136828548623761</id><published>2007-05-27T05:31:00.001-05:00</published><updated>2008-06-08T12:01:28.782-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wisconsin Banana Recipes'/><category scheme='http://www.blogger.com/atom/ns#' term='flagging'/><title type='text'>WBR Step 5C. Flag Your Calibrators</title><content type='html'>Ok, 'C' stands for continuum. There are slightly different calibration steps for deep continuum data; I'm going to follow the tips for L-Band data reduction given at this &lt;a href = http://www.vla.nrao.edu/astro/guides/lowfreq/analyses/&gt; VLA website&lt;/a&gt;. That means we won't be using the CH 0 data, we'll be making our own Channel 0 after we bandpass-calibrate the line data. But I'm getting ahead of myself. What we have to do first is flag our calibrators. I like to only flag the calibrators very lightly, then calibrate them, and then flag more heavily on the calibrated data. &lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;First, you should know that flagging is really a matter of personal taste. This is the way I like to do it, but you might find something that you like a whole lot more.&lt;br /&gt;&lt;br /&gt;Secondly, don't be surprised when flagging is by far the most time consuming aspect of interferometric data reduction. Especially if you're screwing around with data from the VLA as it is transitioning to the EVLA.&lt;br /&gt;&lt;br /&gt;Thirdly, at least at this stage, only flag on amplitude. After some calibration, you might consider flagging on phase, but not yet.&lt;br /&gt;&lt;br /&gt;Fourthly, before you calibrate, I recommend you only flag on dramatically bad looking amplitudes. Don't get too selective yet.&lt;br /&gt;&lt;br /&gt;So, as I mentioned above, let's run all of the below commands on the line data. This is more work for you, as you have to look at each channel, but it seems to be the more meticulous way of doing it. If you prefer, I guess you could flag on your CH 0 data, then just copy over the flag (FG) table (using TACOP) to the LINE data set. That might be faster. But you still should probable do a brief run through each channel to make sure there's nothing really glaring that you missed, when you averaged all the channels together.&lt;br /&gt;&lt;br /&gt;A good place to start flagging is QUACK. QUACK flags the beginning of each scan of data, because often times the first little bit of time on an object is bad. QUACK from the 31Dec05 release of AIPS was really quite transparent, with parameters looking like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: QUACK     Flags specified portion of scans of UV data&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'             Input UV file name (name)&lt;br /&gt;AIPS 1: INCLASS    'LINE'                  Input UV file name (class)&lt;br /&gt;AIPS 1: INSEQ         1                    Input UV file name (seq. #)&lt;br /&gt;AIPS 1: INDISK        1                    Input UV file disk unit #&lt;br /&gt;AIPS 1: SOURCES    *all ' '                Sources selected/deselected&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray number 0=&gt;all.&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to flag (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to flag (MHz)&lt;br /&gt;AIPS 1: FREQID        1                    Freq. ID to flag. -1=&gt;all.&lt;br /&gt;AIPS 1:                                    0=&gt; first Freq. ID.&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time: start day,hr,min,sec&lt;br /&gt;AIPS 1:                                          stop day,hr,min,sec.&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to flag&lt;br /&gt;AIPS 1: FLAGVER       0                    Flag table version number&lt;br /&gt;AIPS 1: OPCODE     'ENDB'                  'END ', 'BEG ', 'ENDB'&lt;br /&gt;AIPS 1:                                    'TAIL';   ' ' =&gt; 'BEG '&lt;br /&gt;AIPS 1: REASON     *all ' '                Reason (24 char.)&lt;br /&gt;AIPS 1: APARM         0            .33     (1) =&gt; Cutting time (min)&lt;br /&gt;AIPS 1:            *rest 0                 from end (ENDG) 0 =&gt; 2&lt;br /&gt;AIPS 1:                                    (2) =&gt; Cutting time (min)&lt;br /&gt;AIPS 1:                                    from beg/end (BEGB/ENDB)&lt;br /&gt;AIPS 1:                                    0 =&gt; 0.1&lt;br /&gt;AIPS 1:                                    (3) Back start of flagging&lt;br /&gt;AIPS 1:                                     &lt;0 =&gt; no padding (0 seconds)&lt;br /&gt;AIPS 1:                                      0 =&gt; 5 seconds [default]&lt;br /&gt;AIPS 1:                                     &gt;0 =&gt; APARM(3) seconds&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In this case, I'm flagging the last third of a minute in each scan. If you wanted to flag the first part of a scan, you would set &lt;br /&gt;OPCODE = 'BEG'. The Dec07 version of QUACK is really different and I don't understand it yet. Maybe someone can write in with pointers about it?&lt;br /&gt;&lt;br /&gt;Good. Next, I like to look at my data in TVFLG and give it a quick flag. Here are some important parameters to consider before your run TVFLG.&lt;br /&gt;SOURCES-- only look at one calibrator at a time in TVFLG. Otherwise your scale will be all messed up and you'll be confused.&lt;br /&gt;TIMERANG-- You really really want all of your data to be able to fit with a smooth time of 10 seconds. What will happen is that if there is too much time spent on your source, AIPS will force you to average your data for multiples of 10s, and this is bad. Because you will flag your data, and think you got rid of the really bright points, but then you will look at all the visibilities in UVPLT and still see lots of bright points. You will be in for far fewer nasty surprises if you make sure smooth time is 10s (In the TVFLG window, it should say AVG 1). Therefore, if you're getting AVG &gt; 1, you should probably break your data up and view it several times in TVFLG with different timeranges. You probably won't know if you need to set a timerange until you load up TVFLG once, and see how much data there is.&lt;br /&gt;DOCAL = 2-- apply weights to your data before you view them in TVFLG.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AIPS 1: TVFLG:  Task to edit UV data using the TV display and cursor&lt;br /&gt;AIPS 1: Adverbs     Values                 Comments&lt;br /&gt;AIPS 1: ----------------------------------------------------------------&lt;br /&gt;AIPS 1: USERID        0                    User number.&lt;br /&gt;AIPS 1: INNAME     'AC825_FQ1'             UV data (name).&lt;br /&gt;AIPS 1: INCLASS    'CH 0'                  UV data (class).&lt;br /&gt;AIPS 1: INSEQ         1                    UV data (seq. #).  0 =&gt; high&lt;br /&gt;AIPS 1: INDISK        1                    Disk unit #.       0 =&gt; any&lt;br /&gt;AIPS 1: DOCAT         0                    Catalog work file ?&lt;br /&gt;AIPS 1: IN2SEQ        1                    Sequence number of work file&lt;br /&gt;AIPS 1: IN2DISK       1                    Disk number of work file&lt;br /&gt;AIPS 1: DOHIST       -1                    Record flags in history file&lt;br /&gt;AIPS 1: SOURCES    '1331+305'              Source list&lt;br /&gt;AIPS 1:            *rest ' '&lt;br /&gt;AIPS 1: CALCODE    ' '                     Calibrator code '    '=&gt;all&lt;br /&gt;AIPS 1: TIMERANG   *all 0                  Time range to include&lt;br /&gt;AIPS 1: STOKES     ' '                     Stokes type to display&lt;br /&gt;AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)&lt;br /&gt;AIPS 1: SELFREQ      -1                    Frequency to select (MHz)&lt;br /&gt;AIPS 1: FREQID        0                    Freq. ID to select.&lt;br /&gt;AIPS 1: BIF           0                    Lowest IF number 0=1&lt;br /&gt;AIPS 1: EIF           0                    Highest IF number&lt;br /&gt;AIPS 1: BCHAN         0                    Lowest channel number 0=&gt;1&lt;br /&gt;AIPS 1: ECHAN         0                    Highest channel number&lt;br /&gt;AIPS 1: ANTENNAS   *all 0                  Antennas to include&lt;br /&gt;AIPS 1: BASELINE   *all 0                  Baselines with ANTENNAS&lt;br /&gt;AIPS 1: UVRANGE       0           0        UV range in kilolambda&lt;br /&gt;AIPS 1: SUBARRAY      0                    Subarray, 0 =&gt; all, but the&lt;br /&gt;AIPS 1:                                    task is more efficient doing&lt;br /&gt;AIPS 1:                                    one at a time&lt;br /&gt;AIPS 1:                                    Cal. info for input:&lt;br /&gt;AIPS 1: DOCALIB       2                    If &gt;0 calibrate data&lt;br /&gt;AIPS 1:                                    = 2 calibrate weights&lt;br /&gt;AIPS 1: GAINUSE       1                    CAL (CL or SN) table to apply&lt;br /&gt;AIPS 1: DOPOL        -1                    If &gt;0 correct polarization.&lt;br /&gt;AIPS 1: BLVER        -1                    BL table to apply.&lt;br /&gt;AIPS 1: FLAGVER       1                    Flag table version 0 =&gt; high&lt;br /&gt;AIPS 1:                                       &lt; 0 no flagging on input&lt;br /&gt;AIPS 1:                                       Used w single-source too&lt;br /&gt;AIPS 1: DOBAND       -1                    If &gt;0 apply bandpass cal.&lt;br /&gt;AIPS 1:                                    Method used depends on value&lt;br /&gt;AIPS 1:                                    of DOBAND (see HELP file).&lt;br /&gt;AIPS 1: BPVER         0                    Bandpass table version&lt;br /&gt;AIPS 1: SMOOTH     *all 0                  Smoothing function. See&lt;br /&gt;AIPS 1:                                    HELP SMOOTH for details.&lt;br /&gt;AIPS 1: DPARM         0           0        Control info:&lt;br /&gt;AIPS 1:               0           0        (1) 0=amp, 1=phase, 2=rms,&lt;br /&gt;AIPS 1:              10          10            3=rms/mean for initial&lt;br /&gt;AIPS 1:            *rest 0                     display, can choose any&lt;br /&gt;AIPS 1:                                        interactively later&lt;br /&gt;AIPS 1:                                    (2) &gt; 0 include autocorr data&lt;br /&gt;AIPS 1:                                    (3) &gt;0 = baseline as ant pair&lt;br /&gt;AIPS 1:                                        for B as x-axis only&lt;br /&gt;AIPS 1:                                    (4) &gt;0 =&gt; divide by source&lt;br /&gt;AIPS 1:                                        IPOL flux&lt;br /&gt;AIPS 1:                                    (5) Expand time ranges by&lt;br /&gt;AIPS 1:                                        DPARM(5) in sec&lt;br /&gt;AIPS 1:                                    (6) y-axis interval: give the&lt;br /&gt;AIPS 1:                                        sample time in seconds.&lt;br /&gt;AIPS 1:                                        default = 10 seconds.&lt;br /&gt;AIPS 1:                                    (7) initial IF displayed, 0&lt;br /&gt;AIPS 1:                                        =&gt; BIF, can choose BIF -&lt;br /&gt;AIPS 1:                                        EIF interactively&lt;br /&gt;AIPS 1:                                    (8) initial channel displayed&lt;br /&gt;AIPS 1:                                        0 =&gt; BCHAN, can choose&lt;br /&gt;AIPS 1:                                        BCHAN - ECHAN later&lt;br /&gt;AIPS 1:                                        interactively&lt;br /&gt;AIPS 1:                                    (9,10) pixrange for initial&lt;br /&gt;AIPS 1:                                        TV load - can reset later&lt;br /&gt;AIPS 1:                                        interactively&lt;br /&gt;AIPS 1: BADDISK    *all 0                  Disks to avoid for scratch&lt;br /&gt;AIPS 1:                                    and for master grid file.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Make sure that you look at all your channels, polarizations, and IFs. I like the 'clip interactively' command a lot for getting rid of high or low points. &lt;br /&gt;&lt;br /&gt;I recently (finally!) figured out how to invert the scale in TVFLG, so that low points appear bright. Use the 'tvtransf' option, type an 'a' to get an option to change the contrast/brightness of the image. A little square will pop up. Type 'c' now to invert the image, and then move your mouse around with the button held down to get an image stretch you like. Tah Dah!&lt;br /&gt;&lt;br /&gt;One useful note: You have to set the Stokes Flag in terms of 0's and 1's, and this is what the binary code means:&lt;br /&gt;1000-- flag only right polarization&lt;br /&gt;0100--flag only left polarization&lt;br /&gt;1111--flag both polarizations&lt;br /&gt;&lt;br /&gt;NOTE: TVFLG can take a long time to load if you have lots of channels or data. It's usually pretty fast for the calibrators, because you don't usually spend much time on them. But while TVFLG is loading up your target data (no, we're not there yet), you might want to go eat lunch. Depending on the data set.&lt;br /&gt;&lt;br /&gt;Finally, double check everything in UVPLT. Beware, UVPLT likes to plot data in terms of Stokes I, which is quite confusing. Choose to plot STOKES = 'RR' or 'LL' for more clarity. BPARM is the important set of parameters which mostly determine what you're plotting. BPARM = 0 is a good place to start, as this plots amplitude against the length of your baselines. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-6568136828548623761?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/6568136828548623761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=6568136828548623761' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6568136828548623761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/6568136828548623761'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/05/step-5-flag-your-calibrators.html' title='WBR Step 5C. Flag Your Calibrators'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-669078914431582211</id><published>2007-05-27T05:00:00.000-05:00</published><updated>2007-06-30T14:16:58.159-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wisconsin Banana Recipes'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>WBR Step 4. One File per Each Day of Observations</title><content type='html'>Sometimes, your data is taken over multiple days. You want to calibrate each day separately. You can do this by setting 'timerang' in calib, but that scares me a little bit and has lots of room for mistakes. What I prefer to do is SPLIT off each day of observing, so that you'll have a UV file for each day of data. After you've calibrated each file individually, you can combine all the data back together using DBCON.&lt;br /&gt;&lt;br /&gt;So how do you split your data according to observation day?&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;Using SPLIT!&lt;br /&gt;Well, first of all, check in that scan list you got from LISTR to see what days you observed on. &lt;br /&gt;Then run split with 'timerang' set to only include one of those days. For example, only include data taken on day 1:&lt;br /&gt;timerang = 1 0 0 0 1 23 0 0&lt;br /&gt;will include all data take on day 1 between 0 hr and 23 hr. &lt;br /&gt;&lt;br /&gt;Everything else in SPLIT you will probably want to leave as default. Except for maybe 'outclass', which you could change to something like, say, 'line_1' (so that you remenber this is the line data from day 1). &lt;br /&gt;&lt;br /&gt;SPLIT will generate a new UV file. You need to run INDXR on it to generate a new NX table. The defaults of INDXR are just fine for these purposes.&lt;br /&gt;&lt;br /&gt;Unfortunately, you are going to have to do each of the following flagging/calibration steps for each file individually. Sorry, dudes. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-669078914431582211?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/669078914431582211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=669078914431582211' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/669078914431582211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/669078914431582211'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/05/step-4-one-file-per-each-day-of.html' title='WBR Step 4. One File per Each Day of Observations'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-4252463796297059873</id><published>2007-05-23T11:37:00.001-05:00</published><updated>2009-01-21T13:49:32.172-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plotting'/><title type='text'>I want a *$*%ing beam on my image</title><content type='html'>This should be easy, but I've totally forgotten how to do it.  How do I get the beam displayed on the TV when I'm looking at my image?&lt;br /&gt;&lt;br /&gt;On a non-aips note, we had a small earthquake in Socorro last night-- 3.3 mag! It was my first one and I'm very excited about it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-4252463796297059873?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/4252463796297059873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=4252463796297059873' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4252463796297059873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/4252463796297059873'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/05/i-want-ing-beam-on-my-image.html' title='I want a *$*%ing beam on my image'/><author><name>KED</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-1508397716430180351</id><published>2007-05-22T15:38:00.002-05:00</published><updated>2009-01-21T13:52:38.359-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='self calibration'/><title type='text'>CPARM(2) and Self Cal</title><content type='html'>Emily read in the GMRT documentation that, when doing A&amp;P self calibration, you should set CPARM(2) = 1, which means you would 'normalize gains'. However, we didn't really understand what this meant, and didn't understand why we were doing it. Today I asked Miller Goss, who's visiting UW from NRAO, and he said...&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;You should set CPARM(2) = 1 only if you don't trust your amplitudes initially! If you think your original amplitude calibration is not so good, say in the case of VLBA data or certain frequencies at the GMRT, you might want to set it.&lt;br /&gt;&lt;br /&gt;However, at the VLA, you should set CPARM(2) = 0 because your original amplitude calibration was really quite decent. (At least at L and C band, not sure about crazy other frequencies!)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-1508397716430180351?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/1508397716430180351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=1508397716430180351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1508397716430180351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/1508397716430180351'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/05/cparm2-and-self-cal.html' title='CPARM(2) and Self Cal'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8698858162387672100.post-5161468962754521591</id><published>2007-05-21T19:39:00.000-05:00</published><updated>2007-05-25T01:10:32.512-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>UVRANGEs contradict Calibrator Quality Ratings</title><content type='html'>What does it mean if your calibrator has a good ("P") rating in the calibrator manual for your array configuration whose longest baseline is ~50 kilolambda--- but then there's a uvrange limitation on it with a uvmin of 100 kilolambda? I'm trying to use calibrator 0841+708 at C band in C array.&lt;br /&gt;&lt;br /&gt;5/23/07:&lt;br /&gt;Resolution: After talking to Miller Goss, I think that this must be a typo in the manual. The amplitudes look fine, for the most part, and there is no obvious confusing source in the field. So, I guess this is just a word of caution about the manual, that it can make mistakes some times!&lt;br /&gt;&lt;br /&gt;5/24/07:&lt;br /&gt;More Resolution: Rick Perley had this to say about the current state of the VLA calibrator manual:&lt;br /&gt;&lt;pre&gt;  Right you are!  The 'P' in that column/row should be an 'S', I think.  It's one of the 'core-dominated' source&lt;br /&gt;types that make good high frequency, high resolution calibrators. &lt;br /&gt;   Nobody is keeping up the manual these days (Greg Taylor used to do this, but he's now gone to UNM).  We'll&lt;br /&gt;certainly get back on this after the EVLA settles in, and we'll be able to utilize far more sources as calibrators.&lt;br /&gt;In the meantime, I'll make a note in my copy. &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8698858162387672100-5161468962754521591?l=aipsforum.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aipsforum.blogspot.com/feeds/5161468962754521591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8698858162387672100&amp;postID=5161468962754521591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5161468962754521591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8698858162387672100/posts/default/5161468962754521591'/><link rel='alternate' type='text/html' href='http://aipsforum.blogspot.com/2007/05/uvranges-contradict-calibrator-quality.html' title='UVRANGEs contradict Calibrator Quality Ratings'/><author><name>Laura</name><uri>http://www.blogger.com/profile/14007910800783392253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
