Qubitekk¶
CC1
Coincidence Counter¶
- class instruments.qubitekk.CC1(filelike)[source]¶
The CC1 is a hand-held coincidence counter.
It has two setting values, the dwell time and the coincidence window. The coincidence window determines the amount of time (in ns) that the two detections may be from each other and still be considered a coincidence. The dwell time is the amount of time that passes before the counter will send the clear signal.
More information can be found at : http://www.qubitekk.com
- property acknowledge¶
Gets/sets the acknowledge message state. If True, the CC1 will echo back every command sent, then print the response (either Unable to comply, Unknown command or the response to a query). If False, the CC1 will only print the response.
- Units:
None
- Type:
boolean
- property channel¶
Gets a specific channel object. The desired channel is specified like one would access a list.
For instance, this would print the counts of the first channel:
>>> cc = ik.qubitekk.CC1.open_serial('COM8', 19200, timeout=1) >>> print(cc.channel[0].count)
- Return type:
- property delay¶
Get/sets the delay value (in nanoseconds) on Channel 1.
When setting,
N
may be0, 2, 4, 6, 8, 10, 12, or 14ns
.- Return type:
- Returns:
the delay value
- property dwell_time¶
Gets/sets the length of time before a clear signal is sent to the counters.
- property trigger_mode¶
Gets/sets the trigger mode setting for the CC1. This can be set to
continuous
orstart/stop
modes.- Type:
CC1.TriggerMode
MC1
Motor Controller¶
- class instruments.qubitekk.MC1(filelike)[source]¶
The MC1 is a controller for the qubitekk motor controller. Used with a linear actuator to perform a HOM dip.
- class MotorType(value)[source]¶
Enum for the motor types for the MC1
- radio = 'Radio'¶
- relay = 'Relay'¶
- is_centering()[source]¶
Query whether the motor is in its centering phase
- Returns:
False if not centering, True if centering
- Return type:
- move(new_position)[source]¶
Move to a specified location. Position is unitless and is defined as the number of motor steps. It varies between motors.
- Parameters:
new_position (
Quantity
) – the location
- property controller¶
Get the motor controller type.
- property direction¶
Get the internal direction variable, which is a function of how far the motor needs to go.
- Type:
- Units:
milliseconds
- property increment¶
Gets/sets the stepping increment value of the motor controller
- Units:
As specified, or assumed to be of units milliseconds
- Type:
- property inertia¶
- Gets/Sets the amount of force required to overcome static inertia. Must
be between 0 and 100 milliseconds.
- Type:
- Units:
milliseconds
- property internal_position¶
- Get the internal motor state position, which is equivalent to the total
number of milliseconds that voltage has been applied to the motor in the positive direction minus the number of milliseconds that voltage has been applied to the motor in the negative direction.
- Type:
- Units:
milliseconds
- property lower_limit¶
Gets/sets the stepping lower limit value of the motor controller
- Units:
As specified, or assumed to be of units milliseconds
- Type:
- property metric_position¶
Get the estimated motor position, in millimeters.
- Type:
- Units:
millimeters
- property move_timeout¶
Get the motor’s timeout value, which indicates the number of milliseconds before the motor can start moving again.
- Type:
- Units:
milliseconds
- property setting¶
Gets/sets the output port of the optical switch. 0 means input 1 is directed to output 1, and input 2 is directed to output 2. 1 means that
input 1 is directed to output 2 and input 2 is directed to output 1.
- Type:
- property step_size¶
Gets/Sets the number of milliseconds per step. Must be between 1 and 100 milliseconds.
- Type:
- Units:
milliseconds