Changes for page DEMO - Working with FLASH data
Last modified by makuadm on 2026-01-07 06:21
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -DEMO - Documentation1 +DEMO - Working with FLASH data - Content
-
... ... @@ -1,74 +1,185 @@ 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 8 8 \\ 9 9 10 -(% style="list-style-type: square;" %) 11 -* Links Repository 12 -(% style="list-style-type: square;" %) 13 -** including Method Description? 5 +{{expand}} 14 14 7 + 8 +{{view-file att--filename="tmp.mp4" height="250"/}} 9 +{{/expand}} 10 + 15 15 \\ 16 16 17 -(% style="list-style-type: square;" %) 18 -* Links to Binder 13 +\\ 19 19 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 + 20 20 \\ 21 21 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 + 22 22 \\ 23 23 24 -Questions: 71 +(% class="task-list" %) 72 +((( 73 +{{task reference="/Tasks/Task_25" status="InProgress"}} 74 +Documentation 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? 76 +(% class="task-list" %) 77 +((( 78 + 37 37 80 +{{task reference="/Tasks/Task_26" status="InProgress"}} 81 +here VS repository VS sphinx 82 +{{/task}} 83 +))) 84 +{{/task}} 85 +))) 86 + 38 38 \\ 39 39 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 + 40 40 {{code language="bash"}} 41 -conda create -n flashh5 python=3.10 150 +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 152 +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 156 +conda install ipykernel 47 47 python -m ipykernel install --user --name flashh5 --display-name "flashh5" 48 48 49 49 160 +## to remove on jhub 161 +## 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(): 169 + 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): 172 + def get_run(daq, run_number): # daq is not needed! 173 + 63 63 ... 64 64 65 65 66 -class Run: 177 +class Run: # constructor optional without RunDirectory or use there self.path 67 67 68 68 def get_files(): 69 69 ... 70 70 71 - def get_channels(): # of file #1 ?182 + 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):190 + 191 + 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_stringorchannel_map) # on channel only?93 -run.to_array( channel_string) # on channel only?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? 94 94 95 -## i s this interesting?96 -# run.to_dask(d ict)97 -# run.to_xarray(d ict)206 +## interesting? 207 +# run.to_dask(daq_map) 208 +# run.to_xarray(daq_map) 98 98 {{/code}} 99 99 100 100 \\