Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: VLF: DK7FC > W1VD / K3SIW 8.27 kHz EbNaut - We don't give up!

To: [email protected]
Subject: Re: VLF: DK7FC > W1VD / K3SIW 8.27 kHz EbNaut - We don't give up!
From: Paul Nicholson <[email protected]>
Date: Fri, 16 Mar 2018 15:38:46 +0000
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=abelian.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:Reply-To:To:From:Subject:Sender:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YfFZnNQKT8oaOySgByxXtAGkjKVG/slxXj2HR0/9M8I=; b=vvgId+Q96zUIWpVHAj2xqLZ05v 0pIrKBtNgSTAHPgnzUeE8TLj3UyuJqGMNZjU2tDd99S0R5VXenSfyQEYOe599KvYDnv0Qkc+9YP8O O7gPCUFqGuso8ZHtkPPx76p0GKD56WvO2/PxWIcV9t5+nbN5fGCVxuEz1WoCxzotesiM=;
In-reply-to: <[email protected]>
References: <1UQOBAX9Wi.5GpBpi86BpG@optiplex980-pc> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Reply-to: [email protected]
Sender: [email protected]
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Now a script to normalise and stack.  This uses the
standard unix join command instead of vtjoin, since
the files are already ASCII and all share the same
record number, we can just join on column 1.

#!/bin/bash

dir=$1

rm -f stack.dat

for file in $(ls $dir/*.wav)
do

   vtwavex $file |
      vtraw -oa |
      ./iqnorm2 > temp.dat


   [ ! -f stack.dat ] && {
      # first file
      mv temp.dat stack.dat
   } || {
      # subsequent files
      join stack.dat temp.dat | awk '{
         printf( "%s %.5e %.5e\n", $1, $2 + $4, $3 + $5)
      }' > new.dat

      mv new.dat stack.dat
   }

done

Save that as, say, normstack and make executable.

Then I run

./normstack W1VD

which produces a stack.dat, then

cat stack.dat | ebnaut -dp16K21A -r0.4572395 -T 198.3 -F0.1 ...

Similarly,

./normstack K3SIW

cat stack.dat | ebnaut -dp16K21A -r0.771603 -T 216 -F0.0 ...

This works because ebnaut ignores the timestamp (or whatever else)
in column 1.

--
Paul Nicholson
--

<Prev in Thread] Current Thread [Next in Thread>