From 695d04cb94f2c8390e62f498b9e0440a2322d463 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 10 Mar 2014 17:40:13 +0100 Subject: document functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/lisp-esque | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'examples/lisp-esque') diff --git a/examples/lisp-esque b/examples/lisp-esque index c8a813d..72af2bc 100644 --- a/examples/lisp-esque +++ b/examples/lisp-esque @@ -424,9 +424,32 @@ def _clip(mods, args): pass def _sigmoid(mods, args): + ''' + Add sigmoid curve cancellation adjustment + + @param mods:list 'red', 'green' and 'blue' for restricting to those colour curves + and 'default' for using before and after Blueshift is running + @param args:list the adjustment at each time point (outer) for each monitor, + |list<[str, str, str]>> optionally with individual colour curve control; + 'nil' for nothing + ''' pass def _limits(mods, args): + ''' + Add sigmoid curve cancellation adjustment + + @param mods:list red', 'green' and 'blue' for restricting to those colour curves, + 'cie' for using CIE xyY and 'default' for using before and after + Blueshift is running + @param args:list| Add limitations all day long either [minimum, maximum], or + [red minimum, red maximum, green minimum, green maximum, + blue minimum, blue maximum], optionally + list optionally for each monitor (all if just one specified) (outer/middle), + |list> optionally at each time point (outer) + ''' pass def _linearise(mods, args): @@ -440,7 +463,27 @@ def _linearise(mods, args): ''' pass +def _icc(mods, args): + ''' + Add adjustment by ICC profile + + @param mods:[]|[str] 'filter' or 'calib' (default) for when Blueshift is running and + Blueshift is running but also before and after, respectively + @param args:list> The ICC profile pathname for each time point (all day long if one), + and optionally (inner) for each monitor. + ''' + pass + def _manipulate(mods, args): + ''' + Add curve manipulation function adjustment + + @param mods:list red', 'green' and 'blue' for restricting to those colour curves, + 'cie' for using CIE xyY and 'default' for using before and after + Blueshift is running + @param args:list<[str, str, str]|str> Function for each monitor (for all if just one specified), and + optionally one per colour curve (red, green and blue) + ''' pass def _standardise(mods, args): -- cgit v1.2.3-70-g09d2