JavedA commited on
Commit
5ce9c54
1 Parent(s): 7518ae2

working version

Browse files
.gitignore CHANGED
@@ -14,4 +14,5 @@ index*
14
  # *.npz
15
  /.quarto/
16
  my.txt
17
- LLM.txt
 
 
14
  # *.npz
15
  /.quarto/
16
  my.txt
17
+ LLM.txt
18
+ Output/
Data/12_Each_Page/right_Nav copy.qmd ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ <script>
4
+ console.log("Right Nav script is found and activated");
5
+ </script>
6
+
7
+
8
+ <div id="popper_Tooltip_Gen">
9
+ Feel free to share your thoughts
10
+ <div id="pop_Arrow_Gen" data-popper-arrow></div>
11
+ </div>
12
+
13
+ <!-- Production version -->
14
+ <script src="https://unpkg.com/@popperjs/core@2"></script>
15
+
16
+ <!-- load external javascript-code -->
17
+ <!--these loads is required since the path from where the access to the scripts happens varies-->
18
+ <!-- <script src="../../../Web_Code/Js/lotti_Sidebar_Anim.js"></script> -->
19
+ <!-- <script src="../../Web_Code/Js/lotti_Sidebar_Anim.js"></script>
20
+ <script src="../Web_Code/Js/lotti_Sidebar_Anim.js"></script>
21
+ <script src="./Web_Code/Js/lotti_Sidebar_Anim.js"></script> -->
22
+
23
+ <script src="/Web_Code/Js/popper_Tooltip_General.js"></script>
24
+ <script src="/Web_Code/Js/lotti_Sidebar_Anim.js"></script>
25
+
26
+ <!-- <script src="../../../Web_Code/Js/popper_Tooltip_General.js"></script> -->
27
+ <!-- <script src="../../Web_Code/Js/popper_Tooltip_General.js"></script>
28
+ <script src="../Web_Code/Js/popper_Tooltip_General.js"></script>
29
+ <script src="./Web_Code/Js/popper_Tooltip_General.js"></script> -->
30
+
31
+ <!-- documentation: https://docs.lottiefiles.com/dotlottie-player/ -->j
32
+ <script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.js"></script>
33
+
34
+ <dotlottie-player
35
+ id="lotti_Anim_Each_Page"
36
+ mode="normal"
37
+ style="max-height:15rem"
38
+ background="transparent"
39
+ speed="1"
40
+ >
41
+ </dotlottie-player>
42
+
43
+ <script>
44
+ // get acceess to the right sidebar
45
+ const quartoMarginSidebar = document.getElementById("quarto-margin-sidebar");
46
+
47
+ // generate a place where the lotti animation shall be placed
48
+ const player = document.getElementById('lotti_Anim_Each_Page');
49
+
50
+ // take it from the previous position an move it to the new posistion --> removed prom previous DOM pos
51
+ quartoMarginSidebar.insertBefore(player, quartoMarginSidebar.firstChild);
52
+
53
+
54
+ /* --------------------------- get Feedback <p><a> -------------------------- */
55
+ // Create a new <p> element
56
+ const button_Elem = document.createElement('button');
57
+
58
+ // Create a new <a> element
59
+ const aElement = document.createElement('a');
60
+
61
+ // Set the href attribute of the <a> element
62
+ aElement.href = 'https://discord.gg/EEsXp39DaA';
63
+ aElement.id = 'feedback_A';
64
+ button_Elem.id = 'feedback_Button';
65
+
66
+ // button_Elem.setAttribute("aria-describedby","popper_Tooltip_Gen");
67
+ // aElement.setAttribute("aria-describedby","popper_Tooltip_Gen");
68
+
69
+ // Set the text content of the <a> element
70
+ const linkText = document.createElement('span');
71
+ linkText.textContent = 'Share your thoughts';
72
+
73
+ // Create a new SVG element
74
+ const svgElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
75
+ svgElement.setAttribute('viewBox', '0 0 512 512'); // set the viewBox attribute to define the SVG size
76
+ svgElement.setAttribute('class', 'ionicon'); // set the class attribute to apply any CSS styles
77
+ svgElement.setAttribute('width', '2rem'); // set the width attribute to scale the SVG
78
+ svgElement.setAttribute('height', '2rem'); // set the height attribute to scale the SVG
79
+
80
+ // Set the content of the SVG element to the contents of the SVG file
81
+ svgElement.innerHTML = `<!-- see https://ionic.io/ionicons/
82
+ see <ion-icon name="chatbox-ellipses-outline"></ion-icon> -->
83
+ <path d="M408 64H104a56.16 56.16 0 00-56 56v192a56.16 56.16 0 0056 56h40v80l93.72-78.14a8 8 0 015.13-1.86H408a56.16 56.16 0 0056-56V120a56.16 56.16 0 00-56-56z" fill="none" stroke="#ecff7f" stroke-linejoin="round" stroke-width="32" />
84
+ <circle cx="160" cy="216" r="32" fill="#ecff7f" />
85
+ <circle cx="256" cy="216" r="32" fill="#ecff7f" />
86
+ <circle cx="352" cy="216" r="32" fill="#ecff7f" />`;
87
+
88
+
89
+ // Append the SVG element to the <a> element
90
+ aElement.appendChild(linkText);
91
+ aElement.appendChild(svgElement);
92
+
93
+ // Append the <a> element to the <p> element
94
+ button_Elem.appendChild(aElement);
95
+ quartoMarginSidebar.insertBefore(button_Elem, player.nextSibling);
96
+
97
+ // see: https://lottiefiles.com/129292-aeroplane-flying?lang=de
98
+ player.load('https://assets3.lottiefiles.com/packages/lf20_FsI2nYFYMo.json');
99
+ player.loop = false;
100
+
101
+ var second_Anim = false;
102
+
103
+ // Add event listener for click event
104
+ player.addEventListener('click', () => {
105
+ player.play();
106
+ complete_Check(second_Anim);
107
+
108
+ });
109
+
110
+
111
+ const popcorn = document.querySelector('#feedback_Button');
112
+ const tooltip = document.querySelector('#popper_Tooltip_Gen');
113
+
114
+ const popperInstance = Popper.createPopper(popcorn, tooltip, {
115
+ placement: 'top',
116
+ modifiers: [
117
+ {
118
+ name: 'offset',
119
+ options: {
120
+ offset: [0, 8],
121
+ },
122
+ },
123
+ ],
124
+ });
125
+
126
+ run_Pop(popcorn);
127
+
128
+ </script>
129
+
130
+
131
+
Data/12_Each_Page/right_Nav.qmd CHANGED
@@ -14,9 +14,10 @@ console.log("Right Nav script is found and activated");
14
  <script src="https://unpkg.com/@popperjs/core@2"></script>
