sub read_mute_par
read parameter file
1. open file
2. set the counter
3. read contents of parameter file
4. odd-numbered lines contain tnmo and even contain vnmo
1. remove end of line
2. calculate number of useful elements
2. only leave the numbers
sub read_par
read parameter file
1. open file
2. set the counter
3. read contents of parameter file
4. odd-numbered lines contain time and even contain vnmo/xmute etc.
1. remove end of line
2. calculate number of useful elements
2. only leave the numbers
write_mute_par
write out a par file in the correct
format
write_cdp
Write out only the cdp nos.
cdp=g,h
for the first part of a file that contains more than one tnmo, vnmo pair.
write_gather
write out only the gather nos.
gather=g,h
for the first part of a file that contains
more than one tnmo, vnmo pair
write_tmute_xmute
write out only
tmute= a,b,c
xmute= A,B,C
tmute= d,e,f
xmute= D,E,F
for the second part of a file that contains
more than one tmute-xmute pair
write_tnmo_vnmo
write out only
tnmo= a,b,c
vnmo= A,B,C
rnmo= d,e,f
vnmo= D,E,F
for the second part of a file that contains
more than one tnmo-vnmo pair