Skip to content

Commit

Permalink
Merge pull request #390 from imcclenahan/main
Browse files Browse the repository at this point in the history
Update AOI options for Andor Sona
  • Loading branch information
marktsuchida authored Oct 11, 2023
2 parents 1d41fde + e946965 commit cd54a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DeviceAdapters/AndorSDK3/AOIProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ void TAOIProperty::populateWidthMaps(bool fullAoiControl)

if (fullAoiControl)
{
auto height = sensor_height_->Get();
aoiWidthIndexMap_[2560] = 0;
aoiWidthHeightMap_[2560] = 2160;
aoiWidthIndexMap_[2048] = 1;
aoiWidthHeightMap_[2048] = 2048;
aoiWidthHeightMap_[2048] = (height > 2046) ? 2048 : 2046 ;
aoiWidthIndexMap_[1920] = 2;
aoiWidthHeightMap_[1920] = 1080;
aoiWidthIndexMap_[1400] = 3;
Expand Down

0 comments on commit cd54a39

Please sign in to comment.