single_chan_lock.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:barium 作者: barium-project 项目源码 文件源码
def initServer(self):
        self.password = os.environ['LABRADPASSWORD']
        self.name = socket.gethostname() + ' Single Channel Lock Server'
        self.set_frequency = 658.116220
        self.timer = 0.1
        self.low_rail = 0
        self.high_rail =30.0
        self.p_gain = 1e-3 # Gain of piezo controller is 15V/V
        self.i_gain = 1e-5 # Not using now since lock is pretty good
        self.integral = 0 # to use for I
        self.prev_output = 0.0
        self.dac_chan = 7
        self.lasers = multiplexer_config.info
        self.laser_chan = '455nm'
        self.lc = LoopingCall(self.loop)
        self.output = 0.0
        self.connect()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号