Skip to content

Commit

Permalink
feat(devices): add crop offset x and y to camera
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaloop committed Aug 5, 2024
1 parent 4ce2140 commit 1ea794f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aind_data_schema/components/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ class Detector(Device):
bin_height: Optional[int] = Field(default=None, title="Bin height")
bin_unit: SizeUnit = Field(default=SizeUnit.PX, title="Bin size unit")
gain: Optional[Decimal] = Field(default=None, title="Gain")
crop_offset_x: Optional[int] = Field(default=None, title="Crop offset x")
crop_offset_y: Optional[int] = Field(default=None, title="Crop offset y")
crop_width: Optional[int] = Field(default=None, title="Crop width")
crop_height: Optional[int] = Field(default=None, title="Crop width")
crop_unit: SizeUnit = Field(default=SizeUnit.PX, title="Crop size unit")
Expand Down

0 comments on commit 1ea794f

Please sign in to comment.