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

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