Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
platy-browser-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian Tischer
platy-browser-data
Commits
27cf4bff
Commit
27cf4bff
authored
5 years ago
by
Constantin Pape
Browse files
Options
Downloads
Patches
Plain Diff
Update neuron trace extraction
parent
c4ff87ad
Branches
segmentation_sources
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/export/extract_neuron_traces.py
+2
-2
2 additions, 2 deletions
scripts/export/extract_neuron_traces.py
segmentation/cell_segmentation.py
+1
-1
1 addition, 1 deletion
segmentation/cell_segmentation.py
segmentation/neuron_traces.py
+5
-5
5 additions, 5 deletions
segmentation/neuron_traces.py
with
8 additions
and
8 deletions
scripts/export/extract_neuron_traces.py
+
2
−
2
View file @
27cf4bff
...
...
@@ -4,7 +4,7 @@ from glob import glob
import
numpy
as
np
import
h5py
import
elf.skelet
i
on.io
as
skio
import
elf.skeleton.io
as
skio
from
skimage.draw
import
circle
from
pybdv
import
convert_to_bdv
...
...
@@ -96,7 +96,7 @@ def make_seg_and_scale(traces, reference_vol_path, reference_scale, seg_out_path
res
=
get_resolution
(
reference_scale
)
# the circle radius we write out
radius
=
10
radius
=
5
max_id
=
np
.
iinfo
(
'
int16
'
).
max
...
...
This diff is collapsed.
Click to expand it.
segmentation/cell_segmentation.py
+
1
−
1
View file @
27cf4bff
...
...
@@ -9,7 +9,7 @@ def run_workflow():
target
=
'
slurm
'
use_curated_affs
=
False
use_lmc
=
Fals
e
use_lmc
=
Tru
e
workflow
(
use_curated_affs
,
use_lmc
,
target
)
...
...
This diff is collapsed.
Click to expand it.
segmentation/neuron_traces.py
+
5
−
5
View file @
27cf4bff
...
...
@@ -3,13 +3,13 @@ from scripts.export import extract_neuron_traces
def
export_test_traces
():
folder
=
''
ref_path
=
''
seg_out_path
=
''
table_out_path
=
''
folder
=
'
/g/kreshuk/data/arendt/platyneris_v1/tracings
'
ref_path
=
'
../data/rawdata/sbem-6dpf-1-whole-raw.h5
'
seg_out_path
=
'
./sbem-6dpf-1-whole-traces.xml
'
table_out_path
=
'
./sbem-6dpf-1-whole-traces-table-default.xml
'
tmp_folder
=
'
./tmp_traces
'
extract_neuron_traces
(
folder
,
ref_path
,
seg_out_path
,
table_out_path
,
tmp_folder
)
if
__name__
==
'
__main__
'
:
export_test_traces
export_test_traces
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment