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

From version 20.1
edited by cpassow
on 2022-04-04 15:18
Change comment: There is no comment for this version
To version 4.1
edited by cpassow
on 2022-04-04 08:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,16 +1,14 @@
1 1  (% style="list-style-type: square;" %)
2 -* Short descriptions including Links:   → as Text\\
2 +* Short descriptions including Links:
3 3  (% style="list-style-type: square;" %)
4 4  ** GPFS
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: Readme or Sphinx ?
11 +** including Method Description
14 14  
15 15  \\
16 16  
... ... @@ -19,85 +19,56 @@
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;" %)
25 +* for whom
26 +* where Maxwell / local / extern
32 32  * distribution\\
33 33  (% style="list-style-type: square;" %)
34 -** channel
35 -** enviroment → as example for binder
29 +** channel?
30 +(% style="list-style-type: square;" %)
31 +*** where official hosted (DESY, privat, conda-forge)
32 +** enviroment?
33 +(% style="list-style-type: square;" %)
34 +*** via files / already created?
36 36  
37 37  \\
38 38  
39 -{{code language="bash"}}
40 -conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher
41 -source activate flashh5
42 -conda install ipython numpy pandas #TODO: fix dependcies
43 -conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5
44 -
45 -## on jhub
46 -conda install ipykernel
47 -python -m ipykernel install --user --name flashh5 --display-name "flashh5"
48 -
49 -
50 -## to remove on jhub
51 -## delete from: /home/$USER/.local/share/jupyter/kernels/
52 -{{/code}}
53 -
54 -\\
55 -
56 -{{code language="py" title="moved to repository?"}}
38 +{{code language="py"}}
57 57  class RunDirectory:
58 58  
59 - def get_run_table(): # more or less information? RunComment | Number of Files
41 + def get_run_table(self):
60 60   ...
61 61  
62 - def get_run(daq, run_number): # daq is not needed
44 + def get_run(self, daq, run_number):
63 63   ...
64 64  
65 65  
66 66  class Run:
67 67  
68 - def get_files():
50 + def get_files(self):
69 69   ...
70 70  
71 - def get_channels(): # of file #1
53 + def get_channels(self): # of file #1?
72 72   ...
73 73  
74 - def get_start_time(): # better as attribute?
56 + def get_start_time(self):
75 75   ...
76 76  
77 - def get_stop_time(): # which? | better as attribute?
59 + def get_stop_time(self): # which?
78 78   ...
79 79  
80 -### for following methods to restrict number of files or separate method
81 -### e.g. create_df(files)
82 -
83 - def to_df(daq_map): # to_df(daq_map, slice) slice=[0:4] -> throw Exception
62 + def to_df(self, channel_dict):
84 84   ...
85 85  
86 - def to_series(channel):
65 + def to_series(self, channel):
87 87   ...
88 88  
89 - def to_array(channel):
68 + def to_array(self, channel):
90 90   ...
91 91  {{/code}}
92 92  
93 -{{code language="py" title="ideas"}}
94 -run.to_df(daq_map)
95 -run.to_series(daq_adr or daq_map) # on channel only?
96 -run.to_array(daq_adr) # on channel only?
97 -
98 -## is this interesting?
99 -# run.to_dask(daq_map)
100 -# run.to_xarray(daq_map)
101 -{{/code}}
102 -
103 103  \\