Closed jkim0731 closed 1 year ago
Red is from 'valid' ROIs and yellow is from 'invalid' ROIs - the colors can be set as an input arg.
Can be run using the following lines of code:
Test brain_observatory_qc from brain_observatory_qc.visualizations.data_processing.ophys.cell_segmentation import draw_roi_outlines oeid = 1219594255 fig, ax = plt.subplots() ax = draw_roi_outlines(oeid, ax=ax, valid='all', colors=['r','y'], linewidth=0.5) ax.set_title(f'{oeid} - All ROIs')
from brain_observatory_qc.visualizations.data_processing.ophys.cell_segmentation import draw_roi_outlines oeid = 1219594255 fig, ax = plt.subplots() ax = draw_roi_outlines(oeid, ax=ax, valid='all', colors=['r','y'], linewidth=0.5) ax.set_title(f'{oeid} - All ROIs')
Added drawing suite2p results.
The functions to get paired plane oeid is from paired_plane_registration.py, but seems relevant to be in from_lims.
Red is from 'valid' ROIs and yellow is from 'invalid' ROIs - the colors can be set as an input arg.
Can be run using the following lines of code: