bbndb.auspex module

class bbndb.auspex.Average(**kwargs)[source]

Bases: bbndb.auspex.FilterProxy, bbndb.auspex.NodeMixin

Takes data and collapses along the specified axis. Threshold is used for state identification.

axis
connection_from
connection_to
hash_val
id
label
node_type
qubit_name
threshold
class bbndb.auspex.Buffer(**kwargs)[source]

Bases: bbndb.auspex.OutputProxy, bbndb.auspex.NodeMixin

Saves data in a buffer

connection_from
connection_to
hash_val
id
label
max_size
node_type
qubit_name
class bbndb.auspex.Connection(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

id
node1_id
node1_name
node2_id
node2_name
pipeline_name
time
class bbndb.auspex.Demodulate(**kwargs)[source]

Bases: bbndb.auspex.FilterProxy, bbndb.auspex.NodeMixin

Digital demodulation and filtering to select a signal at a particular frequency component. This filter does the following:

  1. First stage decimating filter on data
  2. Take product of result with with reference signal at demodulation frequency
  3. Second stage decimating filter on result to boost n_bandwidth
  4. Final channel selecting filter at n_bandwidth/2

If an axis name is supplied to follow_axis then the filter will demodulate at the freqency axis_frequency_value - follow_freq_offset otherwise it will demodulate at frequency. Note that the filter coefficients are still calculated with respect to the frequency paramter, so it should be chosen accordingly when follow_axis is defined.

bandwidth
connection_from
connection_to
decimation_factor
follow_axis
follow_freq_offset
frequency
hash_val
id
label
node_type
qubit_name
validate_bandwidth(key, value)[source]
validate_decimation_factor(key, value)[source]
validate_frequency(key, value)[source]
class bbndb.auspex.Display(**kwargs)[source]

Bases: bbndb.auspex.OutputProxy, bbndb.auspex.NodeMixin

Create a plot tab within the plotting interface.

connection_from
connection_to
hash_val
id
label
node_type
plot_dims
plot_mode
qubit_name
validate_plot_dims(key, value)[source]
class bbndb.auspex.FidelityKernel(**kwargs)[source]

Bases: bbndb.auspex.FilterProxy, bbndb.auspex.NodeMixin

Calculates the single shot fidelity from given input

connection_from
connection_to
hash_val
id
label
logistic_regression
node_type
optimal_integration_time
qubit_name
save_kernel
set_threshold
tolerance
zero_mean
class bbndb.auspex.FilterProxy(**kwargs)[source]

Bases: bbndb.auspex.NodeMixin, bbndb.auspex.NodeProxy

docstring for FilterProxy

add(filter_obj, connector_out='source', connector_in='sink')[source]
connection_from
connection_to
drop()[source]
hash_val
id
label
node_label()[source]
node_type
qubit_name
class bbndb.auspex.Framer(**kwargs)[source]

Bases: bbndb.auspex.FilterProxy, bbndb.auspex.NodeMixin

Emit out data in increments defined by the specified axis.

axis
connection_from
connection_to
hash_val
id
label
node_type
qubit_name
class bbndb.auspex.Integrate(**kwargs)[source]

Bases: bbndb.auspex.FilterProxy, bbndb.auspex.NodeMixin

bias
box_car_start
box_car_stop
connection_from
connection_to
demod_frequency
hash_val
id

Integrate with a given kernel or using a simple boxcar. Kernel will be padded/truncated to match record length

kernel
label
node_type
qubit_name
simple_kernel
validate_box_car_start(key, value)[source]
validate_box_car_stop(key, value)[source]
class bbndb.auspex.NodeMixin[source]

Bases: object

id = Column(None, Integer(), ForeignKey('nodeproxy.id'), table=None, primary_key=True, nullable=False)
class bbndb.auspex.NodeProxy(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

connection_from
connection_to
hash_val
id
label
node_type
print(show=True)[source]
qubit_name
class bbndb.auspex.OutputProxy(**kwargs)[source]

Bases: bbndb.auspex.FilterProxy, bbndb.auspex.NodeMixin

connection_from
connection_to
hash_val
id
label
node_type
qubit_name
class bbndb.auspex.StreamSelect(pipelineMgr=None, **kwargs)[source]

Bases: bbndb.auspex.NodeMixin, bbndb.auspex.NodeProxy

docstring for FilterProxy

add(filter_obj, connector_out='source', connector_in='sink')[source]
clear_pipeline()[source]

Remove all nodes coresponding to the qubit

connection_from
connection_to
create_default_pipeline(average=True, buffers=False)[source]
dsp_channel
hash_val
id
if_freq
kernel

The kernel as represented by a numpy complex128 array, or the name of a kernel file.

kernel_bias
kernel_data
label
node_label()[source]
node_type
qubit_name
show_connectivity()[source]
show_pipeline()[source]
stream_type
threshold
threshold_invert
validate_stream_type(key, value)[source]
class bbndb.auspex.Write(**kwargs)[source]

Bases: bbndb.auspex.OutputProxy, bbndb.auspex.NodeMixin

Writes data to file.

add_date
connection_from
connection_to
filename
groupname
hash_val
id
label
node_type
qubit_name