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
-
... ... @@ -40,20 +40,19 @@ 40 40 {{code language="bash"}} 41 41 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 #TODO:fix dependcies43 +conda install ipython numpy pandas # fix dependcies 44 44 conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5 45 45 46 46 ## on jhub 47 -conda install ipykernel 48 48 python -m ipykernel install --user --name flashh5 --display-name "flashh5" 49 49 50 50 51 -## to remove on jhub 52 -## delete from: /home/$USER/.local/share/jupyter/kernels/ 53 53 {{/code}} 54 54 55 55 \\ 56 56 54 +\\ 55 + 57 57 {{code language="py" title="moved to repository?"}} 58 58 class RunDirectory: 59 59 ... ... @@ -78,10 +78,7 @@ 78 78 def get_stop_time(): # which? | better as attribute? 79 79 ... 80 80 81 -### for following methods to restrict number of files or separate method 82 -### e.g. create_df(files) 83 - 84 - def to_df(daq_map): 80 + def to_df(channel_map): 85 85 ... 86 86 87 87 def to_series(channel): ... ... @@ -92,13 +92,13 @@ 92 92 {{/code}} 93 93 94 94 {{code language="py" title="ideas"}} 95 -run.to_df( daq_map)96 -run.to_series( daq_adr ordaq_map) # on channel only?97 -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? 98 98 99 99 ## is this interesting? 100 -# run.to_dask(d aq_map)101 -# run.to_xarray(d aq_map)96 +# run.to_dask(dict) 97 +# run.to_xarray(dict) 102 102 {{/code}} 103 103 104 104 \\