Last modified by makuadm on 2026-01-07 06:21

From version 27.1
edited by cpassow
on 2022-04-06 15:32
Change comment: There is no comment for this version
To version 4.1
edited by cpassow
on 2022-04-04 08:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -DEMO - Working with FLASH data
1 +DEMO - Documentation
Content
... ... @@ -1,223 +1,72 @@
1 -test
1 +(% style="list-style-type: square;" %)
2 +* Short descriptions including Links:
3 +(% style="list-style-type: square;" %)
4 +** GPFS
5 +** JupyterHub
6 +** conda ?
2 2  
3 -\\
8 +(% style="list-style-type: square;" %)
9 +* Links Repository
10 +(% style="list-style-type: square;" %)
11 +** including Method Description
4 4  
5 -{{expand}}
6 -
7 -
8 -{{view-file att--filename="tmp.mp4" height="250"/}}
9 -{{/expand}}
10 -
11 11  \\
12 12  
13 -\\
15 +(% style="list-style-type: square;" %)
16 +* Links to Binder
14 14  
15 -----
16 -
17 -=== TODO ===
18 -
19 -(% class="task-list" %)
20 -(((
21 -{{task reference="/Tasks/Task_18" status="InProgress"}}
22 -Short descriptions including Links:   → as Text\\
23 -
24 -(% class="task-list" %)
25 -(((
26 -
27 -
28 -{{task reference="/Tasks/Task_19" status="InProgress"}}
29 -GPFS
30 -{{/task}}
31 -
32 -{{task reference="/Tasks/Task_40" status="InProgress"}}
33 -Access rights
34 -{{/task}}
35 -
36 -{{task reference="/Tasks/Task_41" status="InProgress"}}
37 -Gamma Portal
38 -{{/task}}
39 -
40 -{{task reference="/Tasks/Task_42" status="InProgress"}}
41 -Maxwell
42 -{{/task}}
43 -
44 -{{task reference="/Tasks/Task_20" status="InProgress"}}
45 -JupyterHub
46 -{{/task}}
47 -
48 -{{task reference="/Tasks/Task_21" status="InProgress"}}
49 -conda ?
50 -{{/task}}
51 -
52 -{{task reference="/Tasks/Task_36" status="InProgress"}}
53 -explain install from channel instead of fixed environment, but can use environment file from example repository
54 -{{/task}}
55 -)))
56 -{{/task}}
57 -)))
58 -
59 59  \\
60 60  
61 -(% class="task-list" %)
62 -(((
63 -{{task reference="/Tasks/Task_22" status="InProgress"}}
64 -distribution
65 -
66 -(% class="task-list" %)
67 -(((
68 -
69 -
70 -{{task reference="/Tasks/Task_23" status="InProgress"}}
71 -channel  (where to host?)
72 -{{/task}}
73 -
74 -{{task reference="/Tasks/Task_24" status="InProgress"}}
75 -environment file (repository with examples)
76 -{{/task}}
77 -)))
78 -{{/task}}
79 -)))
80 -
81 81  \\
82 82  
83 -(% class="task-list" %)
84 -(((
85 -{{task reference="/Tasks/Task_25" status="InProgress"}}
86 -Documentation
22 +Questions:
87 87  
88 -(% class="task-list" %)
89 -(((
90 -
24 +(% style="list-style-type: square;" %)
25 +* for whom
26 +* where Maxwell / local / extern
27 +* distribution\\
28 +(% style="list-style-type: square;" %)
29 +** channel?
30 +(% style="list-style-type: square;" %)
31 +*** where official hosted (DESY, privat, conda-forge)
32 +** enviroment?
33 +(% style="list-style-type: square;" %)
34 +*** via files / already created?
91 91  
92 -{{task reference="/Tasks/Task_26" status="InProgress"}}
93 -here VS repository VS sphinx
94 -{{/task}}
95 -)))
96 -{{/task}}
97 -)))
98 -
99 99  \\
100 100  
101 -(% class="task-list" %)
102 -(((
103 -{{task reference="/Tasks/Task_27" status="InProgress"}}
104 -Binder
105 -
106 -(% class="task-list" %)
107 -(((
108 -
109 -
110 -{{task reference="/Tasks/Task_28" status="InProgress"}}
111 -examples with Stefan
112 -{{/task}}
113 -)))
114 -{{/task}}
115 -)))
116 -
117 -\\
118 -
119 -(% class="task-list" %)
120 -(((
121 -{{task reference="/Tasks/Task_29" status="InProgress"}}
122 -Screencast
123 -
124 -(% class="task-list" %)
125 -(((
126 -
127 -
128 -{{task reference="/Tasks/Task_30" status="InProgress"}}
129 -login in jupyter hub
130 -{{/task}}
131 -
132 -{{task reference="/Tasks/Task_31" status="InProgress"}}
133 -login maxwell display
134 -{{/task}}
135 -
136 -{{task reference="/Tasks/Task_32" status="InProgress"}}
137 -use slix
138 -{{/task}}
139 -
140 -{{task reference="/Tasks/Task_33" status="InProgress"}}
141 -use hdfview plugin in jupterLab
142 -{{/task}}
143 -
144 -{{task reference="/Tasks/Task_34" status="InProgress"}}
145 -create conda env with flashh5
146 -{{/task}}
147 -)))
148 -{{/task}}
149 -)))
150 -
151 -\\
152 -
153 -\\
154 -
155 -----
156 -
157 -==== under review ====
158 -
159 -\\
160 -
161 -{{code language="bash"}}
162 -conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher
163 -source activate flashh5
164 -conda install ipython numpy pandas #TODO: fix dependcies
165 -conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5
166 -
167 -## on jhub
168 -conda install ipykernel
169 -python -m ipykernel install --user --name flashh5 --display-name "flashh5"
170 -
171 -
172 -## to remove on jhub
173 -## delete from: /home/$USER/.local/share/jupyter/kernels/
174 -{{/code}}
175 -
176 -\\
177 -
178 -{{code language="py" title="moved to repository?"}}
38 +{{code language="py"}}
179 179  class RunDirectory:
180 180  
181 - def get_run_table(): # more or less information? RunComment | Number of Files | start & stop time ?
41 + def get_run_table(self):
182 182   ...
183 183  
184 - def get_run(daq, run_number): # daq is not needed!
185 -
44 + def get_run(self, daq, run_number):
186 186   ...
187 187  
188 188  
189 -class Run: # constructor optional without RunDirectory or use there self.path
48 +class Run:
190 190  
191 - def get_files():
50 + def get_files(self):
192 192   ...
193 193  
194 - def get_channels(): # of file #1
53 + def get_channels(self): # of file #1?
195 195   ...
196 196  
197 - def get_start_time(): # better as attribute?
56 + def get_start_time(self):
198 198   ...
199 199  
200 - def get_stop_time(): # which? | better as attribute?
59 + def get_stop_time(self): # which?
201 201   ...
202 -
203 - def to_df(daq_map): # to_df(daq_map, slice) slice=[0:4] -> throw Exception
61 +
62 + def to_df(self, channel_dict):
204 204   ...
205 205  
206 - def to_series(channel):
65 + def to_series(self, channel):
207 207   ...
208 208  
209 - def to_array(channel):
68 + def to_array(self, channel):
210 210   ...
211 211  {{/code}}
212 212  
213 -{{code language="py" title="ideas"}}
214 -run.to_df(daq_map)
215 -run.to_series(daq_adr or daq_map) # on channel only?
216 -run.to_array(daq_adr) # on channel only?
217 -
218 -## interesting?
219 -# run.to_dask(daq_map)
220 -# run.to_xarray(daq_map)
221 -{{/code}}
222 -
223 223  \\