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 5.1
edited by cpassow
on 2022-04-04 08:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,12 +5,10 @@
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?
11 +** including Method Description
14 14  
15 15  \\
16 16  
... ... @@ -37,62 +37,45 @@
37 37  
38 38  \\
39 39  
40 -{{code language="bash"}}
41 -conda create -n flashh5 python=3.10 # 3.10 not necessary, but would prefer 3.8 or higher
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 -
56 -{{code language="py" title="moved to repository?"}}
38 +{{code language="py"}}
57 57  class RunDirectory:
58 58  
59 - def get_run_table():
41 + def get_run_table(self):
60 60   ...
61 61  
62 - def get_run(daq, run_number):
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 - def to_df(channel_map):
62 + def to_df(self, channel_dict):
81 81   ...
82 82  
83 - def to_series(channel):
65 + def to_series(self, channel):
84 84   ...
85 85  
86 - def to_array(channel):
68 + def to_array(self, channel):
87 87   ...
88 88  {{/code}}
89 89  
90 -{{code language="py" title="ideas"}}
91 -run.to_df(channel_map)
92 -run.to_series(channel_string or channel_map) # on channel only?
72 +{{code language="py"}}
73 +run.to_df(channel_dict)
74 +run.to_series(channel_string or channel_dict) # on channel only?
93 93  run.to_array(channel_string) # on channel only?
94 94  
95 -## is this interesting?
96 96  # run.to_dask(dict)
97 97  # run.to_xarray(dict)
98 98  {{/code}}