<div dir="ltr"><div><div><br></div>Thanks Richard. I am out of Charlottesville. Will discuss with Rick about the plan for checking this data when I am back.<br><br></div>Anish <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 2, 2013 at 6:32 AM, Richard Black <span dir="ltr"><<a href="mailto:aeldstesort@gmail.com" target="_blank">aeldstesort@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Rick and Anish,<div><br></div><div>Here is some sample data from the real-time correlator. I'm sorry it took so long to get to you.</div><div><br></div><div>I've also attached a python script that parses and plots the data. You'll need the numpy, pylab, h5py, time, sys, math, and poxy python libraries to run this code.</div>

<div><br></div><div>"plot_corr_h5_zk.py [options] <file_name>" will plot the data in a user-specified manner.</div><div><br></div><div>OPTIONS</div><div>------------------</div>
<div>-a #</div><div>Specify which antenna to plot against (all cross-PSDs or cross-correlation functions against #)</div><div><br></div><div>-a #_#</div><div>Specify which two antennas to plot against each other (cross-PSD or cross-correlation function between the two #'s)</div>

<div><br></div><div>-a auto</div><div>Plot PSDs or auto-correlation functions for all antennas</div><div><br></div><div>-p (xx, yy, yx, xy, all)</div><div>Specifies which polarization should be plotted-- this refers only to how the data was treated in the correlator. For this sample data, we only use 'xx.'</div>

<div><br></div><div>-D</div><div>Plots the cross/auto-correlation functions. If this option is omitted, the (cross-)PSDs are plotted instead.</div><div><br></div><div>For example, to plot the cross-PSDs against antenna 0, you would use the following command:</div>

<div>"./plot_corr_h5.py -a 0 -p xx corr.2456087.47037.h5c"</div><div><br></div><div>If you wanted to plot the cross-correlation functions against antenna 0, you would use the following command:</div>
<div>"./plot_corr_h5.py -a 0 -p xx -D corr.2456087.47037.h5c"</div><div><br></div><div><br></div><div>If you wanted to plot the cross-PSD between antennas 0 and 1, you would use the following command:</div>
<div>"./plot_corr_h5.py -a 0_1 -p xx corr.2456087.47037.h5c"</div><div><br></div><div>If you wanted to plot the auto-correlation PSDs for all the antennas, you would use the following command:</div><div>
"./plot_corr_h5.py -a auto -p xx corr.2456087.47037.h5c"</div><div><br></div><div><br></div><div><br></div><div>I hope this makes sense. Let me know if there is any confusion.</div><div><br></div><div>Thanks,</div>

<div><br clear="all"><div>Richard Black</div>
</div></div>
<br>_______________________________________________<br>
Pafgbt mailing list<br>
<a href="mailto:Pafgbt@listmgr.cv.nrao.edu">Pafgbt@listmgr.cv.nrao.edu</a><br>
<a href="http://listmgr.cv.nrao.edu/mailman/listinfo/pafgbt" target="_blank">http://listmgr.cv.nrao.edu/mailman/listinfo/pafgbt</a><br>
<br></blockquote></div><br></div>