<html><head><meta http-equiv="Content-Type" content="text/html charset=big5"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">To whom will concern my problem,</div><div class=""><br class=""></div><div class="">Does the mark5access library can correctly be supported to a data with long BW (e.g., 2GHz)?</div><div class=""><br class=""></div><div class="">I put one example (with ~ 4 GBs of 4-sec duration; the frame format = VDIF_8192-8192-1-2) on the google drive:</div><div class=""><a href="https://drive.google.com/file/d/0B1HngVMFCJesemc1Nzdwc3ZaX28/view" class=""><font color="red"><b>MailScanner has detected definite fraud in the website at "drive.google.com". Do <i>not</i> trust this website:</b></font> https://drive.google.com/file/d/0B1HngVMFCJesemc1Nzdwc3ZaX28/view</a></div><div class=""><br class=""></div><div class="">If I put the following descriptions in a c++ program including in “mark5_stream.h”.</div><div class=""><br class=""></div><div class="">cout << "Nominal band width resolved by Mark5access lib. =  " << 0.5*(ms->samprate) << endl;</div><div class="">cout << "Number of samples per chan in a frame = " << ms->framesamples << endl;</div><div class=""><br class=""></div><div class="">I will get the following result.</div><div class=""><br class=""></div><div class=""><font color="#ff2600" class="">Nominal band width resolved by Mark5access lib. =  -1.07374e+09 </font></div><div class="">Number of samples per chan in a frame = 32768</div><div class=""><br class=""></div><div class="">Since the data has the BW = 2048 MHz with payload size of 8192 bytes, the correct value for the first line should be 2.048e+09.</div><div class="">But the second line gives the correct value [8124 * 8 (bits/bytes) * 0.5 (samples/bits)]. </div><div class="">Is this a specific bug in the current mark5access library?</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">
<div class=""><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">--</span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">Lupin Chun-Che Lin</span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">Supporting Scientist of GLT (GreenLand Telescope) project </span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">in Institute of Astronomy and Astrophysics, Academia Sinica,</span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">14F of Astronomy-Mathematics Building (Rm: 1405), </span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">National Taiwan University. </span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">No.1, Sec. 4, Roosevelt Rd, Taipei 10617, Taiwan.</span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">Tel: +886-2-2366-5464</span></div><div style="font-family: 新細明體, sans-serif; font-size: 14px;" class=""><span style="font-size: 12px;" class="">Fax: +886-2-2367-7849</span></div></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>