neclib.devices#

Device controllers.

NECLIB highly abstracts the devices to their kind, say “motor”, “spectrometer”, and so on. This will allow users to write a code without model-specific configuration process and even complete reuse of the code on device replacement. The model-specific configurations should be stored in neclib.config object.

Aliases#

AntennaEncoder

None

AntennaMotor

None

Attenuator

None

CcdController

None

ChopperMotor

None

DeviceBase

None

Devices

None

DomeEncoder

None

DomeMotor

None

DriveMotor

None

DriveStatus

None

HemtBiasReader

None

LocalAttenuator

None

M2Motor

None

M4Motor

None

MembraneMotor

None

PowerMeter

None

SignalGenerator

None

SisBiasReader

None

SisBiasSetter

None

Spectrometer

None

Thermometer

None

VacuumGauge

None

WeatherStation

None

antenna_encoder

None

antenna_motor

None

attenuator

None

ccd_controller

None

chopper_motor

None

dome_encoder

None

dome_motor

None

drive_motor

None

drive_status

None

get_logger

Get logger instance which prints operation logs to console.

hemt_bias_reader

None

local_attenuator

None

m2_motor

None

m4_motor

None

membrane_motor

None

power_meter

None

signal_generator

None

sis_bias_reader

None

sis_bias_setter

None

spectrometer

None

thermometer

None

vacuum_gauge

None

weather_station

None

implementations: Dict[str, Type[DeviceBase]] = {'': <class 'neclib.devices.attenuator.simulator.CurrentAttenuatorSimulator'>, '11713B': <class 'neclib.devices.attenuator.a11713b.A11713B'>, '11713C': <class 'neclib.devices.attenuator.a11713c.A11713C'>, 'AC240': <class 'neclib.devices.spectrometer.ac240.AC240'>, 'CPZ2724': <class 'neclib.devices.motor.cpz2724.CPZ2724'>, 'CPZ3177': <class 'neclib.devices.ad_converter.cpz3177.CPZ3177'>, 'CPZ340516': <class 'neclib.devices.attenuator.cpz340516.CPZ340516'>, 'CPZ340816': <class 'neclib.devices.da_converter.cpz340816.CPZ340816'>, 'CPZ6204': <class 'neclib.devices.encoder.cpz6204.CPZ6204'>, 'CPZ7204': <class 'neclib.devices.motor.cpz7204.CPZ7204'>, 'CPZ7415V': <class 'neclib.devices.motor.cpz7415v.CPZ7415V'>, 'E8257D': <class 'neclib.devices.signal_generator.e8257d.E8257D'>, 'FSW0010': <class 'neclib.devices.signal_generator.fsw0010.FSW0010'>, 'FSW0020': <class 'neclib.devices.signal_generator.fsw0020.FSW0020'>, 'M100': <class 'neclib.devices.ccd_controller.m100.M100'>, 'MA24126A': <class 'neclib.devices.power_meter.ma24126a.MA24126A'>, 'MG3692C': <class 'neclib.devices.signal_generator.mg3692c.MG3692C'>, 'ML2437A': <class 'neclib.devices.power_meter.ml2437a.ML2437A'>, 'Model218': <class 'neclib.devices.thermometer.model_218.Model218'>, 'ND287': <class 'neclib.devices.encoder.nd287.ND287'>, 'RHIO10': <class 'neclib.devices.attenuator.rhio10.RHIO10'>, 'TPG261': <class 'neclib.devices.vacuum_gauge.tpg261.TPG261'>, 'TR73U': <class 'neclib.devices.weather_station.tr73u.TR73U'>, 'XFFTS': <class 'neclib.devices.spectrometer.xffts.XFFTS'>}#

List of all available implementations.

