Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 36067ab

Browse files
committed
added example
1 parent fcbb21f commit 36067ab

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

README.rst

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,25 @@ Once Ultraliser_ is installed, run the following ``bash`` commands:
2121

2222
.. code-block:: bash
2323
24-
git clone https://github.com/BlueBrain/atlas-placement-hints
25-
cd atlas-placement-hints
26-
pip install -e .
24+
pip install atlas-placement-hints
25+
26+
Examples
27+
========
28+
29+
To generate the placement hints datasets for the isocortex, one can do the following:
30+
31+
Note that the required datasets under `data/*` can be generated by following the example in `atlas-splitter`_.
32+
33+
Also note, depending on the resolution of the volume, this may require significant amounts of available RAM).
34+
35+
.. code-block:: bash
2736
37+
atlas-placement-hints isocortex \
38+
--hierarchy-path data/ccfv3/split_hierarcy.json \
39+
--annotation-path data/ccfv3/split_annotations.nrrd \
40+
--direction-vectors-path data/ccfv3/direction_vectors.nrrd \
41+
--algorithm voxel-based \
42+
--output-dir data/
2843
2944
Instructions for developers
3045
===========================
@@ -39,8 +54,6 @@ Run the following commands before submitting your code for review:
3954
4055
These formatting operations will help you pass the linting check `testenv:lint` defined in `tox.ini`.
4156

42-
.. _Ultraliser: https://github.com/BlueBrain/Ultraliser
43-
4457
Acknowledgements
4558
================
4659

@@ -49,3 +62,7 @@ The development of this software was supported by funding to the Blue Brain Proj
4962
For license and authors, see LICENSE.txt and AUTHORS.txt respectively.
5063

5164
Copyright © 2022 Blue Brain Project/EPFL
65+
66+
.. _Ultraliser: https://github.com/BlueBrain/Ultraliser
67+
.. _`atlas-splitter`: https://github.com/BlueBrain/atlas-splitter
68+

0 commit comments

Comments
 (0)