-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image array size doesn't match image1:ArraySize0 * image1:ArraySize1 #13
Comments
The size of the array in the NDStdArrays plugin (image1:ArraySize0_RBV x image1:ArraySize1_RBV) is not necessarily the same as the camera itself (cam1:ArraySizeX_RBV, x cam1:ArraySizeY_RBV) because there could be an ROI plugin, etc. in-between. It should be using the dimensions from the stdArrays I have not use ophyd so I don't know the details here. ophyd should only be requesting or using the number of elements image1:ArraySize0_RBV x image1:ArraySize1_RBV. |
Hi Mark, my understanding of the internals here is limited; I'm still learning EPICS. I think my issue here is that the array I'm getting back from Only as a curiosity, |
Hi Ron, I discussed this briefly with Dan and Tom yesterday. I think you should probably contact them directly. |
@ronpandolfi @mrakitin and I discussed this yesterday. I believe that Ron is seeing the expected behavior. He gets a numpy array which is of the size |
I'm trying to use ophyd's
shaped_image
DerivedSignal, but I'm getting this error:I can see that
...image1.shaped_image._shape[0]
maps to...image1:ArraySize1_RBV
. These PVs don't match the size of the image (confirmed with caget).Rather,
...cam1:ArraySizeX_RBV
and...cam1:ArraySizeX_RBV
seem to match the shape of the image (2050,1152).Is this an issue with the configuration of the detector, or the IOC?
The text was updated successfully, but these errors were encountered: