Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions nslsii/areadetector/xspress3.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,14 @@ class Xspress3ExternalFileReference(Signal):

"""

def __init__(self, *args, dtype_str="uint32", bin_count=4096, dim_name="bin_count", **kwargs):
def __init__(self, *args, dtype_str="uint32", bin_count=4096, dim_name=["frame_number", "number_channels", "bin_count"], **kwargs):
super().__init__(*args, **kwargs)
self.dtype_str = dtype_str
self.shape = (bin_count,)
self.dims = (dim_name,)
if isinstance(dim_name, str):
self.dims = (dim_name,) # Keeping this option for backwards compatibility with some beamlines
else:
self.dims = (*dim_name,)

def describe(self):
res = super().describe()
Expand Down