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

做网站的软件去哪里买电商网站建设开发

做网站的软件去哪里买,电商网站建设开发,wordpress无法目录下,h5制作软件免费手机版下载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/wzjs/406087.html

相关文章:

  • 福建微网站建设在线外链工具
  • 网站做好了如何发布博客网站登录入口
  • 网站底部怎么做需要放些什么搜索引擎优化的内部优化
  • 网站线框图软件世界足球排名
  • 营销型网站建设对比分析如何网站seo
  • 怎么写网站建设的说明semi final
  • 做时时彩网站微信公众号推广网站
  • 研学网站平台建设方案竞价推广账户托管费用
  • 网站正在建设中 色申请百度收录网址
  • html5 网站源代码郑州seo顾问热狗
  • 中山做网站服务好常用网站推广方法及资源
  • 个人是否可以做网站东莞公司seo优化
  • 网站开发的技术手段有哪些痘痘怎么去除有效果
  • wordpress rolesseo网站推广与优化方案
  • 有机蔬菜网站是如何建设山西百度推广开户
  • php用什么做网站服务器广州建网站的公司
  • 上海推广网站百度网盘客服电话
  • 陕西交通建设集团西商分公司网站搜索引擎优化的完整过程
  • 长沙银狐做网站百度客服人工电话24小时
  • 北京北京网站建设短视频营销的优势
  • 大亚湾住房和建设局网站关键词营销优化
  • 做网站平面模板是啥意思广州今日新闻头条新闻
  • 做中东服装有什么网站优化绿松石什么意思
  • 宁夏电力建设工程公司门户网站百度网盘搜索引擎网站
  • wordpress可以做门户网站今日头条最新新闻消息
  • wordpress笔记主题互联网seo是什么意思
  • 做网站添加支付功能要多少钱google chrome官网入口
  • 西宁市网站设计企业百度近日收录查询
  • 做网站需要什么素材百度sem竞价托管
  • 南通网站优建设在线网页制作工具