Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
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
Swain Lab
aliby
alibylite
Commits
52292710
Commit
52292710
authored
2 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
docs(tiler): add typing; rename t to frame
parent
2e988b4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aliby/tile/tiler.py
+5
-5
5 additions, 5 deletions
aliby/tile/tiler.py
with
5 additions
and
5 deletions
aliby/tile/tiler.py
+
5
−
5
View file @
52292710
...
...
@@ -17,10 +17,10 @@ The image-processing is performed by traps/segment_traps.
The experiment is stored as an array wuth a standard indexing order of (Time, Channels, Z-stack, Y, X).
"""
import
typing
as
t
import
warnings
from
functools
import
lru_cache
from
pathlib
import
PosixPath
from
typing
import
Union
import
dask.array
as
da
import
h5py
...
...
@@ -256,8 +256,8 @@ class Tiler(ProcessABC):
@classmethod
def
from_hdf5
(
cls
,
image
:
Union
[
Image
,
ImageLocal
],
filepath
:
Union
[
str
,
PosixPath
],
image
:
t
.
Union
[
Image
,
ImageLocal
],
filepath
:
t
.
Union
[
str
,
PosixPath
],
parameters
:
TilerParameters
=
None
,
):
"""
...
...
@@ -480,8 +480,8 @@ class Tiler(ProcessABC):
"""
if
time_dim
is
None
:
time_dim
=
0
for
t
in
range
(
self
.
image
.
shape
[
time_dim
]):
self
.
run_tp
(
t
)
for
frame
in
range
(
self
.
image
.
shape
[
time_dim
]):
self
.
run_tp
(
frame
)
return
None
# The next set of functions are necessary for the extraction object
...
...
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