Skip to content

Draft: Zoom Task analysis tools

William Roper requested to merge zoom_analysis_tools into zoom_merge

A draft for now but open for comment. See below for examples.

This PR implements writing the cell type, subtype and depth into the thread_info_* files. The former of these is implemented in plot_tasks.py such that a user can flag --celltype to split tasks based on cell type.

I've also implemented plot_tasks_subset.py which allows you to filter based on cell type, subtype, and minimum depth.

There's some fairly serious code duplication across all of this but not sure if it's worth making a module from which functions can be imported, would require a bit of a rewrite.

I've also implemented a random HSV colour rather than the colour cycle but I'm not sold on it. It does work a bit better for large task numbers but it's still not particularly easy to identify different tasks based on colour when you have a lot.

Note: I've been testing this on the zoom_maketasks branch.

Edited by William Roper

Merge request reports