<div dir="ltr">OK, it is up at <a href="https://gist.github.com/adamdeller/9e29c776612dfe448ce018c04c532ab5">https://gist.github.com/adamdeller/9e29c776612dfe448ce018c04c532ab5</a>.  I suspect Harro's tool will be easier, but give it a go if you like.<div><br></div><div>Cheers,<br>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 30 Aug 2021 at 11:29, Rebecca Lin <<a href="mailto:lin@astro.utoronto.ca">lin@astro.utoronto.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Adam and Harro,<div>  </div><div>Adam: It may be useful to take a look at your  fits_compare.py script if it's not too much trouble for you to put it on github. I can try to see if it works with the helper functions.</div><div><br></div><div>Harro: Thanks, I'll give this a try!</div><div><br></div><div>Cheers,</div><div>  Rebecca</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 29 Aug 2021 at 08:23, harro verkouter <<a href="mailto:hverkouter@gmail.com" target="_blank">hverkouter@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi all,</div><div dir="auto"><br></div><div dir="auto">For the verification of sfxc postprocessingtools (to generate e.g. FITS-IDI files) we have a comparisontool for the meta-data. The one for numerical equivalence of two FITS-IDI files is currently lacking (it does work for MeasurementSets):</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://code.jive.eu/verkout/jive-toolchain-verify" target="_blank">https://code.jive.eu/verkout/jive-toolchain-verify</a></div><br></div><div dir="auto">Specifically look at the ‘compare-ms-idi-meta.py’ script. Despite it’s name it can compare any number of FITS-IDI and/or MeasurementSet files - including zero of either 😄</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">h</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op zo 29 aug. 2021 om 10:17 schreef Adam Deller via Difx-users <<a href="mailto:difx-users@listmgr.nrao.edu" target="_blank">difx-users@listmgr.nrao.edu</a>><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Rebecca,<div><br></div><div>I have a script called fits_compare.py that diff's two FITS-IDI files that are supposed to be identical (i.e., same antennas, integration time, etc).  It was always a bit of hack/check code and is probably not very user friendly.  If you want I can put it on github so you can get it - it also has a dependency on some helper functions that are available in <a href="https://github.com/dingswin/psrvlbireduce/" target="_blank">https://github.com/dingswin/psrvlbireduce/</a>, but there's every chance that it won't work out of the box and I don't have any time to debug it at the moment.  But let me know if you'd like me to make it available and try investigating it.</div><div><br></div><div>Cheers,</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 29 Aug 2021 at 07:57, Rebecca Lin via Difx-users <<a href="mailto:difx-users@listmgr.nrao.edu" target="_blank">difx-users@listmgr.nrao.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Leonid,<div><br></div><div>Thanks for pointing me to the documentation! I'm hoping to compare visibilities from my correlation pipeline to the output from DiFX.</div><div><br></div><div>Best,</div><div>  Rebecca </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 28 Aug 2021 at 13:16, Leonid Petrov <<a href="mailto:Leonid.Petrov@lpetrov.net" target="_blank">Leonid.Petrov@lpetrov.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Rebeca,<br>
<br>
> I'm wondering if there is documentation on how information is stored in the<br>
> fits file <br>
<br>
  Sure:<br>
<br>
<a href="ftp://ftp.aoc.nrao.edu/pub/software/aips/TEXT/PUBL/AIPSMEM114.PDF" rel="noreferrer" target="_blank">ftp://ftp.aoc.nrao.edu/pub/software/aips/TEXT/PUBL/AIPSMEM114.PDF</a><br>
<br>
> and how to plot the visibilities. <br>
<br>
  Usually, these plots are useless. There are exceptions, but generally,<br>
you need process the data first to see any signal. You can develop your<br>
own software for visibility analysis or try to use existing packages, <br>
whichever you prefer. But it is not easy. Depending on the problem, <br>
mastering data analysis may take from months (though this sounds<br>
very optimistic) till ... all your life. Good luck.<br>
<br>
> I'm mainly wondering where the<br>
> complex visibilities are stored in the fits file.<br>
<br>
  In section UV_DATA. See AIPSMEM114.PDF for details.<br>
<br>
Leonid<br>
2021.08.28_13:09:41<br>
</blockquote></div>
_______________________________________________<br>
Difx-users mailing list<br>
<a href="mailto:Difx-users@listmgr.nrao.edu" target="_blank">Difx-users@listmgr.nrao.edu</a><br>
<a href="https://listmgr.nrao.edu/mailman/listinfo/difx-users" rel="noreferrer" target="_blank">https://listmgr.nrao.edu/mailman/listinfo/difx-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px">!=============================================================!<br><div dir="ltr" style="font-size:12.8px">A/Prof. Adam Deller         </div><div dir="ltr" style="font-size:12.8px">ARC Future Fellow</div></div><div style="font-size:12.8px">Centre for Astrophysics & Supercomputing </div><div dir="ltr" style="font-size:12.8px">Swinburne University of Technology    <br>John St, Hawthorn VIC 3122 Australia</div><div style="font-size:12.8px">phone: +61 3 9214 5307</div><div style="font-size:12.8px">fax: +61 3 9214 8797</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">office days (usually): Mon-Thu<br>!=============================================================!</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Difx-users mailing list<br>
<a href="mailto:Difx-users@listmgr.nrao.edu" target="_blank">Difx-users@listmgr.nrao.edu</a><br>
<a href="https://listmgr.nrao.edu/mailman/listinfo/difx-users" rel="noreferrer" target="_blank">https://listmgr.nrao.edu/mailman/listinfo/difx-users</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px">!=============================================================!<br><div dir="ltr" style="font-size:12.8px">A/Prof. Adam Deller         </div><div dir="ltr" style="font-size:12.8px">ARC Future Fellow</div></div><div style="font-size:12.8px">Centre for Astrophysics & Supercomputing </div><div dir="ltr" style="font-size:12.8px">Swinburne University of Technology    <br>John St, Hawthorn VIC 3122 Australia</div><div style="font-size:12.8px">phone: +61 3 9214 5307</div><div style="font-size:12.8px">fax: +61 3 9214 8797</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">office days (usually): Mon-Thu<br>!=============================================================!</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>