Downsample labeled segmentations by taking the mode of 2x2 blocks using only Python and numpy. This was first used in a pipeline for generating MIP levels on AI segmentations of brain tissue. (more…)
Read more »
An extremely fast Python linter and code formatter, written in Rust. - astral-sh/ruff... (more…)
Read more »
Python packaging is hard (I will spare you that xkcd). But it can be manageable if you’ve hit your head on the wall enough times to know what to do and what to avoid. (more…)
Read more »
Man, I wish there was a way to split this opened file into smaller subfiles to read any part of it independently! (more…)
Read more »
We've been experimenting with breaking up employees into random groups (of size 4) and setting up video hangouts between them. We're doing this to replace the serendipitous meetings that sometimes occur around coffee machines, in lunch lines or while wait... (more…)
Read more »