---
name: "gpiv_s-avg"
section: "1"
platform: "linux"
package: "gpivtools"
version: "0.6.0-3.1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/gpiv_s-avg"
---

# gpiv\_s-avg(1)

Spatial statistics of PIV data.

## NAME

gpiv\_s-avg - Spatial statistics of PIV data.

## SYNOPSIS

**gpiv\_s-avg**  \[**-h** \| **--help**\]  \[**-p** \| **--print**\]  \[**-s**\] \[**-no\_s**\]  \[**-v** \| **--version**\]   \[*filename*\]  \< *stdin* \> *stdout*

## DESCRIPTION

**gpiv\_s-avg** *reports the spatial global mean velocities and* *variances in x and y-direction of a PIV data stream. Only input data* *of which the peak number is not equal to -1 are taken into* *account.*

*The parameters read from the configuration resources (containing the* *key* **POST**) may be overruled by the command line options, as explained below.

## Options

- **-h** \| **--help**

  On-line help.

- **-p** \| **--print**

  Prints parameters, command line options and input and eventually filenames to stdout.  The output is identic of *filename***.par**, in case  **-f** is used.

- **-s**

  Subtracts the mean x-and y-particle displacements from the input data.

- **-no\_s**

  Suppresses subtracting the mean values from the input data.

- **-v** \| **--version**

  Prints version information on standard output, then exits successfully.

- \[**-z** *dx0 dy0*\]

  zero offset of displacement or velocity estimators.

- *filename*

  Input PIV file. Overrides stdin and stdout. The output will be written to *filename***.sa.piv**. Parameters are stored in  *filename***.par** and may be used for future use by including them  in *./gpivrc*.

- gpivtools

  ## SEE ALSO

## NOTES

## AUTHOR

Gerber Van der Graaf

## BUGS

The program has been tested for PIV data. So far, no bugs have been found.
