Changes for page DEMO - Working with FLASH data
Last modified by makuadm on 2026-01-07 06:21
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,11 +7,5 @@ 1 -test 2 - 3 ----- 4 - 5 -=== TODO === 6 - 7 7 (% style="list-style-type: square;" %) 8 -* Short descriptions including Links: → as Text\\2 +* Short descriptions including Links: 9 9 (% style="list-style-type: square;" %) 10 10 ** GPFS 11 11 ** JupyterHub ... ... @@ -13,70 +13,59 @@ 13 13 14 14 \\ 15 15 16 -* distribution 17 -** channel (where to host?) 18 -** environment file (repository with examples) 19 - 20 -\\ 21 - 22 22 (% style="list-style-type: square;" %) 23 -* Documentation11 +* Links Repository 24 24 (% style="list-style-type: square;" %) 25 -** hereVS repositoryvssphinx13 +** including Method Description? 26 26 27 27 \\ 28 28 29 29 (% style="list-style-type: square;" %) 30 -* Binder 31 -(% style="list-style-type: square;" %) 32 -** examples with Stefan 18 +* Links to Binder 33 33 34 34 \\ 35 35 36 -(% style="list-style-type: square;" %) 37 -* Screencast 38 -(% style="list-style-type: square;" %) 39 -** login in jupyter hub 40 -** login maxwell display 41 -** use slix 42 -** use hdfview plugin in jupterLab 43 -** create conda env with flashh5 44 - 45 45 \\ 46 46 47 - \\24 +Questions: 48 48 49 ----- 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? 50 50 51 -==== under review ==== 52 - 53 53 \\ 54 54 55 55 {{code language="bash"}} 56 -conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher41 +conda create -n flashh5 python=3.10 57 57 source activate flashh5 58 -conda install ipython numpy pandas #TODO:fix dependcies43 +conda install ipython numpy pandas # fix dependcies 59 59 conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5 60 60 61 61 ## on jhub 62 -conda install ipykernel 63 63 python -m ipykernel install --user --name flashh5 --display-name "flashh5" 64 64 65 65 66 -## to remove on jhub 67 -## delete from: /home/$USER/.local/share/jupyter/kernels/ 68 68 {{/code}} 69 69 70 70 \\ 71 71 54 +\\ 55 + 72 72 {{code language="py" title="moved to repository?"}} 73 73 class RunDirectory: 74 74 75 - def get_run_table(): # more or less information? RunComment | Number of Files | start & stop time ?59 + def get_run_table(): 76 76 ... 77 77 78 - def get_run(daq, run_number): # daq is not needed! 79 - 62 + def get_run(daq, run_number): 80 80 ... 81 81 82 82 ... ... @@ -85,7 +85,7 @@ 85 85 def get_files(): 86 86 ... 87 87 88 - def get_channels(): # of file #1 71 + def get_channels(): # of file #1? 89 89 ... 90 90 91 91 def get_start_time(): # better as attribute? ... ... @@ -93,8 +93,8 @@ 93 93 94 94 def get_stop_time(): # which? | better as attribute? 95 95 ... 96 - 97 - def to_df( daq_map):# to_df(daq_map, slice) slice=[0:4] -> throw Exception79 + 80 + def to_df(channel_map): 98 98 ... 99 99 100 100 def to_series(channel): ... ... @@ -105,13 +105,13 @@ 105 105 {{/code}} 106 106 107 107 {{code language="py" title="ideas"}} 108 -run.to_df( daq_map)109 -run.to_series( daq_adr ordaq_map) # on channel only?110 -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? 111 111 112 -## interesting? 113 -# run.to_dask(d aq_map)114 -# run.to_xarray(d aq_map)95 +## is this interesting? 96 +# run.to_dask(dict) 97 +# run.to_xarray(dict) 115 115 {{/code}} 116 116 117 117 \\