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

From version 26.1
edited by cpassow
on 2022-04-06 15:31
Change comment: There is no comment for this version
To version 7.1
edited by cpassow
on 2022-04-04 09:12
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,194 +1,65 @@
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_20" status="InProgress"}}
33 -JupyterHub
34 -{{/task}}
35 -
36 -{{task reference="/Tasks/Task_21" status="InProgress"}}
37 -conda ?
38 -{{/task}}
39 -
40 -{{task reference="/Tasks/Task_36" status="InProgress"}}
41 -explain install from channel instead of fixed environment, but can use environment file from example repository
42 -{{/task}}
43 -)))
44 -{{/task}}
45 -)))
46 -
47 47  \\
48 48  
49 -(% class="task-list" %)
50 -(((
51 -{{task reference="/Tasks/Task_22" status="InProgress"}}
52 -distribution
53 -
54 -(% class="task-list" %)
55 -(((
56 -
57 -
58 -{{task reference="/Tasks/Task_23" status="InProgress"}}
59 -channel  (where to host?)
60 -{{/task}}
61 -
62 -{{task reference="/Tasks/Task_24" status="InProgress"}}
63 -environment file (repository with examples)
64 -{{/task}}
65 -)))
66 -{{/task}}
67 -)))
68 -
69 69  \\
70 70  
71 -(% class="task-list" %)
72 -(((
73 -{{task reference="/Tasks/Task_25" status="InProgress"}}
74 -Documentation
22 +Questions:
75 75  
76 -(% class="task-list" %)
77 -(((
78 -
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?
79 79  
80 -{{task reference="/Tasks/Task_26" status="InProgress"}}
81 -here VS repository VS sphinx
82 -{{/task}}
83 -)))
84 -{{/task}}
85 -)))
86 -
87 87  \\
88 88  
89 -(% class="task-list" %)
90 -(((
91 -{{task reference="/Tasks/Task_27" status="InProgress"}}
92 -Binder
93 -
94 -(% class="task-list" %)
95 -(((
96 -
97 -
98 -{{task reference="/Tasks/Task_28" status="InProgress"}}
99 -examples with Stefan
100 -{{/task}}
101 -)))
102 -{{/task}}
103 -)))
104 -
105 -\\
106 -
107 -(% class="task-list" %)
108 -(((
109 -{{task reference="/Tasks/Task_29" status="InProgress"}}
110 -Screencast
111 -
112 -(% class="task-list" %)
113 -(((
114 -
115 -
116 -{{task reference="/Tasks/Task_30" status="InProgress"}}
117 -login in jupyter hub
118 -{{/task}}
119 -
120 -{{task reference="/Tasks/Task_31" status="InProgress"}}
121 -login maxwell display
122 -{{/task}}
123 -
124 -{{task reference="/Tasks/Task_32" status="InProgress"}}
125 -use slix
126 -{{/task}}
127 -
128 -{{task reference="/Tasks/Task_33" status="InProgress"}}
129 -use hdfview plugin in jupterLab
130 -{{/task}}
131 -
132 -{{task reference="/Tasks/Task_34" status="InProgress"}}
133 -create conda env with flashh5
134 -{{/task}}
135 -)))
136 -{{/task}}
137 -)))
138 -
139 -\\
140 -
141 -\\
142 -
143 -----
144 -
145 -==== under review ====
146 -
147 -\\
148 -
149 -{{code language="bash"}}
150 -conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher
151 -source activate flashh5
152 -conda install ipython numpy pandas #TODO: fix dependcies
153 -conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5
154 -
155 -## on jhub
156 -conda install ipykernel
157 -python -m ipykernel install --user --name flashh5 --display-name "flashh5"
158 -
159 -
160 -## to remove on jhub
161 -## delete from: /home/$USER/.local/share/jupyter/kernels/
162 -{{/code}}
163 -
164 -\\
165 -
166 166  {{code language="py" title="moved to repository?"}}
167 167  class RunDirectory:
168 168  
169 - def get_run_table(): # more or less information? RunComment | Number of Files | start & stop time ?
41 + def get_run_table():
170 170   ...
171 171  
172 - def get_run(daq, run_number): # daq is not needed!
173 -
44 + def get_run(daq, run_number):
174 174   ...
175 175  
176 176  
177 -class Run: # constructor optional without RunDirectory or use there self.path
48 +class Run:
178 178  
179 179   def get_files():
180 180   ...
181 181  
182 - def get_channels(): # of file #1
53 + def get_channels(): # of file #1?
183 183   ...
184 184  
185 - def get_start_time(): # better as attribute?
56 + def get_start_time():
186 186   ...
187 187  
188 - def get_stop_time(): # which? | better as attribute?
59 + def get_stop_time(): # which?
189 189   ...
190 -
191 - def to_df(daq_map): # to_df(daq_map, slice) slice=[0:4] -> throw Exception
61 +
62 + def to_df(channel_map):
192 192   ...
193 193  
194 194   def to_series(channel):
... ... @@ -199,13 +199,12 @@
199 199  {{/code}}
200 200  
201 201  {{code language="py" title="ideas"}}
202 -run.to_df(daq_map)
203 -run.to_series(daq_adr or daq_map) # on channel only?
204 -run.to_array(daq_adr) # on channel only?
73 +run.to_df(channel_map)
74 +run.to_series(channel_string or channel_map) # on channel only?
75 +run.to_array(channel_string) # on channel only?
205 205  
206 -## interesting?
207 -# run.to_dask(daq_map)
208 -# run.to_xarray(daq_map)
77 +# run.to_dask(dict)
78 +# run.to_xarray(dict)
209 209  {{/code}}
210 210  
211 211  \\