Commit 91827423 authored by vertighel's avatar vertighel
Browse files

cameras.ini: fix scicam2 half/small_frame off-by-one (nPixelsX=4007, not 4008)



x1=4008 in half_frame/small_frame exceeded the KAI-11002's actual active
width (4007, confirmed via get_properties() on hardware), causing
ArtemisSubframe to reject the call with ARTEMIS_INVALID_PARAMETER.

Co-Authored-By: default avatarClaude Sonnet 5 <noreply@anthropic.com>
parent 7adae9be
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,8 +43,8 @@ pixel_scale = 0.283
orientation = -60
# spettrografo long-slit: la finestra ritaglia solo in Y, tutta la
# larghezza del sensore (KAI-11002, 4008x2672) resta leggibile.
half_frame  = 0, 668, 4008, 2004
small_frame = 0, 1500, 4008, 2000
half_frame  = 0, 668, 4007, 2004
small_frame = 0, 1500, 4007, 2000

[scicam3]
role        = sci