vdifcheck |
---|
機能 |
---|
VDIFデータのチェックを行う。
書式 |
---|
vdifcheck vdif_file [オプション]
vdif_file | VDIFデータファイル名 | ||||||||||
オプション | |||||||||||
-f[ormat] 0|1|2|3|99 | 表示フォーマットの選択 | ||||||||||
| |||||||||||
-d[mode] 0|1|2 | 表示モードの設定 | ||||||||||
| |||||||||||
-n[frame] nmax | 読み込むフレーム数をセットする | ||||||||||
-l[egacy] | ヘッダー長を強制的に16バイトに設定する | ||||||||||
-s[kip] n | 最初のnバイトを読み飛ばす | ||||||||||
-k[ashima] [bytesframe] | ヘッダーフォーマットをKASHIMA形式に強制的に設定。フレーム長を bytesframeバイトに強制的に設定する。 | ||||||||||
-pup thread_num | スレッド#を指定する(デフォルトは最初に出現したスレッド#) | ||||||||||
-h[istogram] | ADレベル毎の出現頻度を表示する |
実行例 |
---|
$ vdifcheck ./test_sv.vdif -h *********************************************************** * VDIF data check * * Ver 1.20 2019-10-12 by T.KONDO * * * *********************************************************** Data File : ./test_sv.vdif now analyzing # of threads ...... # of threads included is 1 thread ID : 1 # of frames in a second : 16000 Thread ID to pick up ==> 1 1st header information is as follows ========================= VDIF HEADER INFORMATION ========================= VDIF header (raw) : 0012F2DD 2700088F 230003EC 04010062 extended header (raw) : ABADDEED 00000000 00000000 00000000 Invalid flag = 0 : Legacy flag = 0 Sec from ref epoch = 1241821 : Ref epoch = 39 (2019/07/15 08:57:01) Frame # = 2191 : VDIF Ver# = 1 : # Chs(log2) = 3 Frame length in 8 byte unit = 1004 (= 8032 bytes) Data type = 0 : #bits/sample-1 = 1 : Thread ID = 1 Station ID (A2) = b ( = 98 in number) EDV : -85 Exteded Data W1 W2 W3 W4 : ADDEED 00000000 00000000 00000000 --- in case of NICT Extended Format --- uflag = 0 : srate = 0 : Sync block = 00000000 DAS/station name (A8) : =========================================================================== ============================================================================== EXTENDED DATA HH:MM:SS FRAME# I L VER CHS #Bytes C AD TID SID W1 W2 ------------------------------------------------------------------------------ 08:57:01 2191 0 0 1 8 8032 0 2 1 b 00ADDEED 00000000 ............... 08:57:09 1681 0 0 1 8 8032 0 2 1 b 00ADDEED 00000000 ============================================================================== ============ PROBABILITY(%) OF OCCURRENCES ============ LEVEL CH01 CH02 CH03 CH04 CH05 CH06 CH07 CH08 ------------------------------------------------------- 0 9.3 11.2 25.9 28.0 28.4 28.6 28.4 28.9 1 40.7 38.8 24.1 22.0 21.6 21.4 21.6 21.1 2 40.7 38.8 24.1 22.0 21.6 21.4 21.6 21.1 3 9.3 11.2 25.9 28.0 28.4 28.6 28.4 28.9 ======================================================= ========================= SUMMARY ============================= File Name : ./test_sv.vdif Size : 1024000000 bytes # of threads: 1 Start Time : 2019/07/15 08:57:01 Thread ID : 1 Frame# : 2191 Bytes/Frame : 8032 bytes Data type : Real Data AD bits : 2 #Channels : 8 EDV# : -85 # of frames/sec : 16000 # of total frames : 127491 (#bad frames : 0) Data period (sec)/thread : 7.968187 Data Rate/thread (Mbps) : 1024.000000 Sampling Frequency Estimated (MHz) for real : 64.000000 ================================================================