Skip to content

Mismatch between data and descriptor on timeout #492

@martin-gustafsson

Description

@martin-gustafsson

If the digitizer times out on one iteration in a sweep, the data on file are absent rather than e.g. zeros or NaNs. Then the data descriptor and the data no longer match, and there is no indication of which data are missing. The shape of the dataset suggests that it's complete, but the last row is all zeros.

Error message during experiment, on iteration 1 of 220 of a parameter sweep:
auspex-ERROR: 2021-04-08 19:38:44,651 ----> Digitizer myX6 timed out.

Resulting data and descriptor:

data, desc, _ = open_data(16, '.', "q1-raw_int", date="210408")
print(desc.axes[1].points.shape)
print(data.shape)
print(data[-2,:])
print(data[-1,:])

(220,)
(220, 1523)
[29.7535543 +26.75779667j 21.34156161+34.60425376j
16.25427695+36.56289939j ... 29.83350915+26.67109178j
29.79431326+26.64494398j 29.68503646+26.96899154j]
[0.+0.j 0.+0.j 0.+0.j ... 0.+0.j 0.+0.j 0.+0.j]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions