K5/VSSP (IP-VLBI) Observation Software

Recent Update History
  • 2017-09-01 debug "k5tom5b"
  • 2017-08-30 debug "k5tom5b"
  • 2017-08-29 debug "m5tok5" ("make_mk5tok5_info_file" in libmk5tok5.c).
  • 2017-08-28 debug "m5check" and "m5btime". update "skdchk"
  • 2017-03-15 debug "k5tovdif" and "cor_new"
  • 2017-03-10 release new archive
  • 2017-02-22 revise src/speana2,speana_n, and corr/g_speana. FFT direction is revised to follow the original definition.
  • 2017-02-16 revise src/speana to follow FFT direction with the original definition (so far inverse direction was used conveniently).
    add FFT by the Mixed-Radix method to the libfft library in order to handle any number of points in FFT besides 2^n.
  • 2017-02-12 debug src/pcalcheck in case of handling 2bit AD data and revise the normalization method.
  • 2017-02-09 revise src/libspeplot so as to make it as same as corr/libspeplot
  • 2017-01-19 revise libipvlbi.h

Software List

K5/VSSP Observation Software (Version 2017-10-09)

Sampler Dependent Software (driver for K5/VSSP or K5/VSSP32 sampler must be installed first)
signalcheck check reference and 1PPS signals supplied to a sampler
timesettk set time of a sampler
timeadjust adjust time of a sampler by 1 sec step
timedisp display time of a sampler
timesync synchronize sampler time to 1PPS signal
sampling triger sampling start and acquire data
sampling2 as same as "sampling" but higher functional capability
autoobs perform automatic observation using a sampler
monit monitor input signal level of a sampler with sampler time
monit2 monitor occurence of error of a sampler for initial checking
setdcoffset set DC offset of a K5/VSSP32 sampler
pctimeset set host PC time using sampler time
timesetpc set sampler time using host PC time (for checking)
timecheck check false operation in time reading from a sampler (for initial checking)

Sampler Independent Software
oscillo display sampled data dynamically (for K5/VSSP) (support PGPLOT only)
datachk check sampled data for K5/VSSP
speana display spectrum for K5/VSSP data file
speana2 display spectrum (higher functional capability)
speana_n display spectrum dynamically for K5/VSSP data (support PGPLOT only)
skdchk check an observation schedule
extdata extract data from a sampled data file and output as an aschii file
four2one convert data file format from 4ch mode to 1ch mode
datacut extract data for a given period from a data file
datatime_edit edit time field data of K5/VSSP and K5/VSSP32 data
adbitconv convert AD bit resolution of a sampled data file
one2four combine 4 1-ch data files to a 4-ch data file
data_half half the samplig frequency by thinning sampled data
data_double double the sampling frequency by repeat a sample twice
k5v32tok5 convert K5/VSSP32 format data to K5/VSSP format
k5tok5v32 convert K5/VSSP format data to K5/VSSP32 format
data_recov recover K5/VSSP and K5/VSSP32 data header
vssplogana analyze a log file of "sampling" or "autoobs" and a summary file of "datachk"
aux_recov recover an auxiliary field of K5/VSSP32 data header
pcalcheck monitor PCAL phase and amplitude in a K5/VSSP or K5/VSSP32 data file (recommended graphics is PGPLOT)

Shell Script to test a K5/VSSP32 sampler
vssp32test.sh test a K5/VSSP32 sampler by changing sampling frequency
vssp32test2.sh test a K5/VSSP32 sampler with fixed sampling parameters
vssp32test3.sh test a K5/VSSP32 sampler by changing sampling frequency in a given range

Format Converter between K5 and Mark5
k5tom5 convert K5VSSP or K5/VSSP32 format to Mark5 format
k5tom5b convert K5VSSP or K5/VSSP32 format to Mark5B format
m5check analyze Mark5 format data, and display header block without sync check
m5time display time label in Mark5 format data
m5btime display time label in Mark5B format data
m5tok5 convert Mark5 format to K5/VSSP format
m5btok5 convert Mark5B format to K5/VSSP format
m5vex_ana analyze a VEX schedule file
m5b_recov rescues a problematic Mark5B file including 0h UTC in a scan converted by "k5tom5b" (ver.2014-06-11 and before)

Format Converter between ADS3000+ and K5
ads2k5 convert ADS3000+(DBBC mode) format to K5/VSSP or K5/VSSP32

Format Converter between VDIF and K5 including VDIF to Mark5B
vdif2k5 convert VDIF to K5/VSSP32 format
vdifcheck check VDIF file
speana_vdif display spectrum for VDIF format data
k5tovdif convert K5 to VDIF format
vdiftom5b convert VDIF to Mark5B format

Installation of K5/VSSP Observation Software

How to Install

1. download ipvlbi_obs20171009.tar.gz (Ver.2017-10-09) to an adequate directory.
2. decompress an archive file.
   tar xvzf ipvlbi_obsXXXXXXXX.tar.gz

3. change working directory.
   cd ipvlbiXXXXXXXX
4. Note: "how to install" is drastically changed after Ver.2016-10-04 and later!!
please refer install_obs_e.20160721.html for Ver.2016-08-08 and former.

execute as follows.
[for VSSP32]

[for VSSP64]
   make S=VSSP64

If you want to use GNUPLOT for graphics instead of PGPLOT,
   make G=GNUPLOT

If you want to install without the use of sampler hardware,
   make S=NONE

When recompile,
   make clean
then "make" again.

5. set up your environment.

In case that installed directory is, e.g., $HOME/K5/ipvlbiXXXXXXXX
make symbolic link as follows.
   ln -s $HOME/K5/ipvlbiXXXXXXXX $HOME/ipvlbi

if link has been already existed, issue command with "f" option as follows.
   ln -sf $HOME/K5/ipvlbiXXXXXXXX $HOME/ipvlbi

then add following description in your resource file (e.g., .bashrc).
   export PATH=$PATH:$HOME/ipvlbi/bin (for .bashrc)
   setenv PATH $PATH:$HOME/ipvlbi/bin (for .cshrc)

You can execute all K5 programs by merely re-link a symbolic link when new version is installed.

Archives with version after 2010-02-08 includes man page files. Therefore you can use K5 software man page by adding following description in your resource file (e.g., .bashrc).
   export MANPATH=$HOME/ipvlbi/man:$MANPATH (for .bashrc)
   setenv MANPATH $HOME/ipvlbi/man:$MANPATH (for .cshrc)

e.g., you can issue "man autoobs" to know how to execute it. "man k5util" tells about all K5 programs with brief instructions.

Note: Driver software and PGPLOT or GNUPLOT must be installed in advance!

Installation of Format Conversion Software

1. download ipvlbi_m5k20171009.tar.gz (Ver.2017-10-09) to an adequate directory.
2. decompress an archive file.

   tar xvzf ipvlbi_m5kXXXXXXXX.tar.gz

3. change working directory.

   cd ipvlbiXXXXXXXX

then execute

   make T=M5K

1. download ipvlbi_vdif20171009.tar.gz (Ver.2017-10-09) to an adequate directory.
2. decompress an archive file.

   tar xvzf ipvlbi_vdifXXXXXXXX.tar.gz

3. change working directory.

   cd ipvlbiXXXXXXXX

then execute

   make T=VDIF



latest and previous archives

Update History (since March 30, 2007)

updated on October 9, 2017