15
 
16
  <!-- load external javascript-code -->
17
- <script src="../../../Web_Code/Js/lotti_Sidebar_Anim.js"></script>
 
18
 
19
- <script src="../../../Web_Code/Js/popper_Tooltip_General.js"></script>
20
 
21
  <!-- documentation: https://docs.lottiefiles.com/dotlottie-player/ -->
22
  <script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.js"></script>
 
14
  <script src="https://unpkg.com/@popperjs/core@2"></script>
15
 
16
  <!-- load external javascript-code -->
17
+ <!--these loads is required since the path from where the access to the scripts happens varies-->
18
+ <script src="/Web_Code/Js/lotti_Sidebar_Anim.js"></script>
19
 
20
+ <script src="/Web_Code/Js/popper_Tooltip_General.js"></script>
21
 
22
  <!-- documentation: https://docs.lottiefiles.com/dotlottie-player/ -->
23
  <script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.js"></script>
Data/1_Writing/2_Task/2_Clustering.qmd CHANGED
@@ -13,9 +13,6 @@ The $F(\vec{\beta})$ and cluster-algorithm specific parameters are filtered and
13
  <!-- % ============================================== -->
14
  ![Data and workflow of the second step: Clustering](../../3_Figs_Pyth/2_Task/9_Clust.svg){#fig-fig_12_Clust}
15
 
16
- <!--%-->
17
- <!--%-->
18
-
19
  Data clustering is an unsupervised machine learning technique.
20
  There are a variety of approaches that may be used for this, e.g.,
21
  k-means, affinity propagation, mean shift,
 
13
  <!-- % ============================================== -->
14
  ![Data and workflow of the second step: Clustering](../../3_Figs_Pyth/2_Task/9_Clust.svg){#fig-fig_12_Clust}
15
 
 
 
 
16
  Data clustering is an unsupervised machine learning technique.
17
  There are a variety of approaches that may be used for this, e.g.,
18
  k-means, affinity propagation, mean shift,
Data/1_Writing/2_Task/3_Tracking.qmd CHANGED
@@ -90,4 +90,4 @@ The third method was based on the sequence of the labels.
90
  The idea was that the order of the movement from one centroid to another centroid is known. In other terms, if the current position is at centroid $c_i$ and the next position for centroid $c_{i+1}$ is known. Assuming that the sequences across the $\vec{\beta}$ should be very similar to each other, a majority vote should return the correct tracking results. It can be recorded that this was not the case and the approach was dismissed.\newline
91
 
92
  {{< include 4_Track_Workflow.qmd >}}
93
- {{< include 5_Track_Validity.qmd >}}
 
90
  The idea was that the order of the movement from one centroid to another centroid is known. In other terms, if the current position is at centroid $c_i$ and the next position for centroid $c_{i+1}$ is known. Assuming that the sequences across the $\vec{\beta}$ should be very similar to each other, a majority vote should return the correct tracking results. It can be recorded that this was not the case and the approach was dismissed.\newline
91
 
92
  {{< include 4_Track_Workflow.qmd >}}
93
+ {{< include 5_Track_Validity.qmd >}}
Data/1_Writing/2_Task/4_Track_Workflow.qmd CHANGED
@@ -1,15 +1,12 @@
 
1
  After having explained 3 methods, which did not lead to a satisfactory outcome, the data and workflow of the final successful approach shall be presented.
2
  First very concisely, followed by an in-depth account.
3
  For that, figure @fig-fig_24_Tracking_Workflow shall be analyzed.
4
  The initial input is obtained through *settings.py*, where execution, storage and plotting attributes are defined.
5
  For the further sub-steps, it shall be noted that the index big O stands for output of the respective sub-step.
6
- The clustered results from step two, described in section [@sec_2_3_Clustering] are used as input for the so-called ordering step.
7
  The ordered state can be stored and plotted if desired and exploited to calculate a cost matrix $\boldsymbol A (\vec{\beta})$. \newline
8
 
9
- <!-- % =============================================================================-->
10
- <!-- % ================ Tracking Workflow ==========================================-->
11
- <!-- % =============================================================================-->
12
- <!-- NOTE - sideway -->
13
  ![General data and workflow overview of the third step, tracking](../../3_Figs_Pyth/2_Task/1_Tracking/3_Track.svg){#fig-fig_24_Tracking_Workflow}
14
 
15
  The tracking demand is applied on $\boldsymbol A (\vec{\beta})$, e.g., each row element must be matched to exactly one column element with the constraint that their additive sum is minimized.
 
1
+
2
  After having explained 3 methods, which did not lead to a satisfactory outcome, the data and workflow of the final successful approach shall be presented.
3
  First very concisely, followed by an in-depth account.
4
  For that, figure @fig-fig_24_Tracking_Workflow shall be analyzed.
5
  The initial input is obtained through *settings.py*, where execution, storage and plotting attributes are defined.
6
  For the further sub-steps, it shall be noted that the index big O stands for output of the respective sub-step.
7
+ The clustered results from step two, described in section [-@sec-sec_2_3_Clustering] are used as input for the so-called ordering step.
8
  The ordered state can be stored and plotted if desired and exploited to calculate a cost matrix $\boldsymbol A (\vec{\beta})$. \newline
9
 
 
 
 
 
10
  ![General data and workflow overview of the third step, tracking](../../3_Figs_Pyth/2_Task/1_Tracking/3_Track.svg){#fig-fig_24_Tracking_Workflow}
11
 
12
  The tracking demand is applied on $\boldsymbol A (\vec{\beta})$, e.g., each row element must be matched to exactly one column element with the constraint that their additive sum is minimized.
_quarto.yml CHANGED
@@ -2,6 +2,7 @@
2
  # https://quarto.org/docs/reference/projects/books.html
3
  project:
4
  type: book
 
5
 
6
  # HTML library (JS/CSS/etc.) directory
7
  # lib-dir: ["Web_Code/CSS/", "Web_Code/Js"]
 
2
  # https://quarto.org/docs/reference/projects/books.html
3
  project:
4
  type: book
5
+ output-dir: Output/docs
6
 
7
  # HTML library (JS/CSS/etc.) directory
8
  # lib-dir: ["Web_Code/CSS/", "Web_Code/Js"]