Skip to content

Conversation

@shumpohl
Copy link
Member

@shumpohl shumpohl commented Jan 4, 2025

First version of a measurement builder. It produces a sequence of wait, measure and loop commands that can easily be translated into arbitrary formats. There is a translation to the currently used (begin, length) table in ``to_table`.

Following thigs are to note:

  • The commands support HardwareTime arguments which is not implemented by any measurement device afaik but could be.
  • The commands allow negative delays to make time inversion easy. This makes consuming the commands harder because all previous measurement times could be needed.
  • The table conversion with the python "VM" is rather slow

Remaining tasks:

  • Doc strings in the code
  • Make measurement window handling in the pulse templates more lenient.
    • Allow windows that leave the PT
    • Allow symbolic windows
  • Add tests for repetitions
  • Add tests for nested iterations
  • Add tests for time reversal
  • Example usage with MeasurementBuilder and to_table
  • Add a normalization function that gets rid of negative delays

Nice to haves:

  • Data analysis that uses the commands. Maybe it can be integrated in atssimple @maxbeer99 ?
  • Speed up table translation with numba

@github-actions
Copy link

github-actions bot commented Jan 4, 2025

Test Results

1 215 tests   1 151 ✅  1m 14s ⏱️
    1 suites     62 💤
    1 files        2 ❌

For more details on these failures, see this check.

Results for commit 31c73a3.

♻️ This comment has been updated with latest results.

@shumpohl shumpohl force-pushed the issues/871_measurement_builder branch from bd41e25 to d48aa2b Compare January 23, 2025 15:11
@shumpohl shumpohl force-pushed the issues/871_measurement_builder branch from db5ffbc to 9d9dd98 Compare July 1, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants