From ddd9f98776f6c7c58fcf68d905dccd965fe642e9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 Apr 2014 15:35:04 +0200 Subject: document tension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'info') diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 83b71be..e3a5ae5 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -1553,7 +1553,10 @@ to compensate for this, nearest-neighbour interpolation is used. If you want to better interpolation there are a few functions that can be used to scale up the lookup table using -interpolation. +interpolation. These functions have three +arguments: the red, the green and the blue +colour curves to scale up. The functions +return a tuple of these scaled up. @table @code @item linearly_interpolate_ramp @@ -1562,16 +1565,17 @@ Scale up using linear interpolation. @item cubicly_interpolate_ramp Scale up using cubic Hermite interpolation. +This function have one additional, optional, +parameter: @code{tension}, those default value +is 0. It is a floating point value that should +be between 0 and 1. + @end table -These functions thats three arguments: -the red, the green and the blue colour -curves to scale up. The functions return -a tuple of these scaled up. All functions -are will using linear interpolation if -an interpolation segment is non-monotonic. -This is done, automatically by the -functions, by using the function +All functions are will using linear +interpolation if an interpolation segment +is non-monotonic. This is done, automatically +by the functions, by using the function @code{eliminate_halos} that takes six arguments and does not return anything. @code{eliminate_halos}'s arguments are -- cgit v1.2.3-70-g09d2