Examples of using QCoDeS
These are all examples based on notebooks that can be found in https://github.com/QCoDeS/Qcodes/tree/master/docs/examples and below. To experiment with the examples you can download them directly from the git repository.
Basic examples
- 15 minutes to QCoDeS
- Introduction
- Installation
- Module imports
- Instruments
- Parameters
- Stations
- Databases and experiments.
- Measurement Context Manager
- Using the doNd multi-dimensional measurement utility
- Exploring datasets and databases
- List all datasets in a database.
- List all the datasets in an experiment
- Load the data set using one or more specifications
- Plotting datasets
- QCoDeS measurements live plotting with Plottr
- Get data of specific parameter of a dataset
- Export data to pandas dataframe
- Export data to xarray
- Explore the data using an interactive widget
- Further Reading
- QCoDeS config
- QCoDeS Tutorials
- Station
Parameters
These notebooks provide some examples of how to tweak and customize the QCoDeS parameters to achieve different ends.
DataSet
- Accessing data in a DataSet
- Dataset Benchmarking
- DataSet class walkthrough
- Databases
- DataSet Performance
- Exporting QCoDes Datasets
- Extracting runs from one DB file to another
- In memory dataset
- Linking to parent datasets
- Measuring X as a function of time
- Offline Plotting Tutorial
- Offline plotting with categorical data
- Offline plotting with complex data
- Paramtypes explained
- Pedestrian example of subscribing to a DataSet
- Performing measurements using QCoDeS parameters and DataSet
- Implementing a measurement
- Accessing and exporting the measured data
- Reloading datasets
- Specifying shape of measurement
- Performing several measuments concurrently
- Interrupting measurements early
- QCoDeS Array and MultiParameter
- Avoiding verbosity of the Measurement context manager for simple measurements
- Optimizing measurement time
- The power of the Measurement context manager construct
- Subscriptions
- Saving data in the background
- The Experiment Container
- Threaded data acquisition
- Using doNd functions in comparison to Measurement context manager for performing measurements
- Working with snapshots
- Working with Pandas and XArray
- Importing data from legacy .dat files
- Subscriber with JSON export
- Example Measurements with Real Instruments
- Read data from cache
- Write data to cache
Plotting
Drivers
- QCoDeS Example with Keysight E4980A LCR meter
- QCoDeS Example with Yokogawa GS200 and Keithley 7510 Multimeter
- QCoDeS example with Aim TTi PL601-P
- Qcodes example with DelegateInstrument driver
- QCoDeS example with Galil DMC4133 Controller
- Qcodes example with InstrumentGroup driver
- QCoDeS example with Keithley 3706A System Switch
- QCoDeS Example with Tektronix Keithley S46
- QCoDeS Example with the Rigol DG 1062 Instrument
- QCoDeS example with Textronix DPO 7200xx scopes
- QCoDeS Example with AMI430
- QCoDeS Example with Agilent 34400A
- QCoDeS Example with Alazar ATS 9360
- Qcodes example with Basel SP983c Preamp and its Remote SP983a
- QCoDeS Example with DynaCool PPMS
- QCoDeS Example with HP8753D
- QCoDeS Example with Itacho
- QCoDeS Example with with Keithley 2600 series
- QCoDeS Example with Tektronix Keithley 7510 Multimeter
- QCoDeS Example with Keysight 33500B
- QCoDeS Example with Keysight 344xxA
- QCoDeS Example with Keysight 34980A Multifunction Switch / Measure Mainframe and Modules
- Qcodes example with Keysight B1500 Semiconductor Parameter Analyzer
- QCoDeS Example with Keysight B2200 Series Femto Leakage Switch Matrix
- QCoDeS Example with Keysight Infiniium Oscilloscopes
- Qcodes example with Keysight N9030B
- QCoDeS Example with Keysight Network Analyzers
- QCoDeS Example with Lakeshore 325
- QCoDeS Example with the Lakeshore Model 372 to Control the Temperature of the Bluefors Fridge
- QCoDeS Example with Minicircuits Switch Boxes Controlled via USB
- QCoDeS Example with Mercury iPS
- QCoDeS Example with Oxford Triton
- QCoDeS Example with QDac_channels
- QCoDeS Example with Rigol DP832 Power Supply
- QCoDeS Example with the Rigol DS 1074 Z oscilloscope
- QCoDeS Example with Rohde Schwarz RTO 1000 Series Oscilloscope
- QCoDeS Example with Rohde Schwarz SGS100A RF source
- QCoDeS Example with Rohde Schwarz ZNB20/8
- QCoDeS Example with the Stahl Bias Sources
- QCoDeS Example with Stanford SR830
- QCoDeS Example with Standford Research SR86x Lock-in Amplifier with Buffered Readout
- QCoDeS Example with Tektronix AWG5014
- QCoDeS Example with Tektronix AWG70002A
- QCoDeS Example with Tektronix TPS2012
- QCoDeS Example with Yokogawa GS200/GS210
- QCoDeS Example with Tektronix Keithley 2450 Source Meter
- QCoDeS+Broadbean Example with Tektronix AWG5208
- QCoDeS Example with Signal Hound USB-SA124B
- QCoDeS Example with Signal Hound USB-SA124B ParameterWithSetpoints
Writing Drivers
This folder contains examples that are useful when you want to write your own driver for a new instrument.
- A ParameterWithSetpoints Example with Dual Setpoints
- Creating QCoDeS instrument drivers
- Base Classes
- Parameters and Channels
- Naming Instruments
- Logging
- VisaInstrument: a more involved example
- VisaInstruments: Simulating the instrument
- DLL-based instruments
- Manual instruments
- Custom Parameter classes
- Dynamically adding and removing parameters
- Handling interruption of measurements
- Organization
- Documentation
- Creating Simulated PyVISA Instruments
- Instrument
- Abstract Instruments and parameters
- Working subclass
Logging
Legacy examples
This folder contains examples of the legacy QCoDeS dataset and plotting utilities. They are not recommended for new users but may be useful as reference for existing users.