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

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