ohos_GSAS-II:基于 Python 的 X射线与中子衍射数据分析项目

GSAS-II 是基于 Python/Fortran 的开源晶体衍射与 Rietveld 精修软件;针对鸿蒙 PC 无法运行 wxPython 桌面 GUI 与 Python/Fortran 科学计算栈的问题,采用原生 ArkUI 产品壳 + CrystalAnalysisService 服务边界 + 远端 GSAS-II 计算与版本化 JSON + AssetStoreKit 令牌存储架构重写;通过 HTTPS 安全连接经鉴权的计算服务,最终在鸿蒙 PC 跑通 CIF/XY/RAW/GPX 导入、项目空间、Rwp 分析摘要、精修配方提交与拟合趋势等核心流程。

Branch1Tags0

GSAS-II

Documentation Status Actions Status

OpenHarmony PC 迁移能力(T0/T1/T2)

本项目已完成 OpenHarmony / HarmonyOS PC(aarch64,2in1)适配,迁移能力按三档划分:

阶段 目标 本项目状态
T0 基础能力 可构建、可安装、可启动,主入口可用 ✅ 已完成
T1 主要能力 日常核心工作流可用 ✅ 已覆盖
T2 增强能力 桌面端高级能力/生态集成 ⚠️ 按平台能力取舍

完整的编译、运行、代码位置、限制与验证记录见 README.OpenHarmony_CN.md。

Summary

GSAS-II is used to analyze all types of x-ray and neutron diffraction data, including single-crystal, powder, constant-wavelength, pink-beam and time-of-flight, lab, synchrotron, spallation and reactor sources, including Rietveld analysis. It can handle large numbers of datasets. GSAS-II is free open source software.

URLs

Please Cite

If you use GSAS-II in any part of your project, please cite it in your publications. This is the most valuable way you can demonstrate your support of the project. Note that some sections of program utilize work by others and will display citations for that. If you use those sections, please cite those papers as well.
The primary citation for GSAS-II is:

Toby, B. H., & Von Dreele, R. B. (2013). "GSAS-II: the genesis of
a modern open-source all purpose crystallography software
package". Journal of Applied Crystallography, 46(2),
544-549. doi:10.1107/S0021889813003531 

Full Description

GSAS-II is a unique and comprehensive Python project for the calibration, reduction and analysis of all types of x-ray and neutron diffraction data, including single-crystal and powder data, including constant-wavelength, pink-beam and time-of-flight data types and from lab, synchrotron, spallation and reactor sources. Its primary use is for determination of crystal structures and diffraction-based materials characterization for crystalline solids on all scales, from perovskites through protein. Refinements can combine measurements from multiple data types and large groups of data can be analyzed together via "sequential fitting". It also provides powerful and flexible capabilities for integration of 2D powder diffraction image data. In addition to single-crystal and powder diffraction, GSAS-II offers small-angle scattering and reflectometry analysis, structure solution capabilities and interfaces to several other types of analysis tools, such as for pair distribution functions, faulted materials, maximum entropy Fourier maps and symmetry analysis.

GSAS-II offers extensive visualization capabilities and a complete GUI implementation. An applications-interface (API) allows for scripted use of much of the GSAS-II functionality.

Many capabilities of GSAS-II are unique to GSAS-II or are only found in software with very limited scope. For magnetic scattering, all possible color subgroups can be derived and explored. For incommensurate structures, a generalized form of 3+1 superstructures can be handled. From powder diffraction, GSAS-II supports all stages of data reduction and analysis, including area detector calibration and integration, pattern indexing, LeBail and Pawley intensity extraction and peak fitting. Pair distribution functions (PDF) can be computed from high-energy x-ray diffraction. Instrumental profile parameters can be fit to data from standards or derived from fundamental parameters; sample profile effects (crystallite size and microstrain) are treated independently from the instrument. Sequential fitting is a novel process that allows large numbers of data sets, measured with parametric changes in measurement settings, to be fit single refinement with subsequent parametric fitting.

GSAS-II is freely distributed as open source software; see the license file for more details. GSAS-II runs on Windows, MacOS, Linux and Raspberry Pi computers. It currently receives >950 citations/year.

Introduction

GSAS-II 是基于 Python/Fortran 的开源晶体衍射与 Rietveld 精修软件;针对鸿蒙 PC 无法运行 wxPython 桌面 GUI 与 Python/Fortran 科学计算栈的问题,采用原生 ArkUI 产品壳 + CrystalAnalysisService 服务边界 + 远端 GSAS-II 计算与版本化 JSON + AssetStoreKit 令牌存储架构重写;通过 HTTPS 安全连接经鉴权的计算服务,最终在鸿蒙 PC 跑通 CIF/XY/RAW/GPX 导入、项目空间、Rwp 分析摘要、精修配方提交与拟合趋势等核心流程。

Customize your domain