Examples of using QCoDeS¶
These are all examples based on notebooks that can be found in https://github.com/QCoDeS/Qcodes/tree/main/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
- Station
- 15 minutes to QCoDeS
- Parameters
- DataSet
- Accessing data in a DataSet
- Dataset Benchmarking
- DataSet class walkthrough
- Databases
- Using
datasaver_builder
anddond_into
to streamline measurements - 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
- Using the
register_name
kwarg to select how a parameter is saved to a dataset - 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
- Cryomagnetics 4G QCoDeS Driver Example
- 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
- To reset the system to default settings:
- To perform measurement with different sense functions:
- To set measurement range (positive full-scale measure range):
- To set the NPLC (Number of Power Line Cycles) value for measurements:
- To set the delay:
- To set auto zero (automatic updates to the internal reference measurements):
- To set averaging filter for measurements, including average count, and filter type:
- 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
- Instrument Short info
- Qcodes driver info
- Programming Examples
- High Level Interface
- Error Message
- Low Level Interface
- 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
- A ParameterWithSetpoints Example with Dual Setpoints
- Creating QCoDeS instrument drivers
- Base Classes
- Parameters and Channels
- Naming Instruments
- Logging
- VisaInstrument: Simple example
- 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