documentation

This commit is contained in:
2025-12-16 18:51:02 -08:00
parent 139259777e
commit 48f41ef4dc

View File

@@ -9,9 +9,14 @@ T = TypeVar('T')
@dataclass @dataclass
class Rgb(Generic[T]): class Rgb(Generic[T]):
red: T """
green: T A tuple of three `T`s, where each is the respective red, green and blue
blue: T values of interest.
"""
red: T #: Red component
green: T #: Green component
blue: T #: Blue component
@dataclass @dataclass
@@ -27,9 +32,10 @@ class AscSopComponents(Generic[T]):
for each color component the source, where the `slope` is `a`, `offset` for each color component the source, where the `slope` is `a`, `offset`
is `b` and `power` is `p`. is `b` and `power` is `p`.
""" """
slope: Rgb[T]
offset: Rgb[T] slope: Rgb[T] #: The component
power: Rgb[T] offset: Rgb[T] #: The constant component
power: Rgb[T] #: The exponential component
class FramecountTriple(NamedTuple): class FramecountTriple(NamedTuple):