microsoft/Qcodes v0.54.0
microsoft/Qcodes
Captured source
source ↗QCoDeS 0.54.0
Repository: microsoft/Qcodes
Tag: v0.54.0
Published: 2025-10-01T17:47:33Z
Prerelease: no
Release notes: QCoDeS 0.54.0 (2025-10-01) ==========================
Breaking Changes: -----------------
- Removal of deprecated code
Removed modules:
- Removed the deprecated `
qcodes.instrument_drivers.american_magnetics.AMI430module. UseAMIModel4303Dfromqcodes.instrument_drivers.american_magnetics` instead. - Removed the deprecated `
qcodes.utils.spyder_utilsmodule containing theadd_to_spyder_UMR_excludelist` function. This utility was known to not work with latest Spyder versions and was unused in QCoDeS.
Removed classes:
- Removed the deprecated `
AMI430_3DandAMI430classes fromqcodes.instrument_drivers.american_magnetics.AMI430. UseAMIModel4303DandAMIModel430fromqcodes.instrument_drivers.american_magnetics` instead. - Removed deprecated methods from `
AMI430SwitchHeater - Removed deprecated `
AMI430_VISAclass fromip_to_visa.py`. - Removed the deprecated `
ConnectionPlusclass fromqcodes.dataset.sqlite.connection. UseAtomicConnection` class instead. - Removed the deprecated `
AlazarTech_ATSclass. UseAlazarTechATS` instead. - Removed the deprecated `
WaveformGenerator_33XXXclass. UseKeysight33xxx` instead. - Removed the following deprecated Keysight classes:
Keysight_34410A, useKeysight34410A` insteadKeysight_34411A, useKeysight34411A` insteadKeysight_34460A, useKeysight34460A` insteadKeysight_34461A, useKeysight344xxA` insteadKeysight_34465A, useKeysight34465A` insteadKeysight_34470A, useKeysight34470A` insteadN51x1, useKeysightN51x1` insteadPNABase, useKeysightPNABase` insteadPNAxBase, useKeysightPNAxBase` insteadKeysightSubModule, useKeysight34980ASwitchMatrixSubModule` insteadKeysightSwitchMatrixSubModule, useKeysight34980ASwitchMatrixSubModule` insteadB1500Module, useKeysightB1500Module` instead_Keysight_344xxA, useKeysight344xxA` instead- Removed the deprecated Keysight submodules:
Trigger, useKeysight344xxATrigger` insteadSample, useKeysight344xxASample` insteadDisplay, useKeysight344xxADisplay` instead- Removed the deprecated MiniCircuits classes:
SwitchChannelBase, useMiniCircuitsSPDTSwitchChannelBase` insteadSPDT_Base, useMiniCircuitsSPDTBase` instead- Removed the deprecated `
USBHIDMixin` class
Removed functions:
- Removed from `
qcodes.utils.deprecate`: deprecation_messageissue_deprecation_warningdeprecatedecorator (usetyping_extensions.deprecated` instead)_catch_deprecation_warningsassert_not_deprecatedassert_deprecated- Removed `
make_connection_plus_fromfunction fromqcodes.dataset.sqlite.connection(:pr:7122`) - The following modules have been deprecated in this release and will be removed in a future version:
qcodes.instrument.delegate.grouped_parameterqcodes.instrument.functionqcodes.instrument.group_parameterqcodes.instrument.specialized_parametersqcodes.instrument.sweep_valuesqcodes.instrument.baseqcodes.instrument.parameterqcodes.utils.commandqcodes.utils.datasetqcodes.utils.installationqcodes.utils.helpersqcodes.utils.metadataqcodes.utils.plottingqcodes.utils.threadingqcodes.utils.validators
Please consult the API documentation at :ref:Api for alternatives and migration paths. (:pr:7262)
- The methods `
InstrumentBase.__getitem__,InstrumentBase.get,InstrumentBase.set,InstrumentBase.call` are now deprecated
with a PendingDeprecationWarning rather than a QCoDeSDeprecationWarning. This better reflects the state where there is no plan to remove them but usage is discouraged. The PendingDeprecationWarning is not printed to console by default. (:pr:7318)
- Registration and Unpacking interfaces created in ParameterBse
ParameterBase now implements new depends_on`, is_controlled_by, and has_control_ofproperties that allow subclasses to define InterDependencies_ relationships directly ParameterBase.unpack_self allows subclasses to unpack themselves during DataSaver.add_result, which removes the requirement for users to add pre-defined InterDependencies_ results explicitly Measurement.register_parameter has been refactored to follow the relationship links defined in parameter subclasses and automatically register related parameters with the appropriate relationships DataSaver.add_result has been refactored to take advantage of the new unpack_self` method
Breaking Changes
- A dependent parameter registered with an independent parameter as its `
setpoints` no longer requires that the independent parameter be registered first, if the independent parameter is ParameterBase subclass and not a str - Previously, a ParameterWithSetpoints whose setpoints values were explicitly added in add_result would use the explicit version. Now, an error is raised if the explicit values are not within some tolerance of the internal values (as with other duplication).
DataSaver.add_resultsignature has changed from*res_tupleto*result_tuples(:pr:7346`)- The method `
to_xarray_dataarray_dicton the classesDataSetandDataSetInMem
have been deprecated and replaced by `to_xarray_dataset_dict. This new method allows export of datasets that still only contain one measured parameter but can contain related coordinates such as these given by an inferred relationship. (:pr:7432`)
ChannelTuple/ChannelList.get_channel_by_namesupport for getting more than one channel has been deprecated. To get more than one channel useget_channels_by_name`.
get_channels_by_name is guaranteed to always return an instance of the class it was called on independently of the number of channels supplied. In the future get_channel_by_name will be updated to ensure that it always returns a single channel. The Exception raised when no argument is given to get_channel_by_name has changed from Exception to TypeError in line with how functions behave when an argument is missing. (:pr:7486`)
Improved: ---------
- Add a read-only option to sqlite connection (:pr:
4783) - Fix `
load_from_netcdf` failing for non-completed...
Excerpt shown — open the source for the full document.