I thought about it as well. Can't NumPy create a custom type which user can set for his needs. It will be usefull because of lack memory. For example I work with data from zero to 1e-6 or to 1e-8 with double prcision and not more. So I could save usefull memory.
29.03.2021, 22:11, "Joseph Fox-Rabinovitz" <jfoxrabinov...@gmail.com>:
,You can view any array as uint8On Mon, Mar 29, 2021, 14:27 Rashiq Azhan <rashiqaz...@gmail.com> wrote:I would like this feature to be added since I think it can very useful
when there is a need to process data that cannot be included in uint8.
One of my personal requirements is modifying a 10-bit, per channel,
images held in a NumPy array but I cannot do t using the specified
functions. They are eloquent solution and works well with the with
NumPy functions as long as the data is uint8.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion