Add limits to noise level, sample density and downsample

This commit is contained in:
Joe Knapper 2026-03-02 19:55:21 +00:00 committed by Julian Stirling
parent 06f12973f4
commit 99b9b0f3d6
2 changed files with 4 additions and 2 deletions

View file

@ -274,7 +274,7 @@ class BaseCamera(lt.Thing):
"CameraThings must define their own capture_array method"
)
downsampled_array_factor: int = lt.property(default=2)
downsampled_array_factor: int = lt.property(default=2, ge=1)
"""The downsampling factor when calling capture_downsampled_array."""
@lt.action