/ Published in: Python
bounding values
Expand |
Embed | Plain Text
newbyte = min( max(newbyte,a_min), a_max ) #or newbyte.clip( min=a_min, max=a_max )
You need to login to post a comment.
bounding values
newbyte = min( max(newbyte,a_min), a_max ) #or newbyte.clip( min=a_min, max=a_max )
You need to login to post a comment.