<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to chgcentre</title><link>https://sourceforge.net/p/wsclean/wiki/chgcentre/</link><description>Recent changes to chgcentre</description><atom:link href="https://sourceforge.net/p/wsclean/wiki/chgcentre/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 15 Mar 2014 23:17:53 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wsclean/wiki/chgcentre/feed" rel="self" type="application/rss+xml"/><item><title>chgcentre modified by André Offringa</title><link>https://sourceforge.net/p/wsclean/wiki/chgcentre/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,6 @@
-The 'chgcentre' tool can be used to change the phase centre of a measurement set. It will recalculate the uvw values (from antenna locatons, phase centre and time) and phase-rotate the visibilities. We found that the casa task 'fixvis' does not do this.
+The 'chgcentre' tool can be used to change the phase centre of a measurement set. It will recalculate the *uvw*-values (from the antenna locations, phase centre and time) and phase-rotate the visibilities. We found that the casa task 'fixvis' has several bugs (as of March 2014), and cannot be used to phase rotate a measurement set properly.

-The compilation of chgcentre is very similar to wsclean's compilation, so see the [general installation instruction](Installation) for help. The chgcentre tool is available as a separate download: see the files section for downloading chgcentre.
+The compilation of chgcentre is very similar to wsclean's compilation. See the [general installation instruction](Installation) for help. The chgcentre tool is available as a separate download. See the files section for downloading chgcentre.

 Execute chgcentre without parameters to get help on the syntax:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">André Offringa</dc:creator><pubDate>Sat, 15 Mar 2014 23:17:53 -0000</pubDate><guid>https://sourceforge.net5877b5160bec012c43d9dfc218cd2d94b8e67ec8</guid></item><item><title>chgcentre modified by André Offringa</title><link>https://sourceforge.net/p/wsclean/wiki/chgcentre/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -4,6 +4,8 @@

 Execute chgcentre without parameters to get help on the syntax:

+    :::text
+    $ chgcentre
     A program to change the phase centre of a measurement set.
     Written by André Offringa (offringa@gmail.com).

@@ -19,16 +21,24 @@

 If you do not provide a new RA and dec, chgcentre will give you some info about the measurement set:

-    $ ./chgcentre myobs.ms
+    :::text
+    $ chgcentre myobs.ms
     A program to change the phase centre of a measurement set.
     Written by André Offringa (offringa@gmail.com).

     Current phase direction:
       -00h59m31.7s -16d46m19s
     Zenith is at:
