Skip to content

Commit

Permalink
Remove unecessary workflow script
Browse files Browse the repository at this point in the history
  • Loading branch information
YooSunYoung committed Oct 31, 2023
1 parent 35bd4a1 commit 50715a8
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/prototypes/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,6 @@ def wavelength_from_tof(tof, L):
)


def workflow_script(
da_list: Events,
num_pixels: NumPixels,
histogram_bin_size: HistogramBinSize,
frame_rate: FrameRate,
) -> Histogrammed:
merged = sc.concat(da_list, dim='event')
pixel_ids = sc.arange(dim='pixel_id', start=0, stop=num_pixels)
binned = merged.group(pixel_ids)

graph = provide_coord_transform_graph(frame_rate)

transformed = binned.transform_coords(['L', 'wavelength'], graph=graph)
return transformed.bins.concat('L').hist(wavelength=histogram_bin_size)


def merge_data_list(da_list: Events) -> MergedData:
return MergedData(sc.concat(da_list, dim='event'))

Expand Down

0 comments on commit 50715a8

Please sign in to comment.