physt icon indicating copy to clipboard operation
physt copied to clipboard

Dtypes for bin contents

Open janpipek opened this issue 9 years ago • 3 comments

Support dtypes.

To do:

  • [x] Support for creation in Histogram1D
  • [x] Support for creation in HistogramND & calculate frequencies
  • [x] Loss-less arithmetics with constants
  • [x] Check fill, fill_n
  • [x] Addition of different types
  • [x] Support retyping (dtype=...)
  • [ ] More thorough testing
  • [ ] Document it properly

janpipek avatar Jul 11 '16 10:07 janpipek

Still broken

janpipek avatar Oct 02 '16 16:10 janpipek

What is the goal?

If you explicitly specify dtype in constructor, it should be observed. If you explicitly specify dtype in h1, it should be observed.

if dtype: < -- this returns False even when a type!

janpipek avatar Oct 02 '16 20:10 janpipek

802bb6c918a561cd4c5dd48b6ed87ab3fc3baa15 fixes some of the problems

janpipek avatar Jan 12 '17 14:01 janpipek