Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NutriMorph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
DEBREUVE Eric
NutriMorph
Commits
249c17f4
Commit
249c17f4
authored
5 years ago
by
DEBREUVE Eric
Browse files
Options
Downloads
Patches
Plain Diff
added notation file
parent
222db8a0
No related branches found
No related tags found
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
__notations__.txt
+13
-0
13 additions, 0 deletions
__notations__.txt
extension.py
+1
-6
1 addition, 6 deletions
extension.py
glial_cmp.py
+2
-0
2 additions, 0 deletions
glial_cmp.py
main.py
+2
-2
2 additions, 2 deletions
main.py
soma.py
+0
-4
0 additions, 4 deletions
soma.py
type.py
+1
-1
1 addition, 1 deletion
type.py
with
19 additions
and
13 deletions
__notations__.txt
0 → 100644
+
13
−
0
View file @
249c17f4
som=soma
ext=extension
map=binary, int8 or uint8 array (/!\ python keyword; map_ used instead)
bmp=boolean map
lmp=labeled map (intXX or uintXX array)
ep=extension end point, or extremity (e.g. ep_bmp)
n=number of (e.g. n_somas)
nfo=info (e.g. som_nfo)
tintegers=tuple of integers
This diff is collapsed.
Click to expand it.
extension.py
+
1
−
6
View file @
249c17f4
...
...
@@ -19,12 +19,7 @@ min_area_c = 100
class
extension_t
(
glial_cmp_t
):
#
# bmp=boolean map
# lmp=labeled map (intXX or uintXX array)
# map=extension map (map=binary, int8 or uint8 array))
# ep_=end point
# soma_uid: connected to a soma somewhere upstream (as opposed to downstream extensions)
# extensions: downstream (as opposed to being upstreamed connected)
# soma_uid: connected to a soma somewhere upstream
#
__slots__
=
(
"
scales
"
,
"
end_points
"
,
"
soma_uid
"
,
"
__cache__
"
)
...
...
This diff is collapsed.
Click to expand it.
glial_cmp.py
+
2
−
0
View file @
249c17f4
...
...
@@ -8,6 +8,8 @@ import numpy as np_
class
glial_cmp_t
:
#
# extensions: connected downstream (i.e. going away from the soma)
#
__slots__
=
(
"
uid
"
,
"
sites
"
,
"
connection_path
"
,
"
extensions
"
,
"
img_shape
"
)
...
...
This diff is collapsed.
Click to expand it.
main.py
+
2
−
2
View file @
249c17f4
...
...
@@ -32,8 +32,8 @@ costs = 1.0 / (image + 1.0)
# --- Initialization
som_nfo
=
{}
# som=soma, nfo=info
ext_nfo
=
{}
# ext=extension, nfo=info
som_nfo
=
{}
ext_nfo
=
{}
axes
=
{}
# n_somas = 0
...
...
This diff is collapsed.
Click to expand it.
soma.py
+
0
−
4
View file @
249c17f4
...
...
@@ -19,10 +19,6 @@ som_ext_path_t = namedtuple_t("som_ext_path_t", "extension length path idx")
class
soma_t
(
glial_cmp_t
):
#
# bmp=boolean map
# lmp=labeled map (intXX or uintXX array)
# map=extension map (map=binary, int8 or uint8 array))
#
__slots__
=
(
"
contour_points
"
,)
...
...
This diff is collapsed.
Click to expand it.
type.py
+
1
−
1
View file @
249c17f4
...
...
@@ -5,7 +5,7 @@ import numpy as np_
array_t
=
np_
.
ndarray
tintegers_h
=
Tuple
[
int
,
...]
# tintegers=tuple of integers
tintegers_h
=
Tuple
[
int
,
...]
number_h
=
Union
[
int
,
float
]
...
...
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