neuralib.atlas.brainrender.probe.ProbeRenderCLI
- class neuralib.atlas.brainrender.probe.ProbeRenderCLI[source]
Bases:
BrainRenderCLIProbe track 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.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 (default: 'white')
camera_anglecamera angle (default: 'three_quarters')
coordinate_spacewhich coordinate space, by default ccf (default: 'ccf')
only show the histology dye parts (default: False)
multi-shank npy or csv file to be inferred
hemispherewhich hemisphere for rendering the region (default: 'both')
implant depth in um
loggerno_rootrender without root(brain) mesh (default: False)
outputoutput path for the html, if None, preview (default: None)
cutting orientation to infer the multi-shank label point/probe_idx (default: 'coronal')
print_nameprint acronym and the corresponding name (default: False)
print_treeprint tree for the available regions for the given source (default: False)
region_colorsregion(s) color (default: None)
regionsregion(s) name (default: ())
regions_alpharegion alpha value (default: 0.35)
remove reconstruction outside the brain (default: False)
root_alpharoot alpha (default: 0.35)
shader_styleShader style to use (default: 'plastic')
shank interval in um if multi-shank (default: None)
sourceatlas source name.
titletitle added to the top of the window (default: None)
tree_initinit region for the tree print (default: None)
video_outputvideo output path (default: None)
scene- DESCRIPTION: str | None = 'Probe track reconstruction with brainrender'
parser description. Could be override as a method if its content is dynamic-generated.
- GROUP_PROBE = 'Probe Option'
- implant_depth: int
implant depth in um
- shank_interval: int | None
shank interval in um if multi-shank (default: None)
- dye_label_only: bool
only show the histology dye parts (default: False)
- remove_outside_brain: bool
remove reconstruction outside the brain (default: False)
- file: Path
multi-shank npy or csv file to be inferred
- plane_type: Literal['coronal', 'sagittal', 'transverse']
cutting orientation to infer the multi-shank label point/probe_idx (default: ‘coronal’)