Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates rydiqule to v1.2.0.
This release fixes a few small bugs (especially with inaccurate type hints), updates documentation, and adds a number of small features on the path to full hyperfine support. Please read the changelog for details. Note that new features are subject to changes in implementation as well as possibly the interface as we move forward to full hyperfine support.
Important changes:
Arbitrary energy level shifts are now supported in
Sensor
! This allows for the manual definition of DC Stark shifts or DC Larmour shifts to states inSensor
. These shifts are also scannable as other parameters.States may now be labeled via strings or integers (current default). Specification is done at
Sensor
creation where the basis kwarg can now accept a list of ints and strings. The new methodSensor.states_with_label
allows for regex selection of groups of states by label.Level Diagram plots are slightly more intelligent by default. This is done by leveraging the output of
Sensor.get_rotating_frames
to draw levels with appropriate higher/lower relative energy. Here is an arbitrary example showing a closed loop and an unconnected set of states.DEPRECATION:
Sensor.basis
andSolution.basis
have been renamed toSensor.dm_basis
andSolution.dm_basis
. All references to basis should now unambiguously refer to the atomic basis (ie number of states), and dm_basis refers to the basis of the density matrix elements (2*number of states -1).