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

From version 9.1
edited by cpassow
on 2022-04-04 09:31
Change comment: There is no comment for this version
To version 20.1
edited by cpassow
on 2022-04-04 15:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="list-style-type: square;" %)
2 -* Short descriptions including Links:
2 +* Short descriptions including Links:   → as Text\\
3 3  (% style="list-style-type: square;" %)
4 4  ** GPFS
5 5  ** JupyterHub
... ... @@ -10,7 +10,7 @@
10 10  (% style="list-style-type: square;" %)
11 11  * Links Repository
12 12  (% style="list-style-type: square;" %)
13 -** including Method Description?
13 +** including Method Description: Readme or Sphinx ?
14 14  
15 15  \\
16 16  
... ... @@ -19,21 +19,20 @@
19 19  
20 20  \\
21 21  
22 +(% style="list-style-type: square;" %)
23 +* Screencast
24 +
22 22  \\
23 23  
27 +\\
28 +
24 24  Questions:
25 25  
26 26  (% style="list-style-type: square;" %)
27 -* for whom
28 -* where Maxwell / local / extern
29 29  * distribution\\
30 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?
34 +** channel
35 +** enviroment → as example for binder
37 37  
38 38  \\
39 39  
... ... @@ -40,26 +40,27 @@
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 # fix dependcies
42 +conda install ipython numpy pandas #TODO: fix dependcies
44 44  conda install -c https://www.desy.de/~cpassow/condarepo/ flashh5
45 45  
46 46  ## on jhub
46 +conda install ipykernel
47 47  python -m ipykernel install --user --name flashh5 --display-name "flashh5"
48 48  
49 49  
50 +## to remove on jhub
51 +## delete from: /home/$USER/.local/share/jupyter/kernels/
50 50  {{/code}}
51 51  
52 52  \\
53 53  
54 -\\
55 -
56 56  {{code language="py" title="moved to repository?"}}
57 57  class RunDirectory:
58 58  
59 - def get_run_table():
59 + def get_run_table(): # more or less information? RunComment | Number of Files
60 60   ...
61 61  
62 - def get_run(daq, run_number):
62 + def get_run(daq, run_number): # daq is not needed
63 63   ...
64 64  
65 65  
... ... @@ -68,7 +68,7 @@
68 68   def get_files():
69 69   ...
70 70  
71 - def get_channels(): # of file #1?
71 + def get_channels(): # of file #1
72 72   ...
73 73  
74 74   def get_start_time(): # better as attribute?
... ... @@ -77,7 +77,10 @@
77 77   def get_stop_time(): # which? | better as attribute?
78 78   ...
79 79  
80 - def to_df(channel_map):
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
81 81   ...
82 82  
83 83   def to_series(channel):
... ... @@ -88,13 +88,13 @@
88 88  {{/code}}
89 89  
90 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 +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?
94 94  
95 95  ## is this interesting?
96 -# run.to_dask(dict)
97 -# run.to_xarray(dict)
99 +# run.to_dask(daq_map)
100 +# run.to_xarray(daq_map)
98 98  {{/code}}
99 99  
100 100  \\