Skip to content

Commit f42b6c6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e67aa0a commit f42b6c6

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

examples/add_cylinder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
This example shows how to add a cylinder actor to a scene (e.g.
3-
to represent the location of an implanted optic canula)
2+
This example shows how to add a cylinder actor to a scene (e.g.
3+
to represent the location of an implanted optic canula)
44
"""
55

66
from brainrender import Scene, settings

examples/add_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
This example shows how to add a label to a renderend actor
2+
This example shows how to add a label to a renderend actor
33
"""
44

55
from pathlib import Path

examples/cell_density.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
This example shows how to use a PointsDensity
3-
actor to show the density of labelled cells
2+
This example shows how to use a PointsDensity
3+
actor to show the density of labelled cells
44
"""
55

66
import random

examples/custom_camera.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""
2-
This example shows how to create a scene and render it with a custom camera.
3-
This is done by specifying a dictionary of camera parameters, to get the
4-
parameters you need for your camera:
5-
- render an interactive scene with any camera
6-
- move the camera to where you need it to be
7-
- press 'c'
8-
- this will print the current camera parameters to your console. Copy paste the
9-
parameters in your script
2+
This example shows how to create a scene and render it with a custom camera.
3+
This is done by specifying a dictionary of camera parameters, to get the
4+
parameters you need for your camera:
5+
- render an interactive scene with any camera
6+
- move the camera to where you need it to be
7+
- press 'c'
8+
- this will print the current camera parameters to your console. Copy paste the
9+
parameters in your script
1010
"""
1111

1212
from pathlib import Path

examples/user_volumetric_data.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
"""
22
3-
This example shows how to render VOLUMETRIC data in brainrender.
4-
It uses data downloaded from: https://fishatlas.neuro.mpg.de/lines/
5-
showing gene expression for this transgenic line (brn3c:GPF): https://zfin.org/ZDB-ALT-050728-2
6-
7-
These data are a 3D image with orientation different from the axes system used by
8-
brainrender, so it has to be loaded and transposed to the correct orientation
9-
10-
This examples shows how to:
11-
- load volumetric data from a TIFF file
12-
- transpose the data with BrainGlobe Space to re-orient it
13-
- extract a mesh from the volumetric data using vedo
14-
- render the data
3+
This example shows how to render VOLUMETRIC data in brainrender.
4+
It uses data downloaded from: https://fishatlas.neuro.mpg.de/lines/
5+
showing gene expression for this transgenic line (brn3c:GPF): https://zfin.org/ZDB-ALT-050728-2
6+
7+
These data are a 3D image with orientation different from the axes system used by
8+
brainrender, so it has to be loaded and transposed to the correct orientation
9+
10+
This examples shows how to:
11+
- load volumetric data from a TIFF file
12+
- transpose the data with BrainGlobe Space to re-orient it
13+
- extract a mesh from the volumetric data using vedo
14+
- render the data
1515
1616
"""
1717

examples/volumetric_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""
2-
This example shows how to render volumetric (i.e. organized in voxel)
3-
data in brainrender. The data used are is the localized expression of
4-
'Gpr161' from the Allen Atlas database, downloaded with brainrender
5-
and saved to a numpy file
2+
This example shows how to render volumetric (i.e. organized in voxel)
3+
data in brainrender. The data used are is the localized expression of
4+
'Gpr161' from the Allen Atlas database, downloaded with brainrender
5+
and saved to a numpy file
66
"""
77

88
import numpy as np

0 commit comments

Comments
 (0)