Talley Lambert
Talley Lambert
I can't remember. I'm not sure it's necessarily work that needs to be done as much as agreement on APIs, etc
I'll resolve the conflicts today
conflicts resolved!
@brisvag, it would be great if you could pick this up. I don't really remember the details and am no longer invested in the outcome
Hi @fjorka let's first explore our memory profiling options. I just created a script and ran using [memory_profiler](https://github.com/pythonprofilers/memory_profiler). ```py # script.py import nd2 from memory_profiler import profile import numpy as...
thanks! I downloaded it. You know... one thing that is probably important to mention here, which I should have thought of earlier... is that nd2 files are not (natively) chunked...
> Something in lines of that would be a nice addition to this library. Thanks @elgw, this feature is being tracked at https://github.com/tlambert03/nd2/issues/85
hey @ptbrown1729, I'm so sorry this one slipped through the cracks. I suspect you've long moved on to something that works for you. You're absolutely correct that using even sized...
Hey @gatoniel, Actually, it looks like this is already possible in the current nd2 library, but you need to do it in a specific way: There is a method in...
sure, you can use something like [`np.ravel_multi_index`](https://numpy.org/doc/stable/reference/generated/numpy.ravel_multi_index.html). There is a private method that does this here: https://github.com/tlambert03/nd2/blob/eb4bf8f17bbf6e97458ffc55254b353c393e813c/src/nd2/nd2file.py#L935-L938 so, for your example size `{'T': 30, 'P': 5, 'C': 2, 'Y': 21044,...