Skip to content
Snippets Groups Projects
Commit 446b1dfd authored by Sharon Yates's avatar Sharon Yates
Browse files

Add flat files to test data

parent a23fb790
No related branches found
No related tags found
No related merge requests found
Showing
with 8 additions and 1 deletion
snr name segmented changed stable%
1 test_s001.png 64578 2991 95%
2 test_s002.png 83702 34124 59%
3 test_s003.png 93593 67152 28%
4 test_s004.png 97022 44431 54%
5 test_s005.png 92810 90411 2%
File added
tests/test_data/nonlinear_allen_mouse/flat_files/test_s001_nl.png

7.76 KiB

tests/test_data/nonlinear_allen_mouse/flat_files/test_s001_nl_rbw.png

9.61 KiB

File added
tests/test_data/nonlinear_allen_mouse/flat_files/test_s002_nl.png

9.13 KiB

tests/test_data/nonlinear_allen_mouse/flat_files/test_s002_nl_rbw.png

13.3 KiB

File added
tests/test_data/nonlinear_allen_mouse/flat_files/test_s003_nl.png

12.1 KiB

tests/test_data/nonlinear_allen_mouse/flat_files/test_s003_nl_rbw.png

17.1 KiB

File added
tests/test_data/nonlinear_allen_mouse/flat_files/test_s004_nl.png

13.7 KiB

tests/test_data/nonlinear_allen_mouse/flat_files/test_s004_nl_rbw.png

18.2 KiB

File added
tests/test_data/nonlinear_allen_mouse/flat_files/test_s005_nl.png

11 KiB

tests/test_data/nonlinear_allen_mouse/flat_files/test_s005_nl_rbw.png

15.1 KiB

......@@ -12,6 +12,7 @@ from PyNutil import PyNutil
###The atlas_path is the path to the relevant atlas.nrrd
###The label_path is the path to the corresponding atlas .csv
###The object_cutoff is a cut-off for min object size
### get_coordinates, if use_flat=True, place flat files in folder titled "flat_files" at same level as "segmentations" folder
pnt = PyNutil(
segmentation_folder="../tests/test_data/linear_allen_mouse/",
......@@ -20,6 +21,6 @@ pnt = PyNutil(
atlas_path="../tests/test_data/allen_mouse_2017_atlas/annotation_25_reoriented_2017.nrrd",
label_path="../tests/test_data/allen_mouse_2017_atlas//allen2017_colours.csv",
)
pnt.get_coordinates(object_cutoff=0)
pnt.get_coordinates(object_cutoff=0, use_flat=True)
pnt.quantify_coordinates()
pnt.save_analysis("../test_result/test_linear_allen_mouse")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment