neuralib.atlas.brainrender.roi.RoiRenderCLI
- class neuralib.atlas.brainrender.roi.RoiRenderCLI[source]
Bases:
BrainRenderCLIROIs reconstruction with brainrender
- __init__()
Methods
__init__()export(reconstructor[, output, areas, alpha])Export reconstruction as html
get_atlas_brain_globe([check_latest])main([args, parse_only, system_exit])parsing the commandline input args and call
run().new_parser(**kwargs)create an
ArgumentParser.post_parsing()render()brainrender interactive
render_output()io handling.
run()called after
main()video_maker(output_file)generate video
Attributes
DEFAULT_REGION_COLORSparser description.
EPILOGparser epilog.
GROUP_OPTIONALGROUP_OUTPUTGROUP_REGIONGROUP_SETTINGSUSAGEparser usage.
annotationwhether draw point annotation.
backgroundbackground color
camera_anglecamera angle
csv output file from allenccf
coordinate_spacewhich coordinate space, by default ccf
points file as 'npy' or 'csv'
hemispherewhich hemisphere for rendering the region
inverse right/left maps to ipsi/contra hemisphere look up table
loggerno_rootrender without root(brain) mesh
outputoutput path for the html, if None, preview
print_nameprint acronym and the corresponding name
print_treeprint tree for the available regions for the given source
each roi radius
if None, auto infer, and check the lowest merge level contain all the regions specified
region_colorsregion(s) color
regionsregion(s) name
regions_alpharegion alpha value
region alpha value
colors of rois per region
only show rois in region(s)
root_alpharoot alpha
shader_styleShader style to use
sourceatlas source name.
source order to follow the roi_colors
titletitle added to the top of the window
tree_initinit region for the tree print
video_outputvideo output path
scene- DESCRIPTION: str = 'ROIs reconstruction with brainrender'
parser description. Could be override as a method if its content is dynamic-generated.
- DEFAULT_ROI_COLORS = ['orange', 'magenta', 'dimgray']
- GROUP_ROIS = 'ROI View Option'
- roi_region: str | tuple[str, ...]
only show rois in region(s)
- radius: float
each roi radius
- roi_alpha: float
region alpha value
- roi_colors: str | tuple[str, ...]
colors of rois per region
- region_col: str | None
if None, auto infer, and check the lowest merge level contain all the regions specified
- inverse_lut: bool
inverse right/left maps to ipsi/contra hemisphere look up table
- source_order: tuple[str, ...] | None
source order to follow the roi_colors
- GROUP_ROIS_LOAD = 'ROI load Option'
- classifier_file: Path | None
csv output file from allenccf
- file: list[Path] | None
points file as ‘npy’ or ‘csv’