m5tok5

DESCRIPTION

"m5tok5" converts Mark5 format data to K5/VSSP format data.
Data modulation "on" mode of VLBA format data are supported since Ver.2020-05-13.

SYNOPSIS

m5tok5 m5file [options]
   or
m5tok5 m5file k5file bit1 [bit2 bit3 .. bitN] [options2]
   or
m5tok5 --version|--help
   or
m5tok5 env

 where

m5file Mark-5 data file name
k5file K5 file name to be created
bit1 1st pick up bit position (0- max track#)
bit2 2nd pick up bit position (0- max track#)
........
bitN Nth pick up bit position (0- max track#)
Note: N should be (K5 channels)*(AD bits)*(Mark5 Fanout)
--version show program version
--help show how to execute
env show environmental variables used in this program
OPTIONS
-o k5file set K5 file name to be created (default: see below)
-d k5dir set directory for k5 file out (default: mark5 directory)
-c channel pickup channel (1-16) for 1ch conversion mode (default all group and 4ch mode)
-g group pickup group (1-4) for 4 ch conversion mode (omitted when e-cf option is set) (default all group)
-i info_file set infomation file that contains
track vs channel table
bit_position vs channel table
group# vs channel table
(default "m5tok5info.txt")
"-i -info_file" means create infomation file named info_file
"-i make" means create default information file
-s soffset set offset time from data head (sec) (default : 0 )
-p period data period to convert (sec) (default : all)
-r reverse track order when fanout=2 or more
-v vex_file VEX file name to be read when "information file creation mode" is set
-sid stat_id station ID when "information file creation mode" is set
-scan scan# scan# for MODE get when "information file creation mode" is set (default : 1)
-subp subpass set subpass at information file creation mode (default is "A")
-odd 32bit (4byte) shift in reading Mark5 data (this works only for 64 track mode)
-monit run condition monitor ON
OPTIONS 2
-track ntrack # of Mark5 track (8,16,32,64) (deflt=32)
-fsampl fmhz channel sampling frequency (MHz) (deflt=4)
-adbit adbit # of AD conversion bit (deflt=1)
-nch numch # of channels in K5 format (1 or 4) (deflt=4)
-parity with parity data
-noparity non-parity data (default)
-vlba set VLBA mode (default mark IV mode)
-s soffset set offset time from data head (sec) (default : 0 )
-p period data period to convert (sec) (default : all)
-odd 32bit (4byte) shift in reading Mark5 data (this works only for 64 track mode)
COMMON OPTIONS
-mod[ulation] compulsory set modulation "on" for VLBA format
-off[modulation] compulsory set modulation "off" for VLBA format

Naming rule for K5 file created (MK5: original mark5 name)
  4ch mode
     MK5.k5a --- for group#1 (usually ch# 01-04)
     MK5.k5b --- for group#2 (usually ch# 05-08)
     MK5.k5c --- for group#3 (usually ch# 09-12)
     MK5.k5d --- for group#4 (usually ch# 13-16)
  1ch mode
     MK5.k5-NN --- where NN is channel # 01-16

ENVIRONMENT VARIABLES

M5DIR default directory for Mark5 data
M5VEX default directory for VEX file


Updated on May 13, 2020