TransitionQuery

class mrsimulator.method.transition_query.TransitionQuery(*, P: Dict = {'channel-1': [[- 1.0]]}, D: Dict = None, F: Dict = None, transitions: List[mrsimulator.transition.base.Transition] = None)

Bases: pydantic.main.BaseModel

Base TransitionQuery class.

P

A dict of channels, with each channel as a list of p symmetry functions per site. Here p = Δm is the difference between spin quantum numbers of the final and initial states.

Example

>>> method = Method2D()
>>> method.spectral_dimensions[0].events[0].transition_query.P = {
...     'channel-1': [[-1]]
... }
Type

Optional[Dict]

D

A dict of channels, with each channel as a list of d symmetry functions per site. Here p = Δm is the difference between spin quantum numbers of the final and initial states.

Example

>>> method.spectral_dimensions[0].events[0].transition_query.D = {
...     'channel-1': [[0]]
... }
Type

Optional[Dict]

Method Documentation

json() dict

Parse the class object to a JSON compliant python dictionary object, where the attribute value with physical quantity is expressed as a string with a value and a unit.