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
-
... ... @@ -5,12 +5,10 @@ 5 5 ** JupyterHub 6 6 ** conda ? 7 7 8 -\\ 9 - 10 10 (% style="list-style-type: square;" %) 11 11 * Links Repository 12 12 (% style="list-style-type: square;" %) 13 -** including Method Description ?11 +** including Method Description 14 14 15 15 \\ 16 16 ... ... @@ -26,75 +26,4 @@ 26 26 (% style="list-style-type: square;" %) 27 27 * for whom 28 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? 37 - 38 -\\ 39 - 40 -{{code language="bash"}} 41 -conda create -n flashh5 python=3.10 42 -source activate flashh5 43 -conda install ipython numpy pandas # fix dependcies 44 -conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5 45 - 46 -## on jhub 47 -python -m ipykernel install --user --name flashh5 --display-name "flashh5" 48 - 49 - 50 -{{/code}} 51 - 52 -\\ 53 - 54 -\\ 55 - 56 -{{code language="py" title="moved to repository?"}} 57 -class RunDirectory: 58 - 59 - def get_run_table(): 60 - ... 61 - 62 - def get_run(daq, run_number): 63 - ... 64 - 65 - 66 -class Run: 67 - 68 - def get_files(): 69 - ... 70 - 71 - def get_channels(): # of file #1? 72 - ... 73 - 74 - def get_start_time(): # better as attribute? 75 - ... 76 - 77 - def get_stop_time(): # which? | better as attribute? 78 - ... 79 - 80 - def to_df(channel_map): 81 - ... 82 - 83 - def to_series(channel): 84 - ... 85 - 86 - def to_array(channel): 87 - ... 88 -{{/code}} 89 - 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? 94 - 95 -## is this interesting? 96 -# run.to_dask(dict) 97 -# run.to_xarray(dict) 98 -{{/code}} 99 - 100 -\\ 27 +* distribution