Skip to content

Commit

Permalink
util: add calcfast to evalglare
Browse files Browse the repository at this point in the history
  • Loading branch information
taoning committed Oct 30, 2024
1 parent 6b88e7b commit 5f53eb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyradiance/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def evalglare(
search_radius: float = 0.2,
version: bool = False,
source_color: Optional[tuple[float, float, float]] = None,
fast: Optional[int] = None,
):
"""Run evalglare on a Radiance image.
Expand Down Expand Up @@ -80,6 +81,8 @@ def evalglare(
cmd.extend(["-i", str(ev)])
else:
cmd.extend(["-I", *map(str, ev)])
if fast is not None:
cmd.append(f"-{fast}")
if view is not None:
cmd.extend(view)
if check_file is not None:
Expand Down

0 comments on commit 5f53eb3

Please sign in to comment.