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

From version 8.1
edited by cpassow
on 2022-04-04 09:29
Change comment: There is no comment for this version
To version 24.1
edited by cpassow
on 2022-04-05 17:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -DEMO - Documentation
1 +DEMO - Working with FLASH data
Content
... ... @@ -1,74 +1,173 @@
1 -(% style="list-style-type: square;" %)
2 -* Short descriptions including Links:
3 -(% style="list-style-type: square;" %)
4 -** GPFS
5 -** JupyterHub
6 -** conda ?
1 +test
7 7  
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 +
8 8  \\
9 9  
10 -(% style="list-style-type: square;" %)
11 -* Links Repository
12 -(% style="list-style-type: square;" %)
13 -** including Method Description?
37 +(% class="task-list" %)
38 +(((
39 +{{task reference="/Tasks/Task_22" status="InProgress"}}
40 +distribution
14 14  
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 +
15 15  \\
16 16  
17 -(% style="list-style-type: square;" %)
18 -* Links to Binder
59 +(% class="task-list" %)
60 +(((
61 +{{task reference="/Tasks/Task_25" status="InProgress"}}
62 +Documentation
19 19  
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 +
20 20  \\
21 21  
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 +
22 22  \\
23 23  
24 -Questions:
95 +(% class="task-list" %)
96 +(((
97 +{{task reference="/Tasks/Task_29" status="InProgress"}}
98 +Screencast
25 25  
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?
100 +(% class="task-list" %)
101 +(((
102 +
37 37  
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 +
38 38  \\
39 39  
129 +\\
130 +
131 +----
132 +
133 +==== under review ====
134 +
135 +\\
136 +
40 40  {{code language="bash"}}
41 -conda create -n flashh5 python=3.10
138 +conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher
42 42  source activate flashh5
43 -conda install ipython numpy pandas # fix dependcies
140 +conda install ipython numpy pandas #TODO: fix dependcies
44 44  conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5
45 45  
46 46  ## on jhub
144 +conda install ipykernel
47 47  python -m ipykernel install --user --name flashh5 --display-name "flashh5"
48 48  
49 49  
148 +## to remove on jhub
149 +## delete from: /home/$USER/.local/share/jupyter/kernels/
50 50  {{/code}}
51 51  
52 52  \\
53 53  
54 -\\
55 -
56 56  {{code language="py" title="moved to repository?"}}
57 57  class RunDirectory:
58 58  
59 - def get_run_table():
157 + def get_run_table(): # more or less information? RunComment | Number of Files | start & stop time ?
60 60   ...
61 61  
62 - def get_run(daq, run_number):
160 + def get_run(daq, run_number): # daq is not needed!
161 +
63 63   ...
64 64  
65 65  
66 -class Run:
165 +class Run: # constructor optional without RunDirectory
67 67  
68 68   def get_files():
69 69   ...
70 70  
71 - def get_channels(): # of file #1?
170 + def get_channels(): # of file #1
72 72   ...
73 73  
74 74   def get_start_time(): # better as attribute?
... ... @@ -76,8 +76,8 @@
76 76  
77 77   def get_stop_time(): # which? | better as attribute?
78 78   ...
79 -
80 - def to_df(channel_map):
178 +
179 + def to_df(daq_map): # to_df(daq_map, slice) slice=[0:4] -> throw Exception
81 81   ...
82 82  
83 83   def to_series(channel):
... ... @@ -88,13 +88,13 @@
88 88  {{/code}}
89 89  
90 90  {{code language="py" title="ideas"}}
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?
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?
94 94  
95 -## is this interesting?
96 -# run.to_dask(dict)
97 -# run.to_xarray(dict)
194 +## interesting?
195 +# run.to_dask(daq_map)
196 +# run.to_xarray(daq_map)
98 98  {{/code}}
99 99  
100 100  \\