Changes for page DEMO - Working with FLASH data
Last modified by makuadm on 2026-01-07 06:21
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -35,43 +35,43 @@ 35 35 36 36 \\ 37 37 38 -{{code language="py" title="moved to repository?"}}38 +{{code language="py"}} 39 39 class RunDirectory: 40 40 41 - def get_run_table(): 41 + def get_run_table(self): 42 42 ... 43 43 44 - def get_run(daq, run_number): 44 + def get_run(self, daq, run_number): 45 45 ... 46 46 47 47 48 48 class Run: 49 49 50 - def get_files(): 50 + def get_files(self): 51 51 ... 52 52 53 - def get_channels(): # of file #1? 53 + def get_channels(self): # of file #1? 54 54 ... 55 55 56 - def get_start_time(): 56 + def get_start_time(self): 57 57 ... 58 58 59 - def get_stop_time(): # which? 59 + def get_stop_time(self): # which? 60 60 ... 61 61 62 - def to_df(channel_ map):62 + def to_df(self, channel_dict): 63 63 ... 64 64 65 - def to_series(channel): 65 + def to_series(self, channel): 66 66 ... 67 67 68 - def to_array(channel): 68 + def to_array(self, channel): 69 69 ... 70 70 {{/code}} 71 71 72 -{{code language="py" title="ideas"}}73 -run.to_df(channel_ map)74 -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? 75 75 run.to_array(channel_string) # on channel only? 76 76 77 77 # run.to_dask(dict)