コード例 #1
0
 def measurement_mesh_full():
     x = []
     y = []
     z = []
     m_mesh = measurement_mesh.M_mesh(radius_largest_ring, h_i[2], z_middle,
                                      int(m_meshN), 0, t_radius).m_mesh()
     for i in range(int(len(m_mesh[0][0]) / 2)):
         x.append(m_mesh[0][i])
         y.append(m_mesh[1][i])
         z.append(m_mesh[2][i])
     return np.concatenate(x), np.concatenate(y), np.concatenate(z)
コード例 #2
0
 def half_mesh_m(self):  
     x = [] ; y = [] ; z = []
 
     m_mesh = mm.M_mesh(self.radius_largest_ring, self.height_largest_ring,
                        self.z_middle, self.m_meshN, 3, self.t_radius).m_mesh()
 
     for i in range(len(m_mesh[0][0])):
         
         x.append(m_mesh[0][i]) 
         y.append(m_mesh[1][i])
         z.append(m_mesh[2][i])
     
     # return np.array([x,y,z])
     # return x,y,z
     return np.concatenate(x), np.concatenate(y), np.concatenate(z)
コード例 #3
0
    def half_mesh_m():
        x = []
        y = []
        z = []

        m_mesh = measurement_mesh.M_mesh(radius_largest_ring, h_i[2], z_middle,
                                         int(m_meshN), 2, t_radius).m_mesh()

        for i in range(len(m_mesh[0][0])):

            x.append(m_mesh[0][i])
            y.append(m_mesh[1][i])
            z.append(m_mesh[2][i])

        # return np.array([x,y,z])
        # return x,y,z
        return np.concatenate(x), np.concatenate(y), np.concatenate(z)
コード例 #4
0
def half_mesh_m():
    x = []
    y = []
    z = []

    m_mesh = measurement_mesh.M_mesh(r_radius, height, int(height / 2),
                                     int(m_meshN), 2, t_radius).m_mesh()

    for i in range(len(m_mesh[0][0])):

        x.append(m_mesh[0][i])
        y.append(m_mesh[1][i])
        z.append(m_mesh[2][i])

    # return np.array([x,y,z])
    # return x,y,z
    return np.concatenate(x), np.concatenate(y), np.concatenate(z)