Last modified by makuadm on 2026-01-07 06:21

From version 16.1
edited by cpassow
on 2022-04-04 11:37
Change comment: There is no comment for this version
To version 9.1
edited by cpassow
on 2022-04-04 09:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,13 +19,8 @@
19 19  
20 20  \\
21 21  
22 -(% style="list-style-type: square;" %)
23 -* Screencast
24 -
25 25  \\
26 26  
27 -\\
28 -
29 29  Questions:
30 30  
31 31  (% style="list-style-type: square;" %)
... ... @@ -45,27 +45,26 @@
45 45  {{code language="bash"}}
46 46  conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher
47 47  source activate flashh5
48 -conda install ipython numpy pandas #TODO: fix dependcies
43 +conda install ipython numpy pandas # fix dependcies
49 49  conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5
50 50  
51 51  ## on jhub
52 -conda install ipykernel
53 53  python -m ipykernel install --user --name flashh5 --display-name "flashh5"
54 54  
55 55  
56 -## to remove on jhub
57 -## delete from: /home/$USER/.local/share/jupyter/kernels/
58 58  {{/code}}
59 59  
60 60  \\
61 61  
54 +\\
55 +
62 62  {{code language="py" title="moved to repository?"}}
63 63  class RunDirectory:
64 64  
65 - def get_run_table(): # more or less information? RunComment
59 + def get_run_table():
66 66   ...
67 67  
68 - def get_run(daq, run_number): # daq is not needed
62 + def get_run(daq, run_number):
69 69   ...
70 70  
71 71  
... ... @@ -83,10 +83,7 @@
83 83   def get_stop_time(): # which? | better as attribute?
84 84   ...
85 85  
86 -### for following methods to restrict number of files or separate method
87 -### e.g. create_df(files)
88 -
89 - def to_df(daq_map):
80 + def to_df(channel_map):
90 90   ...
91 91  
92 92   def to_series(channel):
... ... @@ -97,13 +97,13 @@
97 97  {{/code}}
98 98  
99 99  {{code language="py" title="ideas"}}
100 -run.to_df(daq_map)
101 -run.to_series(daq_adr or daq_map) # on channel only?
102 -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?
103 103  
104 104  ## is this interesting?
105 -# run.to_dask(daq_map)
106 -# run.to_xarray(daq_map)
96 +# run.to_dask(dict)
97 +# run.to_xarray(dict)
107 107  {{/code}}
108 108  
109 109  \\