Skip to content

Commit

Permalink
Update basic_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sharoncy committed Nov 7, 2024
1 parent c6bf283 commit a23fb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/basic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
###The alignment json should be out of DeepSlice, QuickNII, or VisuAlign, it defines the sections position in an atlas
###The colour says which colour is the object you want to quantify in your segmentation. It is defined in RGB
###Finally the atlas name is the relevant atlas from brainglobe_atlasapi you wish to use in Quantification.

### get_coordinates, if use_flat=True, place flat files in folder titled "flat_files" at same level as "segmentations" folder .flat or .seg

pnt = PyNutil(
segmentation_folder="../tests/test_data/nonlinear_allen_mouse/",
alignment_json="../tests/test_data/nonlinear_allen_mouse/alignment.json",
colour=[0, 0, 0],
atlas_name="allen_mouse_25um",
)
pnt.get_coordinates(object_cutoff=0)
pnt.get_coordinates(object_cutoff=0, use_flat=True)
pnt.quantify_coordinates()

0 comments on commit a23fb79

Please sign in to comment.