parsed: Dict[str, Devices] = {'AntennaEncoder': Devices({'az': <class 'neclib.devices.device_base.AntennaEncoder.Az'>, 'el': <class 'neclib.devices.device_base.AntennaEncoder.El'>}), 'AntennaMotor': Devices({None: <class 'neclib.devices.device_base.AntennaMotor'>}), 'Attenuator': Devices({'usb': <class 'neclib.devices.device_base.Attenuator.Usb'>, 'lsb': <class 'neclib.devices.device_base.Attenuator.Lsb'>}), 'CcdController': Devices({None: <class 'neclib.devices.device_base.CcdController'>}), 'ChopperMotor': Devices({None: <class 'neclib.devices.device_base.ChopperMotor'>}), 'DomeEncoder': Devices({None: <class 'neclib.devices.device_base.DomeEncoder'>}), 'DomeMotor': Devices({None: <class 'neclib.devices.device_base.DomeMotor'>}), 'DriveMotor': Devices({None: <class 'neclib.devices.device_base.DriveMotor'>}), 'DriveStatus': Devices({None: <class 'neclib.devices.device_base.DriveStatus'>}), 'HemtBiasReader': Devices({None: <class 'neclib.devices.device_base.HemtBiasReader'>}), 'LocalAttenuator': Devices({None: <class 'neclib.devices.device_base.LocalAttenuator'>}), 'M2Motor': Devices({None: <class 'neclib.devices.device_base.M2Motor'>}), 'M4Motor': Devices({None: <class 'neclib.devices.device_base.M4Motor'>}), 'MembraneMotor': Devices({None: <class 'neclib.devices.device_base.MembraneMotor'>}), 'PowerMeter': Devices({None: <class 'neclib.devices.device_base.PowerMeter'>}), 'SignalGenerator': Devices({'band6_lsb_2nd': <class 'neclib.devices.device_base.SignalGenerator.Band6Lsb2Nd'>, 'band6_usb_2nd': <class 'neclib.devices.device_base.SignalGenerator.Band6Usb2Nd'>, 'band6_1st': <class 'neclib.devices.device_base.SignalGenerator.Band61St'>}), 'SisBiasReader': Devices({None: <class 'neclib.devices.device_base.SisBiasReader'>}), 'SisBiasSetter': Devices({None: <class 'neclib.devices.device_base.SisBiasSetter'>}), 'Spectrometer': Devices({'xffts': <class 'neclib.devices.device_base.Spectrometer.Xffts'>, 'ac240_1': <class 'neclib.devices.device_base.Spectrometer.Ac2401'>}), 'Thermometer': Devices({None: <class 'neclib.devices.device_base.Thermometer'>}), 'VacuumGauge': Devices({None: <class 'neclib.devices.device_base.VacuumGauge'>}), 'WeatherStation': Devices({None: <class 'neclib.devices.device_base.WeatherStation'>}), 'antenna_encoder': Devices({'az': <class 'neclib.devices.device_base.AntennaEncoder.Az'>, 'el': <class 'neclib.devices.device_base.AntennaEncoder.El'>}), 'antenna_motor': Devices({None: <class 'neclib.devices.device_base.AntennaMotor'>}), 'attenuator': Devices({'usb': <class 'neclib.devices.device_base.Attenuator.Usb'>, 'lsb': <class 'neclib.devices.device_base.Attenuator.Lsb'>}), 'ccd_controller': Devices({None: <class 'neclib.devices.device_base.CcdController'>}), 'chopper_motor': Devices({None: <class 'neclib.devices.device_base.ChopperMotor'>}), 'dome_encoder': Devices({None: <class 'neclib.devices.device_base.DomeEncoder'>}), 'dome_motor': Devices({None: <class 'neclib.devices.device_base.DomeMotor'>}), 'drive_motor': Devices({None: <class 'neclib.devices.device_base.DriveMotor'>}), 'drive_status': Devices({None: <class 'neclib.devices.device_base.DriveStatus'>}), 'hemt_bias_reader': Devices({None: <class 'neclib.devices.device_base.HemtBiasReader'>}), 'local_attenuator': Devices({None: <class 'neclib.devices.device_base.LocalAttenuator'>}), 'm2_motor': Devices({None: <class 'neclib.devices.device_base.M2Motor'>}), 'm4_motor': Devices({None: <class 'neclib.devices.device_base.M4Motor'>}), 'membrane_motor': Devices({None: <class 'neclib.devices.device_base.MembraneMotor'>}), 'power_meter': Devices({None: <class 'neclib.devices.device_base.PowerMeter'>}), 'signal_generator': Devices({'band6_lsb_2nd': <class 'neclib.devices.device_base.SignalGenerator.Band6Lsb2Nd'>, 'band6_usb_2nd': <class 'neclib.devices.device_base.SignalGenerator.Band6Usb2Nd'>, 'band6_1st': <class 'neclib.devices.device_base.SignalGenerator.Band61St'>}), 'sis_bias_reader': Devices({None: <class 'neclib.devices.device_base.SisBiasReader'>}), 'sis_bias_setter': Devices({None: <class 'neclib.devices.device_base.SisBiasSetter'>}), 'spectrometer': Devices({'xffts': <class 'neclib.devices.device_base.Spectrometer.Xffts'>, 'ac240_1': <class 'neclib.devices.device_base.Spectrometer.Ac2401'>}), 'thermometer': Devices({None: <class 'neclib.devices.device_base.Thermometer'>}), 'vacuum_gauge': Devices({None: <class 'neclib.devices.device_base.VacuumGauge'>}), 'weather_station': Devices({None: <class 'neclib.devices.device_base.WeatherStation'>})}#

List of parsed device implementations.

reload()[source]#

Subpackages#

neclib.devices.ad_converter

Aliases

neclib.devices.attenuator

neclib.devices.ccd_controller

neclib.devices.da_converter

Aliases

neclib.devices.encoder

Aliases

neclib.devices.motor

Aliases

neclib.devices.power_meter

neclib.devices.signal_generator

neclib.devices.spectrometer

neclib.devices.thermometer

neclib.devices.vacuum_gauge

neclib.devices.weather_station

Submodules#

neclib.devices.device_base

Aliases

neclib.devices.selector

Aliases