projects
/
OpenColorIO-Configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add docstrings skeletons.
[OpenColorIO-Configs.git]
/
aces_1.0.0
/
python
/
aces_ocio
/
createREDColorSpaces.py
diff --git
a/aces_1.0.0/python/aces_ocio/createREDColorSpaces.py
b/aces_1.0.0/python/aces_ocio/createREDColorSpaces.py
index
46cbd7f
..
74d375f
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/createREDColorSpaces.py
+++ b/
aces_1.0.0/python/aces_ocio/createREDColorSpaces.py
@@
-16,10
+16,24
@@
__status__ = 'Production'
__all__ = ['createREDlogFilm',
'createColorSpaces']
__all__ = ['createREDlogFilm',
'createColorSpaces']
-#
-# RED color spaces to ACES
-#
+
def createREDlogFilm(gamut, transferFunction, name, lutDir, lutResolution1d):
def createREDlogFilm(gamut, transferFunction, name, lutDir, lutResolution1d):
+ """
+ Object description.
+
+ RED colorspaces to ACES.
+
+ Parameters
+ ----------
+ parameter : type
+ Parameter description.
+
+ Returns
+ -------
+ type
+ Return value description.
+ """
+
name = "%s - %s" % (transferFunction, gamut)
if transferFunction == "":
name = "Linear - %s" % gamut
name = "%s - %s" % (transferFunction, gamut)
if transferFunction == "":
name = "Linear - %s" % gamut
@@
-112,8
+126,21
@@
def createREDlogFilm(gamut, transferFunction, name, lutDir, lutResolution1d):
return cs
return cs
-# Generate all color spaces conversion
def createColorSpaces(lutDir, lutResolution1d):
def createColorSpaces(lutDir, lutResolution1d):
+ """
+ Generates the colorspace conversions.
+
+ Parameters
+ ----------
+ parameter : type
+ Parameter description.
+
+ Returns
+ -------
+ type
+ Return value description.
+ """
+
colorspaces = []
# Full conversion
colorspaces = []
# Full conversion