Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Labcore - QCoDeS integration #17

@ttshaw1

Description

@ttshaw1

There are a few features from QCoDeS' experiment functions that I'd like to see in labcore.

  1. Getting units, names, etc. for variables from instrument driver functions. For example, our M5180 VNA's driver has a function M5180.s21 which can be called to get scattering parameters, or various attributes can be examined to get the frequency axis, units, and so on. QCoDeS' register_parameter(M5180.s21) gets all that data automatically. The labcore way of doing this is very manual by comparison:
@recording(independent('frq', type='array', unit='Hz'),
           dependent('|S21|', depends_on=['frq'], type='array', unit='dB'))
def s21_magnitude():
    return vna.s21.setpoints[0][0], vna.s21()[0]
  1. Saving station snapshot to HDF5 file. Every experiment in QCoDeS' has a station defined, which is a collection of instruments, the parameters of all of which are saved alongside the data. This makes it easy to go back to an experiment later and check something like the VNA's power level.

I'm just getting started with labcore, so possibly these capabilities already exist and I haven't found them. If not, I can work on it. I'm not sure what the best way to handle the first part is and would appreciate suggestions, but the second part I believe could be done by having run_and_save_sweep accept a station argument.

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