From 751fba49d00fa8e47374514c333ce0138b6aaeb2 Mon Sep 17 00:00:00 2001 From: gurayerus Date: Thu, 19 Dec 2024 15:33:16 -0500 Subject: [PATCH] Edit video link; change to youtube --- docs2/api.rst | 22 ++++++++++++++++++++++ src/viewer/pages/tutorial_dlmuse.py | 6 ++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 docs2/api.rst diff --git a/docs2/api.rst b/docs2/api.rst new file mode 100644 index 0000000..fd4b5f9 --- /dev/null +++ b/docs2/api.rst @@ -0,0 +1,22 @@ +Developers - API +=========================== + +Submodules +---------- + df_muse = pd.DataFrame( + columns=['MRID', '702', '701', '600', '601', '...'], + data=[ + ['Subj1', '...', '...', '...', '...', '...'], + ['Subj2', '...', '...', '...', '...', '...'], + ['Subj3', '...', '...', '...', '...', '...'], + ['...', '...', '...', '...', '...', '...'] + ] + ) + st.markdown( + """ + ### DLMUSE File: + The DLMUSE CSV file contains volumes of ROIs (Regions of Interest) segmented by the DLMUSE algorithm. This file is generated as output when DLMUSE is applied to a set of images. + """ + ) + st.write('Example MUSE data file:') + st.dataframe(df_muse) diff --git a/src/viewer/pages/tutorial_dlmuse.py b/src/viewer/pages/tutorial_dlmuse.py index f88fa4b..38e0e61 100644 --- a/src/viewer/pages/tutorial_dlmuse.py +++ b/src/viewer/pages/tutorial_dlmuse.py @@ -69,7 +69,8 @@ def show_video(f_video): "videos", "nichart_vtutorial_smri_1.webm", ) - show_video(f_video) + url_video="https://youtu.be/RrnibCrNiHA" + show_video(url_video) st.markdown( """ @@ -86,7 +87,8 @@ def show_video(f_video): "videos", "nichart_vtutorial_smri_2.webm", ) - show_video(f_video) + url_video="https://youtu.be/aw5AK0UQtgo" + show_video(url_video) st.markdown( """