Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

extract/lib/filter.c File Reference

Filtering utilities, to be included in C_mathlibs. More...

Go to the source code of this file.

Functions

void spatial_filter (int nrow, float X[], float Y[], float Z[], float rad, char method, int minNnb, int Nnb[])
 Spatial filtering (median or average) of arrays.


Detailed Description

Filtering utilities, to be included in C_mathlibs.

Copyright:
(c) 2003 CRAL-Observatoire de Lyon
Date:
Date
2004/10/01 16:58:04
Author:
Yannick Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Revision
1.4
Id
filter.c,v 1.4 2004/10/01 16:58:04 ycopin Exp

Definition in file filter.c.


Function Documentation

void spatial_filter int  nrow,
float  X[],
float  Y[],
float  Z[],
float  rad,
char  method,
int  minNnb,
int  Nnb[]
 

Spatial filtering (median or average) of arrays.

Parameters:
nrow Nb of input coordinates
X 
Y Input coordinates
Z Input values/Filtered values
rad Radius of filtering [coord]
method Filtering method
  • 'A': average,
  • 'M': median,
minNnb Minimal nb of neighbors. If <0, exclude central point.
Nnb Ouput nb of neighbors (or NULL)

Definition at line 36 of file filter.c.

Referenced by select_mpup_sharpest_smooth().


Generated on Tue Nov 23 18:04:21 2004 for Snifs by doxygen 1.3.3