Jan-Lukas Wynen

Results 76 comments of Jan-Lukas Wynen

Thanks for the insight. Here is a little update: We have uploaded a conan recipe to our in-house server: https://artifactoryconan.esss.dk/artifactory/webapp/#/artifacts/browse/tree/General/scipp/scipp/LLNL-Units/0.5.0/stable We chose this solution because it simplifies testing. But we...

Tested with switched args, it doesn't work. But this is because the rest of `approximate_polygon` assumes the current argument order. It is possible to make additional modifications and recover the...

What is the utility of adding a named function? As I see it, the only reason to have `np.flip` is to specify an axis by rank programmatically. E.g., `np.flip(a, n)`...

It could also be similar to binned data where it looks like array-of-structure but is implemented as structure-of-array. Though we should probably keep matrix and vector elements together in one...

> Would you convert to an unaligned coord, such that you can still to da - da.max()? Yes, I'd think so. This is akin to indexing into an element where...

Possibly. I need to correct my initial list of functions where this can be used: `median` may return the average of two elements if there is an even number. So...

We already embed the CSS in every cell that uses the repr.

Pretty sure the dtype shouldn't. Otherwise, code that checks dtypes also has to check for `data.bins is None` in many places.

My argument is the other way around. Using `dtype == float` would be true for binned float data.

This is not all that easy. We only use signed integers, and bitwise operations are not always well defined on those. See in particular the 'Built-in bitwise shift operators' section...