<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">Hi Jan,<br>
<br>
</div>
<div dir="auto">My understanding of this is that freqId is a global parameter, not station specific, while the frequency lists are station specific, not global. This poses an obvious ambiguity where different stations have different frequency structures.
<br>
<br>
</div>
<div dir="auto">This has been discussed at a previous difx meeting, but IIRC the fix was not quite trivial and the demand for a generalisation was insufficient to force a change.<br>
<br>
</div>
<div dir="auto">In your scenario, selecting just freqId=2,3 (or perhaps freqId=11,12) might do what you want, as I'm not quite sure how the selection logic works in detail, but have often found that it does the 'sensible' thing in poorly defined scenarios.<br>
<br>
</div>
<div dir="auto">If not, a cheat I have used in the past is to set the frequencies I wish to discard to some nonsense value such that they do not form a correlatable baseline. This vex hacking can be a bit messy, but has a very predictable result.<br>
<br>
</div>
<div dir="auto">Regards,<br>
</div>
<div dir="auto">Cormac<br>
<br>
</div>
<div dir="auto"><!-- tmjah_g_1299s -->Sent from<!-- tmjah_g_1299e --> <a href="http://www.bluemail.me/r?b=12976">
<!-- tmjah_g_1299s -->Blue<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --><!-- tmjah_g_1299e -->
</div>
<div class="gmail_quote">On 16 May 2018, at 19:27, Jan Wagner <<a href="mailto:jwagner105@googlemail.com" target="_blank">jwagner105@googlemail.com</a>> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">Hi again,<br><br>got another potential user or interpretation mistake related to v2d.<br>This cropped up while trying to fix something in v2d+vex for<br>RadioAstron correlation. Basically we have stations with 16 MHz<br>recorded bands that overlap only a 1 x 64 MHz band out of VLBA 4 x<br>64 MHz. The other 3 x 64 MHz should supposedly be thrown away.<br><br>We tried to create 16 MHz zooms into just that 64 MHz VLBA band, and<br>discard the other 64 MHz bands via including only desired bands in<br>the v2d SETUP "freqId" parameter ("select which bands to<br>correlate"). However, vex2difx then complains about mismatched<br>bandwidth correlation. Despite the correct (I think) freqId band<br>selection.<br><br>With 'vexpeek' the original list of bands is:<br><br># 16 MHz stations<br># 22236 MHz +16M = 22236 MHz to 22252 MHz<br>Subband[0]=[2.2236e+10 Hz, 1.6e+07 Hz, sb=U, pol=R]<br>Subband[1]=[2.2236e+10 Hz, 1.6e+07 Hz, sb=U, pol=L]<br># 22236 MHz -16M = 22220 MHz to 22236 MHz<br>Subband[2]=[2.2236e+10 Hz, 1.6e+07 Hz, sb=L, pol=R]<br>Subband[3]=[2.2236e+10 Hz, 1.6e+07 Hz, sb=L, pol=L]<br># 22268 MHz +16M = 22268 MHz to 22284 MHz<br>Subband[4]=[2.2268e+10 Hz, 1.6e+07 Hz, sb=U, pol=R]<br>Subband[5]=[2.2268e+10 Hz, 1.6e+07 Hz, sb=U, pol=L]<br># 22268 MHz -16M = 22252 MHz to 22268 MHz<br>Subband[6]=[2.2268e+10 Hz, 1.6e+07 Hz, sb=L, pol=R]<br>Subband[7]=[2.2268e+10 Hz, 1.6e+07 Hz, sb=L, pol=L]<br><br># 64 MHz VLBA stations<br># 22156 MHz +64M = 22156 to 22220 MHz ; *discard*<br>Subband[8]=[2.2156e+10 Hz, 6.4e+07 Hz, sb=U, pol=R]<br>Subband[9]=[2.2156e+10 Hz, 6.4e+07 Hz, sb=U, pol=L]<br># 22220 MHz +64M = 22220 to 22284 MHz, keep<br>Subband[10]=[2.222e+10 Hz, 6.4e+07 Hz, sb=U, pol=R]<br>Subband[11]=[2.222e+10 Hz, 6.4e+07 Hz, sb=U, pol=L]<br># 22396 MHz +64M = 22396 to 22460 MHz ; *discard*<br>Subband[12]=[2.2396e+10 Hz, 6.4e+07 Hz, sb=U, pol=R]<br>Subband[13]=[2.2396e+10 Hz, 6.4e+07 Hz, sb=U, pol=L]<br># 22460 MHz +64M = 22460 to 22524 MHz ; *discard*<br>Subband[14]=[2.246e+10 Hz, 6.4e+07 Hz, sb=U, pol=R]<br>Subband[15]=[2.246e+10 Hz, 6.4e+07 Hz, sb=U, pol=L]<br><br>The ZOOM section has zooms for only the desired one band out of 4 x<br>64 MHz VLBA:<br><br>addZoomFreq = freq@22220.00/bw@16.0/noparent@true<br>addZoomFreq = freq@22236.00/bw@16.0/noparent@true<br>addZoomFreq = freq@22252.00/bw@16.0/noparent@true<br>addZoomFreq = freq@22268.00/bw@16.0/noparent@true<br><br>The SETUP section has selects only the desired 16 MHz bands and the<br>one 64 MHz band:<br><br>freqIds = 0,1,2,3,4,5,6,7,10,11<br><br>However, vex2difx still complains about mismatched bandwidths. The<br>complaint disappears only when I add three more 16 MHz zooms so that<br>a piece of each three undesired 64 MHz VLBA bands is included.<br><br>Apparently the "freqIds" list is either ignored, or not parsed<br>correctly, or is checked too late?<br><br>The wiki describes the SETUP parameter "freqId" as "a comma<br>separated list of integers that are freq table indexes to select<br>which bands to correlate; default is to correlate all. Note: this<br>should be used to select parent bands for zoom frequencies if<br>difx2fits is to be run."<br><br>From the actual behaviour though it seems that "freqId" does not<br>actually "select which bands to correlate"?<br><br>cheers,<br>Jan<br><br><br><br><hr><br>Difx-users mailing list<br>Difx-users@listmgr.nrao.edu<br><a href="https://listmgr.nrao.edu/mailman/listinfo/difx-users">https://listmgr.nrao.edu/mailman/listinfo/difx-users</a><br></pre>
</blockquote>
</div>
</body>
</html>