Changes for page DEMO - Working with FLASH data
Last modified by sndueste on 2025-04-23 14:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,10 +5,12 @@ 5 5 ** JupyterHub 6 6 ** conda ? 7 7 8 +\\ 9 + 8 8 (% style="list-style-type: square;" %) 9 9 * Links Repository 10 10 (% style="list-style-type: square;" %) 11 -** including Method Description 13 +** including Method Description? 12 12 13 13 \\ 14 14 ... ... @@ -35,6 +35,22 @@ 35 35 36 36 \\ 37 37 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 + 38 38 {{code language="py" title="moved to repository?"}} 39 39 class RunDirectory: 40 40 ... ... @@ -53,10 +53,10 @@ 53 53 def get_channels(): # of file #1? 54 54 ... 55 55 56 - def get_start_time(): 74 + def get_start_time(): # better as attribute? 57 57 ... 58 58 59 - def get_stop_time(): # which? 77 + def get_stop_time(): # which? | better as attribute? 60 60 ... 61 61 62 62 def to_df(channel_map): ... ... @@ -74,6 +74,7 @@ 74 74 run.to_series(channel_string or channel_map) # on channel only? 75 75 run.to_array(channel_string) # on channel only? 76 76 95 +## is this interesting? 77 77 # run.to_dask(dict) 78 78 # run.to_xarray(dict) 79 79 {{/code}}