当前位置: 首页 > news >正文

做网站页面怎么做网站建设如何查看后台数据库

做网站页面怎么做,网站建设如何查看后台数据库,typecho wordpress,wordpress易语言AF3 rigid_utils模块Rigid类make_transform_from_reference 方法其实是实现从全局坐标到局部坐标的变换,输入的为氨基酸残基的 N(氮原子)、CA(α-碳原子)、C(羧基碳原子)三点坐标,返回一个全局坐标到局部坐标的变rigid实例。make_transform_from_reference 和 from_3_p…

AF3 rigid_utils模块Rigid类make_transform_from_reference 方法其实是实现从全局坐标到局部坐标的变换,输入的为氨基酸残基的 N(氮原子)、CA(α-碳原子)、C(羧基碳原子)三点坐标,返回一个全局坐标到局部坐标的变rigid实例。make_transform_from_reference 和 from_3_points方法都是返回一个到参考坐标系的变换rigid实例,但实现逻辑和返回值不一样。

源代码:

    @staticmethoddef make_transform_from_reference(n_xyz, ca_xyz, c_xyz, eps=1e-20):"""Returns a transformation object from reference coordinates.Note that this method does not take care of symmetries. If you provide the atom positions in the non-standard way, the N atom will end up not at [-0.527250, 1.359329, 0.0] but instead at [-0.527250, -1.359329, 0.0]. You need to take care of such cases in your code.Args:n_xyz: A [*, 3] tensor of nitrogen xyz coordinates.ca_xyz: A [*, 3] tensor of carbon alpha xyz coordinates.c_xyz: A [*, 3] tensor of carbon xyz coordinates.Returns:A transformation object. After applying the translation and rotation to the reference backbone, the coordinates will approximately equal to the input coordinates."""    translation = -1 * ca_xyzn_xyz = n_xyz + translationc_xyz = c_xyz + translationc_x, c_y, c_z = [c_xyz[..., i] for i in range(3)]norm = torch.sqrt(eps + c_x ** 2 + c_y ** 2)sin_c1 = -c_y / normcos_c1 = c_x / normzeros = sin_c1.new_zeros(sin_c1.shape)ones = sin_c1.new_ones(sin_c1.shape)c1_rots = sin_c1.new_zeros((*sin_c1.shape, 3, 3))c1_rots[..., 0, 0] = cos_c1c1_rots[..., 0, 1] = -1 * sin_c1c1_rots[..., 1, 0] = sin_c1c1_rots[..., 1, 1] = cos_c1c1_rots[..., 2, 2] = 1norm = torch.sqrt(eps + c_x ** 2 + c_y ** 2 + c_z ** 2)sin_c2 = c_z / normcos_c2 = torch.sqrt(c_x ** 2 + c_y ** 2) / normc2_rots = sin_c2.new_zeros((*sin_c2.shape, 3, 3))c2_rots[..., 0, 0] = cos_c2c2_rots[..., 0, 2] = sin_c2c2_rots[..., 1, 1] = 1c2_rots[..., 2, 0] = -1 * sin_c2c2_rots[..., 2, 2] = cos_c2c_rots = rot_matmul(c2_rots, c1_rots)n_xyz = rot_vec_mul(c_rots, n_xyz)_, n_y, n_z = [n_xyz[..., i] for i in range(3)]norm = torch.sqrt(eps + n_y ** 2 + n_z ** 2)sin_n = -n_z / normcos_n = n_y / normn_rots = sin_c2.new_zeros((*sin_c2.shape, 3, 3))n_rots[..., 0, 0] = 1n_rots[..., 1, 1] = cos_n
http://www.dtcms.com/a/420819.html

相关文章:

  • 网站建设案例要多少钱品牌建设青之见
  • 品牌网站推广方案哪个网站做logo好
  • 盐城建设企业网站个人空间备案网站名称
  • 企业备案网站名称要求知名平面广告设计公司
  • 怎么做英文的网站企业网站开源代码
  • 三雷网站程序wordpress拖拽式布局
  • 成都市建网站公司学生登录注册入口
  • 找别人网站开发没给我源代码如何访问国外网站
  • 南昌网站建设网站推广如何查看网站做没做百度推广
  • 站长工具端口查询建设官网流程
  • 快速刷网站排名wordpress后台菜单管理
  • 支付网站建设成都新线加做网站
  • 好的建设网站公司删除西部数码网站管理助手
  • 淮安做网站杨凯新闻cms静态网站模板下载
  • 浙江建设继续教育网站首页中国最新新闻大事件
  • 做网站包含的技术网站开发需求表模板
  • 专业企业网站开发wordpress文章图片左右滑动
  • 山东富泰建设工程有限公司网站淘宝内部优惠券网站怎么做
  • 建设银行手机银行官方网站下载安装vps搬家wordpress
  • 江阴网站优化网站首页图片切换
  • 《道德经》第六章
  • 苏州网站制作电话金融投资网站方案
  • 建设京剧网站的意义网站开发的布局划分
  • C语言指针进阶(进阶)
  • Heteroskedasticity
  • 企业网站建设最新技术合肥长丰路网站建设
  • 建立个网站桂林山水网页制作
  • 做网站需要用什么系统微信群二维码大全网站
  • 国家重大项目建设库网站打不开wordpress广告延时加载
  • wordpress站点搭建docker wordpress 修改端口