class Sequence(*, name, B, LO, reptime, averages, shots, **kwargs)

Represents an experimental pulse sequence.

Represents an experimental pulse sequence.

Parameters:
namestr

The name of this pulse sequence

Bfloat

The magnetic field for this sequence in Gauss.

LOfloat

The central frequency of this sequence. I.e. The frequnecy at which a zero offset pulse is at.

reptimefloat

The shot repetition time in us.

averagesint

The number of scans to be accumulated.

shotsitn

The number of shots per point.

property seqtable_steps
pulses = '[]'
num_pulses
axes_uuid = '[]'
reduce_uuid = '[]'
LO
averages
shots
name
progTable
plot()
plot_pulse_exc(FieldSweep=None, ResonatorProfile=None)
addPulse(pulse)

Adds a pulse to the next position in the sequence.

Parameters:
pulsePulse

The object describing the pulse.

_estimate_time()

Calculates the estimated experiment time in seconds.

_buildPhaseCycle()
evolution(params, reduce=[])
shift_detfreq_to_zero()
isPulseFocused()

Is the sequence expressed to contain only pulses and no delays?

isDelayFocused()

Is the sequence expressed to contain both pulses and delays?

convert(*, reduce=True)

Converts the current sequence to either pulse focused or delay focused depending on the current state

Parameters:
reducebool, optional

Reduce to the smallest number of objects, by default True

_convert_to_delay()
_convert_to_pulses()
_checkRect()

Checks if all the pulses in the sequence are rectangular.

__str__()
copy()
_to_dict()
_to_json()
save(filename)

Save the sequence to a JSON file.

Parameters:
filenamestr

Path to the JSON file.

Returns:
None
Raises:
TypeError

If the object cannot be serialized to JSON.

classmethod _from_dict(dct)
classmethod _from_json(JSONstring)
classmethod load(filename)

Load an object from a JSON file.

Parameters:
filenamestr

Path to the JSON file.

Returns:
objSequence

The Sequence loaded from the JSON file.

Raises:
FileNotFoundError

If the file does not exist.