AcquisitionNode#

class FIREQ_SYSTEM.acquisition_node.AcquisitionNode(*args: Any, **kwargs: Any)[source]#

Bases: _GenericNode

Object representing the acquisition IP.

Configuration dictionary keys:

  • _name (str): Name of the acquisition node instance.

  • _ll_handler (AcquisitionDriver): Low-level driver handler.

  • $duration (float): Duration of the acquisition, in ns.

  • $output_type (str): Output type. One of "raw", "decimated", or "accumulated".

  • $rfrequency (float): Demodulation frequency, in MHz.

  • $rphase (float): Demodulation initial phase, in radians.

  • $rchannel (int): Trigger channel. Set to 0 for no external trigger.

  • $tof (float): Time of flight, in ns.

nodetype = 'acquisition'#
wraps = ['AcquisitionDriver']#
set_acquisition_duration(duration: float) → int[source]#

Set the acquisition duration.

Parameters:

duration (float) – Duration in nanoseconds of the acquisition window

Returns:

Error code (0 on success)

Return type:

int

set_output_mode(output_type: str) → int[source]#

Set the output type of the acquisition.

Parameters:

output_type (str) – Output type, can be "raw", "decimated" or "accumulated"

Returns:

Error code (0 on success)

Return type:

int

set_demodulation_frequency(frequency: float) → int[source]#

Set the demodulation frequency.

Parameters:

frequency (float) – Frequency in MHz

Returns:

Error code (0 on success)

Return type:

int

set_demodulation_initial_phase(phase: float) → int[source]#

Set the demodulation initial phase.

Parameters:

phase (float) – Initial phase in radians

Returns:

Error code (0 on success)

Return type:

int

set_trigger_channel(channel: int) → int[source]#

Set the trigger channel.

Parameters:

channel (int) – Trigger channel number, set to 0 for no external trigger

Returns:

Error code (0 on success)

Return type:

int

set_time_of_flight(time_of_flight: float) → int[source]#

Set the time of flight.

Parameters:

time_of_flight (float) – Time of flight in nanoseconds

Returns:

Error code (0 on success)

Return type:

int