-      -01h00m00.8s -26d46m44s (-01h00m49.0s -26d46m44s - -00h59m12.7s -26d46m44s
+      -01h00m00.8s -26d46m44s (-01h00m49.0s -26d46m44s - -00h59m12.7s -26d46m44s)
     Min-w direction is at:
       -00h59m31.7s -26d46m19s

-You can specify '-zenith' or '-minw' as option to rephase to the local array zenith or the direction orthogonal to the best-fit plane to the antennas. The latter is close to zenith, but provides slightly lower *w*-terms. This has not been tested on telescopes other than the MWA.
+You can specify '-zenith' or '-minw' as option to rephase to the local array zenith or the direction orthogonal to the best-fit plane to the antennas. The latter is close to zenith, but provides slightly lower *w*-terms. This has not been tested on telescopes other than the MWA. The syntax for this is:

+    :::text
+    $ chgcentre -minw myobs.ms
+
+Finally, you can provide option '-shiftback' to prepare the measurement set for w-snapshot imaging with WSClean, using the recentring technique. See the [w-snapshot algorithm page](WSnapshotAlgorithm) for more info. You can specify any phase centre with -shiftback, but the common way to do this would be:
+
+    :::text
+    $ chgcentre -minw -shiftback myobs.ms
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">André Offringa</dc:creator><pubDate>Sat, 15 Mar 2014 23:15:35 -0000</pubDate><guid>https://sourceforge.netb332c2d3f8dc08b159665a24c289a22c5e606cc8</guid></item><item><title>chgcentre modified by André Offringa</title><link>https://sourceforge.net/p/wsclean/wiki/chgcentre/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The 'chgcentre' tool can be used to change the phase centre of a measurement set. It will recalculate the uvw values (from antenna locatons, phase centre and time) and phase-rotate the visibilities. We found that the casa task 'fixvis' does not do this.&lt;/p&gt;
&lt;p&gt;The compilation of chgcentre is very similar to wsclean's compilation, so see the &lt;a class="" href="/p/wsclean/wiki/Installation/"&gt;general installation instruction&lt;/a&gt; for help. The chgcentre tool is available as a separate download: see the files section for downloading chgcentre.&lt;/p&gt;
&lt;p&gt;Execute chgcentre without parameters to get help on the syntax:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nx"&gt;A&lt;/span&gt; &lt;span class="nx"&gt;program&lt;/span&gt; &lt;span class="k"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;change&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;phase&lt;/span&gt; &lt;span class="nx"&gt;centre&lt;/span&gt; &lt;span class="nx"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;measurement&lt;/span&gt; &lt;span class="nx"&gt;set.&lt;/span&gt;
&lt;span class="nx"&gt;Written&lt;/span&gt; &lt;span class="k"&gt;by&lt;/span&gt; &lt;span class="nx"&gt;Andr&lt;/span&gt;&lt;span class="err"&gt;é&lt;/span&gt; &lt;span class="nx"&gt;Offringa&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;offringa&lt;/span&gt;&lt;span class="p"&gt;@&lt;/span&gt;&lt;span class="nx"&gt;gmail.com&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="nx"&gt;.&lt;/span&gt;

&lt;span class="nx"&gt;Syntax&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;chgcentre&lt;/span&gt; &lt;span class="err"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;options&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;ms&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;new&lt;/span&gt; &lt;span class="na"&gt;ra&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;new&lt;/span&gt; &lt;span class="na"&gt;dec&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

The format of RA can either be 00h00m00.0s or 00:00:00.0
The format of Dec can either be 00d00m00.0s or 00.00.00.0

Example to rotate to HydA:
    chgcentre myset.ms 09h18m05.8s -12d05m44s
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;When a measurement set contains multiple data columns (e.g., DATA, MODEL_DATA, CORRECTED_DATA), each column will be updated.&lt;/p&gt;
&lt;p&gt;If you do not provide a new RA and dec, chgcentre will give you some info about the measurement set:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;chgcentre&lt;/span&gt; &lt;span class="n"&gt;myobs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;
&lt;span class="n"&gt;A&lt;/span&gt; &lt;span class="n"&gt;program&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;change&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;phase&lt;/span&gt; &lt;span class="n"&gt;centre&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;measurement&lt;/span&gt; &lt;span class="n"&gt;set&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Written&lt;/span&gt; &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;Andr&lt;/span&gt;&lt;span class="err"&gt;é&lt;/span&gt; &lt;span class="n"&gt;Offringa&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;offringa&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="n"&gt;gmail&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;

&lt;span class="n"&gt;Current&lt;/span&gt; &lt;span class="n"&gt;phase&lt;/span&gt; &lt;span class="n"&gt;direction&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mo"&gt;00&lt;/span&gt;&lt;span class="n"&gt;h59m31&lt;/span&gt;&lt;span class="mf"&gt;.7&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="n"&gt;d46m19s&lt;/span&gt;
&lt;span class="n"&gt;Zenith&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;at&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mo"&gt;01&lt;/span&gt;&lt;span class="n"&gt;h00m00&lt;/span&gt;&lt;span class="mf"&gt;.8&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;26&lt;/span&gt;&lt;span class="n"&gt;d46m44s&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mo"&gt;01&lt;/span&gt;&lt;span class="n"&gt;h00m49&lt;/span&gt;&lt;span class="mf"&gt;.0&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;26&lt;/span&gt;&lt;span class="n"&gt;d46m44s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mo"&gt;00&lt;/span&gt;&lt;span class="n"&gt;h59m12&lt;/span&gt;&lt;span class="mf"&gt;.7&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;26&lt;/span&gt;&lt;span class="n"&gt;d46m44s&lt;/span&gt;
&lt;span class="n"&gt;Min&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="n"&gt;direction&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;at&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mo"&gt;00&lt;/span&gt;&lt;span class="n"&gt;h59m31&lt;/span&gt;&lt;span class="mf"&gt;.7&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;26&lt;/span&gt;&lt;span class="n"&gt;d46m19s&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You can specify '-zenith' or '-minw' as option to rephase to the local array zenith or the direction orthogonal to the best-fit plane to the antennas. The latter is close to zenith, but provides slightly lower &lt;em&gt;w&lt;/em&gt;-terms. This has not been tested on telescopes other than the MWA.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">André Offringa</dc:creator><pubDate>Sat, 15 Mar 2014 23:11:44 -0000</pubDate><guid>https://sourceforge.net0658e7439b2aec8dc4745f1539d49a6594be4602</guid></item></channel></rss>