[GRASS-dev] Some proposition on r.neighbour (new code)

Jarosław Jasiewicz jarekj at amu.edu.pl
Wed Feb 10 03:24:08 EST 2010


Glynn Clements pisze:
> Jarosław Jasiewicz wrote:
>
>   
>> I have two propositions on r.neighbour:
>>
>> 1) add existing method "range" to existing methods of r.neighbors
>>     
>
>   
>> 2) add new method "percentile" and add it to existing method of r.neighbours
>>     
>
> Both seem reasonable, although I'm not keen on the name of the second. 
>   
> 1. It's likely to be confused as being similar to quart1, quart3,
> perc90 and quantile (quantile would have been named percentile if it
> used values in the range 0-100 rather than 0-1).
>   
maybe name "quantile" will be better, in general the idea of function is 
to return relation the central value to the neigbor (similar to 
interspersion)
> 2. The name shouldn't mention percentile unless the range is 0-100.
>   
you right, it is only the issue of multiply the result by 100, of course 
it never be 0, because there  always 1 cell equal  to the center (this one).

I'm not sure which solution could be better: quantile 0-1 or percentile 
0-100?,

regards
Jarek



More information about the grass-dev mailing list