示例#1
0
    def calc_bodes(self, f):
        bode1 = BPO.tf_to_Bode(self.G_act, f, self.bode_opts[0], PhaseMassage=True)
        bode2 = BPO.tf_to_Bode(self.G_a_v, f, self.bode_opts[1], PhaseMassage=True)

        self.bodes = [bode1, bode2]
        self.G_act_bode = bode1
        self.G_a_v_bode = bode2
示例#2
0
    def calc_bodes(self, f):
        # Will need to fix this to find the bodes for a/theta_d and
        # theta/theta_d
        bode1 = BPO.tf_to_Bode(self.theta_TF, f, self.bode_opts[0], PhaseMassage=True)
        bode2 = BPO.tf_to_Bode(self.accel_TF, f, self.bode_opts[1], PhaseMassage=True)

        self.bodes = [bode1, bode2]
        self.G_act_bode = bode1  # <-- this is a bad variable name
        self.G_a_v_bode = bode2  # <-- this is a bad variable name
示例#3
0
 def calc_bodes(self, f):
     bode = BPO.tf_to_Bode(self.G_act, f, self.bode_opts[0], PhaseMassage=True)
     self.bodes = [bode]
     self.G_act_bode = bode