Subject: |
Re: compress records |
From: |
[email protected] (Marty Kraimer) |
Date: |
Thu, 25 May 1995 11:08:15 -0500 |
> From denali!greene Thu May 25 09:29 CDT 1995
> From: <greene%[email protected]>
> Subject: compress records
> To: <[email protected]>
> Date: Thu, 25 May 1995 08:25:00 -0600 (MDT)
> X-Mailer: ELM [version 2.4 PL24]
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Type> : > text/plain> ; > charset=US-ASCII>
> Content-Length: 596
>
> Looking at the documentation and the source for the compress records, it
> looks like the input to this record is a single sample of NSAM channels.
> I need to be able to average a waveform record buffer but it appears that
> the compress record cannot do this. Is this correct? If so, is there a
> record type already defined that will do this?
>
> --
> --------------------------------------------------------------------------------
> Greg Greene
> KineticSystems Corp.
> ph: 303-220-7455 x13
> fax: 303-220-7458
> --------------------------------------------------------------------------------
>
The following is taken from the record reference manual (compress record)
If NTO1LOW, NTO1HIGH, or NTO1AVE are chosen, then VAL is a cdircular
buffer of length NSAM. ... If INP refers to an array, then each time the
record is processed, the array referenced by INP is obtained, divided into
sub_arrays each of length N and the algorithm applied to each sub-array.
The result from each subarray is written to the circular buffer referenced
by VAL.
If all you want to do is average a waveform just set
NSAM=1
ALG = NTO1AVE
N = length of input array
Marty Kraimer
- Navigate by Date:
- Prev:
compress records greene%denali.UUCP
- Next:
VME bus confusion winans
- Index:
1994
<1995>
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
compress records greene%denali.UUCP
- Next:
VME bus confusion winans
- Index:
1994
<1995>
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|