Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wela
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
wela
Commits
89a7167f
Commit
89a7167f
authored
2 months ago
by
pswain
Browse files
Options
Downloads
Patches
Plain Diff
change(run_wela): tpt_end -> tp_end
parent
63ffcb2e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/run_wela.py
+6
-8
6 additions, 8 deletions
examples/run_wela.py
with
6 additions
and
8 deletions
examples/run_wela.py
+
6
−
8
View file @
89a7167f
...
...
@@ -7,7 +7,7 @@ from wela.imageviewer import ImageViewer, get_h5files
from
wela.plotting
import
kymograph
from
wela.sorting
import
sort_by_budding
h5dir
=
"
/home/ianyang/alibylite/data/
"
#
C
hange to your h5 directory
h5dir
=
"
/home/ianyang/alibylite/data/
"
#
c
hange to your h5 directory
omids
=
[
"
469_2022_11_15_morph_5cham_hog1_lte1_htb2_vph1_bud3_01
"
,
# "2003_2024_01_29_2pc_switch_00",
...
...
@@ -21,7 +21,7 @@ server_info = {
}
view
=
True
# pick the experiment to analyse
omid
=
469
# expt_id e.g. 469
omid
=
469
# expt_id e.g.
,
469
# 1. Run with view=True to check visually that aliby has worked correctly.
# 2. Set key_index, the signal you are most interested in.
...
...
@@ -33,13 +33,11 @@ if view:
position
=
h5files
[
0
]
h5file
=
f
"
{
h5dir
}{
omero_name
}
/
{
position
}
"
iv
=
ImageViewer
.
remote
(
h5file
,
server_info
,
omid
)
tp
t
_end
=
10
tp_end
=
10
no_cells
=
6
iv
.
view
(
trap_ids
=
iv
.
sample_traps_with_cells
(
tpt_end
=
tpt_end
,
no_cells
=
no_cells
),
tpt_end
=
tpt_end
,
trap_ids
=
iv
.
sample_traps_with_cells
(
tp_end
=
tp_end
,
no_cells
=
no_cells
),
tpt_end
=
tp_end
,
channels_to_skip
=
[
"
cy5
"
],
no_rows
=
2
,
)
...
...
@@ -66,4 +64,4 @@ else:
# plot means
sns
.
relplot
(
data
=
dl
.
df
,
x
=
"
time
"
,
y
=
key_index
,
kind
=
"
line
"
,
hue
=
"
group
"
)
plt
.
show
()
\ No newline at end of file
plt
.
show
()
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