neclib.devices.spectrometer.xffts#

Aliases#

Spectrometer

None

get_logger

Get logger instance which prints operation logs to console.

class XFFTS[source]#

Bases: Spectrometer

Spectrometer, which can do FFT in 8 IF.

Notes

Configuration items for this device:

hoststr

IP address for ethernet communicator. If you operate this device in local network, you should be set this parameter to “localhost”.

data_portint

Ethernet port of using devices. This port is used for data transmmition. The default value of this device is 25144.

cmd_portstr

Ethernet port of using devices. This port is used for command operation. The default value of this device is 16210.

synctime_usint

Sync time of data transmmition in unit us. The minimum value of this device is 100000.

bw_MHzDict[int]

Band width of each XFFTS boads in MHz unit. You must define this parameter to all boad which you use. For Example: You use 4 boads and set band width to 2000 MHz, { 1 = 2000, 2 = 2000, 3 = 2000, 4 = 2000 } The maximum value of band width is 2500 MHz.

max_chint

Max spectral channel of spectrometer. This number should be power of 2. The maximum number of this device is 32768.

See defaults setting file in neclib/defaults/config.toml.

Manufacturer: str = 'Radiometer Physics GmbH'#
Model: str = 'XFFTS'#
Identifier: ClassVar[Optional[str]] = 'host'#
start()[source]#
Return type:

None

stop()[source]#
Return type:

None

initialize()[source]#

Get configured data input and setting output.

Return type:

Tuple[data_consumer, udp_client]

get_spectra()[source]#

Timestamp and dict of spectral data for all boards.

Return type:

Tuple[float, Dict[int, List[float]]]

change_spec_ch(chan)[source]#
finalize()[source]#
Return type:

None