Skip to content
Snippets Groups Projects
Commit 89a7167f authored by pswain's avatar pswain
Browse files

change(run_wela): tpt_end -> tp_end

parent 63ffcb2e
No related branches found
No related tags found
No related merge requests found
......@@ -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/" # Change to your h5 directory
h5dir = "/home/ianyang/alibylite/data/" # change 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)
tpt_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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment