Skip to content

Allow binning if PARAM_BINNING_* is not defined#56

Merged
tomhanak merged 1 commit intoPhotometrics:masterfrom
fujiisoup:allow_binning
Jun 4, 2025
Merged

Allow binning if PARAM_BINNING_* is not defined#56
tomhanak merged 1 commit intoPhotometrics:masterfrom
fujiisoup:allow_binning

Conversation

@fujiisoup
Copy link
Contributor

Hello everyone,

The Photon Max 512 supports arbitrary binning sizes, but because it doesn’t expose PARAM_BINNING_SER or PARAM_BINNING_PAR, PyVCAM currently blocks any calls to set bin_X or bin_Y.

This PR updates the binning‐validation logic so that if those properties are missing, we simply skip the range check and allow arbitrary binning.

I’ve only been able to test this on the Photon Max 512, so I’m not certain how it might affect other models. Any feedback or suggestions on potential side effects would be greatly appreciated!

Thanks for reviewing.

@tomhanak tomhanak merged commit a7485f0 into Photometrics:master Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants