CN112037183A - 2D SAXS spectrum calculation method and device - Google Patents
2D SAXS spectrum calculation method and device Download PDFInfo
- Publication number
- CN112037183A CN112037183A CN202010817053.8A CN202010817053A CN112037183A CN 112037183 A CN112037183 A CN 112037183A CN 202010817053 A CN202010817053 A CN 202010817053A CN 112037183 A CN112037183 A CN 112037183A
- Authority
- CN
- China
- Prior art keywords
- saxs
- map
- preset
- atlas
- scatterers
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001797 two-dimensional small-angle X-ray scattering Methods 0.000 title claims abstract description 207
- 238000001228 spectrum Methods 0.000 title claims abstract description 47
- 238000004364 calculation method Methods 0.000 title claims abstract description 39
- 238000009826 distribution Methods 0.000 claims abstract description 51
- 238000000034 method Methods 0.000 claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012935 Averaging Methods 0.000 claims description 2
- 230000008859 change Effects 0.000 abstract description 20
- 238000000235 small-angle X-ray scattering Methods 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 58
- 239000011159 matrix material Substances 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000005315 distribution function Methods 0.000 description 8
- 238000001464 small-angle X-ray scattering data Methods 0.000 description 8
- 238000009827 uniform distribution Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 2
- 238000000333 X-ray scattering Methods 0.000 description 1
- 239000000956 alloy Substances 0.000 description 1
- 229910045601 alloy Inorganic materials 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001427 coherent effect Effects 0.000 description 1
- 239000000084 colloidal system Substances 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000001066 destructive effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000839 emulsion Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229920002521 macromolecule Polymers 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002086 nanomaterial Substances 0.000 description 1
- 239000002105 nanoparticle Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229920000867 polyelectrolyte Polymers 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 239000011148 porous material Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10056—Microscopic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10116—X-ray image
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Analysing Materials By The Use Of Radiation (AREA)
- Image Processing (AREA)
Abstract
本申请实施例公开了一种二维小角度X射线散射2D SAXS图谱的计算方法,所述方法根据预设分布参数,基于GPU并行计算技术,生成第一2D SAXS图谱,比较所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量:当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱;当所述变化量小于或等于所述预设阈值时,确定所述第一2D SAXS图谱为目标2D SAXS图谱。所述高通量2D SAXS图谱计算方法利用GPU中多个线程同时并行计算2D SAXS图谱上每个像素点的像素强度值,极大地提高了单张2D SAXS图谱的计算速度(秒量级)。
The embodiment of the present application discloses a method for calculating a two-dimensional small-angle X-ray scattering 2D SAXS spectrum. The method generates a first 2D SAXS spectrum based on a preset distribution parameter and a GPU parallel computing technology, and compares the first 2D SAXS spectrum. The amount of change of the average pixel intensity value of the SAXS map relative to the average pixel intensity value of the preset 2D SAXS map: when the change is greater than a preset threshold, the preset 2D SAXS map is updated according to the first 2D SAXS map ; When the amount of change is less than or equal to the preset threshold, determine that the first 2D SAXS atlas is the target 2D SAXS atlas. The high-throughput 2D SAXS atlas calculation method utilizes multiple threads in the GPU to simultaneously and parallelly calculate the pixel intensity value of each pixel on the 2D SAXS atlas, which greatly improves the calculation speed (on the order of seconds) of a single 2D SAXS atlas.
Description
技术领域technical field
本申请涉及高性能并行计算和小角X射线散射交叉技术领域,尤其涉及一种2DSAXS图谱计算方法及装置。The present application relates to the technical field of high-performance parallel computing and small-angle X-ray scattering crossover, and in particular, to a 2DSAXS spectrum computing method and device.
背景技术Background technique
小角X射线散射(Small Angle X-ray Scattering,SAXS)是指在靠近原X射线束附近很小角度范围内电子对X射线的相干散射现象,通过分析样品中基体与微结构之间电子密度差所导致的X射线散射强度涨落,可有效探测材料内部纳米尺度(1-1000nm)范围内的微结构(包括微纳颗粒、孔隙结构等)的形状、大小、分布及含量等空间几何信息。同时,SAXS技术具有高穿透性、制样简单、无损探测、测试快速、统计性好以及适用范围广等特点,是当前新材料纳米尺度微结构高通量表征技术中不可缺少的微观-介观尺度关键分析表征手段,被广泛应用于合金、悬浮液、乳液、胶体、高分子溶液、天然大分子、液晶、薄膜、聚电解质、复合物、纳米材料等诸多研究领域。Small Angle X-ray Scattering (SAXS) refers to the coherent scattering of X-rays by electrons in a small angle range close to the original X-ray beam. By analyzing the difference in electron density between the matrix and the microstructure in the sample The resulting fluctuations in X-ray scattering intensity can effectively detect the shape, size, distribution and content of microstructures (including micro-nano particles, pore structures, etc.) within the nanoscale (1-1000nm) range of the material. Spatial geometric information. At the same time, SAXS technology has the characteristics of high penetrability, simple sample preparation, non-destructive detection, fast testing, good statistics and wide application range, etc. It is widely used in many research fields such as alloys, suspensions, emulsions, colloids, polymer solutions, natural macromolecules, liquid crystals, thin films, polyelectrolytes, composites, and nanomaterials.
现有技术中虽然已有一些方法能够有效计算各向异性体系的理论2D SAXS图谱,但理论2D SAXS图谱的计算量通常巨大,需要多次迭代和系综平均来满足统计性要求,单张理论2D SAXS谱图的计算速度远不能满足实际的研究需求。Although there are some methods in the prior art that can effectively calculate the theoretical 2D SAXS spectrum of anisotropic systems, the computational complexity of the theoretical 2D SAXS spectrum is usually huge, and multiple iterations and ensemble averaging are required to meet the statistical requirements. The calculation speed of 2D SAXS spectra is far from meeting the actual research needs.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种二维小角度X射线散射2D SAXS图谱的计算方法,所述方法根据预设分布参数,基于GPU并行计算技术,生成第一2D SAXS图谱,比较所述第一2DSAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量:当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱;当所述变化量小于或等于所述预设阈值时,确定所述第一2D SAXS图谱为目标2D SAXS图谱。所述计算方法利用GPU中多个线程同时并行计算2D SAXS图谱上每个像素点的像素强度值,极大地提高了单张2D SAXS图谱的计算速度(秒量级)。An embodiment of the present application provides a method for calculating a 2D SAXS spectrum of two-dimensional small-angle X-ray scattering. The method generates a first 2D SAXS spectrum according to preset distribution parameters and based on GPU parallel computing technology, and compares the first 2D SAXS spectrum. The amount of change of the average pixel intensity value of the atlas relative to the average pixel intensity value of the preset 2D SAXS atlas: when the change is greater than the preset threshold, the preset 2D SAXS atlas is updated according to the first 2D SAXS atlas; When the amount of change is less than or equal to the preset threshold, the first 2D SAXS spectrum is determined to be the target 2D SAXS spectrum. The calculation method utilizes multiple threads in the GPU to simultaneously and parallelly calculate the pixel intensity value of each pixel on the 2D SAXS atlas, which greatly improves the calculation speed (on the order of seconds) of a single 2D SAXS atlas.
本申请实施例第一方面提供了一种2D SAXS图谱的计算方法,应用于电子设备,所述2D SAXS图谱计算方法包括:根据预设分布参数生成第一2D SAXS图谱;计算所述第一2DSAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量;当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱;当所述变化量小于或等于所述预设阈值时,确定所述第一2D SAXS图谱为目标2D SAXS图谱。A first aspect of the embodiments of the present application provides a method for calculating a 2D SAXS spectrum, which is applied to an electronic device. The method for calculating a 2D SAXS spectrum includes: generating a first 2D SAXS spectrum according to preset distribution parameters; calculating the first 2DSAXS spectrum The variation of the average pixel intensity value of the atlas relative to the average pixel intensity value of the preset 2D SAXS atlas; when the variation is greater than a preset threshold, the preset 2D SAXS atlas is updated according to the first 2D SAXS atlas; When the amount of change is less than or equal to the preset threshold, the first 2D SAXS spectrum is determined to be the target 2D SAXS spectrum.
可以看出,在本实施方式中,所述2D SAXS图谱的计算方法根据预设分布参数,基于GPU并行计算技术,生成第一2D SAXS图谱,然后比较所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量,进行多次迭代,确定目标2DSAXS图谱。所述方法利用GPU中多个线程同时并行计算2D SAXS图谱上每个像素点的像素强度值,极大地提高了单张2D SAXS图谱的计算速度,从而可以满足海量2D SAXS图谱的计算需求。It can be seen that, in this embodiment, the method for calculating the 2D SAXS atlas is based on the preset distribution parameters and the GPU parallel computing technology to generate a first 2D SAXS atlas, and then compares the average pixel intensity of the first 2D SAXS atlas. The amount of change in the value relative to the average pixel intensity value of the preset 2D SAXS atlas, multiple iterations are performed to determine the target 2DSAXS atlas. The method utilizes multiple threads in the GPU to simultaneously and parallelly calculate the pixel intensity value of each pixel on the 2D SAXS atlas, which greatly improves the calculation speed of a single 2D SAXS atlas, thereby meeting the computational requirements of massive 2D SAXS atlases.
结合第一方面,在一个可行的实施方式中,所述方法还包括:当所述变化量大于所述预设阈值时,且在所述预设2D SAXS图谱更新结束后,根据所述预设分布参数生成第二2DSAXS图谱;将所述第一2D SAXS图谱的图像内容更新为所述第二2D SAXS图谱的图像内容。With reference to the first aspect, in a feasible embodiment, the method further includes: when the amount of change is greater than the preset threshold, and after the update of the preset 2D SAXS map is completed, according to the preset The distribution parameter generates a second 2DSAXS map; and the image content of the first 2D SAXS map is updated to the image content of the second 2D SAXS map.
结合第一方面,在一个可行的实施方式中,所述根据预设分布参数生成第一2DSAXS图谱包括:根据所述预设分布参数确定N个散射体的第一模型数据,其中,所述N为正整数;根据所述第一模型数据生成所述第一2D SAXS图谱。With reference to the first aspect, in a feasible embodiment, the generating the first 2DSAXS spectrum according to the preset distribution parameter includes: determining the first model data of N scatterers according to the preset distribution parameter, wherein the N is a positive integer; the first 2D SAXS map is generated according to the first model data.
结合第一方面,在一个可行的实施方式中,所述根据所述预设分布参数生成第二2D SAXS图谱,包括:根据所述预设分布参数确定M个散射体的第二模型数据,其中,所述M为正整数;根据所述第二模型数据生成第二2D SAXS图谱。With reference to the first aspect, in a feasible embodiment, the generating the second 2D SAXS spectrum according to the preset distribution parameters includes: determining second model data of M scatterers according to the preset distribution parameters, wherein , the M is a positive integer; a second 2D SAXS map is generated according to the second model data.
结合第一方面,在一个可行的实施方式中,所述更新所述预设2D SAXS图谱,包括:将所述第一2D SAXS图谱与所述预设2D SAXS图谱上对应像素点的像素强度值进行相加后取平均值,得到更新后的所述预设2D SAXS图谱。With reference to the first aspect, in a feasible implementation manner, the updating the preset 2D SAXS map includes: comparing the first 2D SAXS map with the pixel intensity values of corresponding pixels on the preset 2D SAXS map After the addition is performed, the average value is obtained to obtain the updated preset 2D SAXS map.
结合第一方面,在一个可行的实施方式中,所述根据所述第一模型数据生成所述第一2D SAXS图谱,包括:将所述第一模型数据中N个散射体的形状、长轴、短轴、天顶角和空间方位角分别建立五个第一矩阵,其中,所述N个散射体中的每个散射体包括一组形状、长轴、短轴、天顶角和空间方位角数据;根据所述五个第一矩阵计算所述第一2D SAXS图谱。With reference to the first aspect, in a feasible embodiment, the generating the first 2D SAXS map according to the first model data includes: converting the shapes, long axes of the N scatterers in the first model data , the short axis, the zenith angle, and the spatial azimuth to establish five first matrices, wherein each of the N scatterers includes a set of shape, long axis, short axis, zenith angle and spatial azimuth Angular data; the first 2D SAXS map is calculated from the five first matrices.
结合第一方面,在一个可行的实施方式中,所述根据所述第二模型数据生成第二2D SAXS图谱,包括:将所述第二模型数据中M个散射体的形状、长轴、短轴、天顶角和空间方位角分别建立五个第二矩阵,其中,所述M个散射体中的每个散射体包括一组形状、长轴、短轴、天顶角和空间方位角数据;根据所述五个第二矩阵计算所述第二2D SAXS图谱。With reference to the first aspect, in a feasible implementation manner, the generating a second 2D SAXS map according to the second model data includes: converting the shape, long axis, short axis of the M scatterers in the second model data The axis, zenith angle and spatial azimuth angle respectively establish five second matrices, wherein each scatterer in the M scatterers includes a set of shape, long axis, short axis, zenith angle and spatial azimuth angle data ; Calculate the second 2D SAXS atlas according to the five second matrices.
本申请实施例第二方面提供了一种用于计算2D SAXS图谱的装置,包括:生成模块,用于根据预设分布参数生成第一2D SAXS图谱;计算模块,用于计算所述第一2D SAXS图谱平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量;更新模块,用于当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱;确定模块,用于当所述变化量小于或等于所述预设阈值时,确定所述第一2D SAXS图谱为目标2DSAXS图谱。A second aspect of an embodiment of the present application provides an apparatus for calculating a 2D SAXS map, including: a generating module for generating a first 2D SAXS map according to preset distribution parameters; a calculating module for calculating the first 2D SAXS map The variation of the average pixel intensity value of the SAXS spectrum relative to the average pixel intensity value of the preset 2D SAXS spectrum; an update module, configured to update the preset according to the first 2D SAXS spectrum when the variation is greater than a preset threshold A 2D SAXS spectrum is set; a determination module is configured to determine that the first 2D SAXS spectrum is a target 2DSAXS spectrum when the variation is less than or equal to the preset threshold.
本申请实施例第三方面提供了一种电子设备,包括:处理器和存储器;所述处理器和存储器相连,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,以执行如上述第一方面中任一项所述的方法。A third aspect of an embodiment of the present application provides an electronic device, including: a processor and a memory; the processor is connected to the memory, wherein the memory is used to store program codes, and the processor is used to call the program codes , to perform the method according to any one of the above first aspects.
本申请实施例第四方面提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,执行如上述第一方面中任一项所述的方法。A fourth aspect of an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program includes program instructions, and when the program instructions are executed by a processor, the first aspect is executed as described above. The method of any of the above.
附图说明Description of drawings
以下对本申请实施例用到的附图进行介绍。The accompanying drawings used in the embodiments of the present application will be introduced below.
图1是本申请实施例提供的一种2D SAXS图谱的计算方法流程图;Fig. 1 is the calculation method flow chart of a kind of 2D SAXS spectrum provided in the embodiment of the present application;
图2是本申请实施例提供的另一种2D SAXS图谱的计算方法流程图;Fig. 2 is the flow chart of the calculation method of another 2D SAXS spectrum provided in the embodiment of the present application;
图3是本申请实施例提供的一种用于计算2D SAXS图谱的装置结构示意图;3 is a schematic structural diagram of a device for calculating a 2D SAXS spectrum provided by an embodiment of the present application;
图4是本申请实施例提供的另一种用于计算2D SAXS图谱的装置结构示意图;4 is a schematic structural diagram of another device for calculating a 2D SAXS map provided by an embodiment of the present application;
图5是本申请实施例提供的一种用于计算2D SAXS图谱的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device for calculating a 2D SAXS spectrum provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种2D SAXS图谱的计算方法及装置,该2D SAXS图谱的计算方法用于电子设备中,根据所述2D SAXS图谱的计算方法能够大幅提升单张2D SAXS图谱的计算速度。The embodiments of the present application provide a method and device for calculating a 2D SAXS atlas. The calculation method of the 2D SAXS atlas is used in electronic equipment, and the calculation speed of a single 2D SAXS atlas can be greatly improved according to the calculation method of the 2D SAXS atlas. .
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
请参见图1,图1是申请实施例提供的一种2D SAXS图谱的计算方法流程图;所述2DSAXS图谱的计算方法包括:Please refer to Fig. 1, Fig. 1 is the flow chart of the calculation method of a kind of 2D SAXS atlas provided by the application embodiment; The calculation method of described 2DSAXS atlas includes:
步骤S101:根据预设分布参数确定N个散射体的第一模型数据,其中,所述N为正整数。Step S101: Determine first model data of N scatterers according to preset distribution parameters, where N is a positive integer.
具体地,根据所述预设分布参数确定所述N个散射体的所述第一模型数据,其中,所述预设分布参数为所述N个散射体的一组统计参数,包括所述N个散射体的形状、尺寸和角度分布参数,所述N个散射体的形状相同,即所述N个散射体都为椭球体、超椭球体或其它形状,所述预设分布参数根据随机均匀函数从实验获得的取值范围内随机产生;所述第一模型数据包括N组形状、尺寸和角度数值,所述N个散射体与所述N组形状、尺寸和角度数值一一对应;将所述尺寸和所述角度分布参数分别带入对应的分布函数中,得到所述N组尺寸和角度数值,当散射体的形状不同时,描述所述散射体的形状函数也对应不同,所述第一模型数据中的N组形状数值根据所述随机均匀分布函数从与所述N个散射体对应的形状函数中待定系数的一定取值范围内产生,所述一定取值范围根据实验得到。Specifically, the first model data of the N scatterers is determined according to the preset distribution parameter, wherein the preset distribution parameter is a set of statistical parameters of the N scatterers, including the N scatterers The shape, size and angle distribution parameters of each scatterer, the N scatterers have the same shape, that is, the N scatterers are all ellipsoids, hyperellipsoids or other shapes, and the preset distribution parameters are based on random uniformity The function is randomly generated from the value range obtained by the experiment; the first model data includes N groups of shape, size and angle values, and the N scatterers are in one-to-one correspondence with the N groups of shape, size and angle values; the The size and the angle distribution parameters are respectively brought into the corresponding distribution functions to obtain the N groups of size and angle values. When the shapes of the scatterers are different, the shape functions describing the scatterers are correspondingly different. The N groups of shape values in the first model data are generated from a certain value range of undetermined coefficients in the shape functions corresponding to the N scatterers according to the random uniform distribution function, and the certain value range is obtained according to experiments.
其中,所述随机均匀分布函数可以是数值计算函数库NUMPY中的RANDOM.RAND,或NUMPY和其它函数库中功能类似的函数中的任一一种。Wherein, the random uniform distribution function may be RANDOM.RAND in the numerical calculation function library NUMPY, or any one of functions in NUMPY and other function libraries with similar functions.
举例来说,当所述N个散射体的形状为超椭球体时,所述超椭球体的尺寸包括长轴和短轴,所述超椭球体的角度包括天顶角和空间方位角;此时所述预设分布参数中的所述尺寸分布参数包括长轴参数和短轴参数,所述长轴参数和所述短轴参数对应的所述分布函数都为对数正态分布函数,将所述长轴参数代入所述对数正态分布函数中,根据所述随机均匀分布函数得到所述N个散射体的N个长轴尺寸,将所述短轴参数代入所述对数正态分布函数中,根据所述随机均匀分布函数得到所述N个散射体的N个短轴尺寸;所述预设分布参数中的所述角度分布参数包括天顶角参数,所述天顶角分布参数对应的所述分布函数为圆形分布,将所述天顶角参数代入所述圆形分布函数中,根据所述随机均匀分布函数得到所述N个散射体的N个天顶角角度;所述N个散射体的N个空间方位角的数值根据所述随机均匀分布函数得到;描述超椭球体的形状函数为超椭球体函数,所述超椭球体函数中控制所述超椭球体具体形状的待定系数为水平方向上的圆滑程度e和竖直方向上的圆滑程度n,根据所述随机均匀分布函数确定所述N个散射体的N组e和n的数值;综上可知,当所述N个散射体的形状为超椭球体时,所述第一模型数据包括N组水平方向上的圆滑程度、竖直方向上的圆滑程度、长轴、短轴、天顶角和空间方位角的数值;不难理解,当所述N个散射体的形状为其它形状时,所述预设分布参数及计算得到的对应的所述第一模型数据也不相同。For example, when the shape of the N scatterers is a hyper-ellipsoid, the size of the hyper-ellipsoid includes a major axis and a minor axis, and the angle of the hyper-ellipsoid includes a zenith angle and a spatial azimuth angle; this The size distribution parameters in the preset distribution parameters include a long-axis parameter and a short-axis parameter, and the distribution functions corresponding to the long-axis parameter and the short-axis parameter are both log-normal distribution functions. Substitute the long-axis parameter into the log-normal distribution function, obtain N long-axis sizes of the N scatterers according to the random uniform distribution function, and substitute the short-axis parameter into the log-normal In the distribution function, the N short-axis sizes of the N scatterers are obtained according to the random uniform distribution function; the angle distribution parameters in the preset distribution parameters include a zenith angle parameter, and the zenith angle distribution The distribution function corresponding to the parameter is a circular distribution, and the zenith angle parameter is substituted into the circular distribution function, and N zenith angle angles of the N scatterers are obtained according to the random uniform distribution function; The numerical values of the N spatial azimuth angles of the N scatterers are obtained according to the random uniform distribution function; the shape function describing the hyperellipsoid is a hyperellipsoid function, and the hyperellipsoid function is controlled in the hyperellipsoid function. The undetermined coefficients of the shape are the roundness degree e in the horizontal direction and the roundness degree n in the vertical direction, and the values of N groups of e and n of the N scatterers are determined according to the random uniform distribution function; When the shape of the N scatterers is a hyperellipsoid, the first model data includes N groups of smoothness in the horizontal direction, smoothness in the vertical direction, major axis, minor axis, zenith angle and spatial orientation It is not difficult to understand that when the shapes of the N scatterers are other shapes, the preset distribution parameters and the corresponding first model data obtained by calculation are also different.
其中,所述长轴参数包括长轴均值和长轴方差,所述短轴参数包括短轴均值和短轴方差,所述天顶角参数包括天顶角均值和天顶角方差。Wherein, the long-axis parameter includes the long-axis mean and the long-axis variance, the short-axis parameter includes the short-axis mean and the short-axis variance, and the zenith angle parameter includes the zenith angle mean and the zenith angle variance.
步骤S102:根据所述第一模型数据生成第一2D SAXS图谱。Step S102: Generate a first 2D SAXS map according to the first model data.
具体地,根据数值计算函数库NUMPY中的RESHAPE函数或与该函数功能类似的函数将所述第一模型数据矩阵化,即将所述第一模型数据中的N组形状、长轴尺寸、短轴尺寸、天顶角和空间方位角数据分别建立五个第一矩阵;根据所述数值计算函数库NUMPY中的ASTYPE函数或与该函数功能类似的函数将所述五个第一矩阵中的数值类型转换为单精度浮点型;根据所述数值计算函数库NUMPY中的PYCUDA函数或与该函数功能类似的函数将存储在CPU中的单精度浮点型所述第一矩阵拷贝到GPU内存中。Specifically, according to the RESHAPE function in the numerical calculation function library NUMPY or a function similar to this function, the first model data is matrixed, that is, the N groups of shapes, long-axis dimensions, short-axis in the first model data The data of size, zenith angle and spatial azimuth are respectively set up five first matrices; according to the ASTYPE function in the numerical calculation function library NUMPY or a function similar to this function, the numerical types in the five first matrices are converted into Convert to single-precision floating-point type; copy the first matrix of single-precision floating-point type stored in the CPU to the GPU memory according to the PYCUDA function in the numerical calculation function library NUMPY or a function similar to this function.
进一步地,将GPU中的所有计算单元进行二维网格(Grid)初始化,将每一个格点进行二维线程块(Block)初始化,再将每一个线程块进行二维线程(Thread)初始化,得到初始化参数,所述初始化参数根据2DSAXS图谱的尺寸以及GPU设备单个流处理器所支持的最大线程数目共同决定,所述初始化参数即为计算所述2DSAXS图谱时同时开启的线程数量;利用单个线程执行所述2DSAXS图谱中单一像素点像素值的计算,多个线程根据转化为单精度浮点型所述第一矩阵同时计算所述2DSAXS图谱中每个像素点的像素值,从而快速地得到所述第一2D SAXS图谱,其中,所述单个线程根据所述数值计算函数库NUMPY中的BLOCKIDX和BLOCKDIM函数或其它功能类似的函数完成与该单个线程对应的像素点的坐标索引;所述2DSAXS图谱中单一像素点的像素值通过对所述N个散射体中的每个散射体对该像素点的像素贡献值进行求和得到,所述N个散射体中的每个散射体对所述2DSAXS图谱中不同像素点的像素强度的贡献量基于所述每个散射体的密度分布或形状因子确定。Further, all computing units in the GPU are initialized with a two-dimensional grid (Grid), each grid point is initialized with a two-dimensional thread block (Block), and then each thread block is initialized with a two-dimensional thread (Thread), Obtaining initialization parameters, the initialization parameters are jointly determined according to the size of the 2DSAXS map and the maximum number of threads supported by a single stream processor of the GPU device, and the initialization parameters are the number of threads simultaneously opened when calculating the 2DSAXS map; using a single thread Execute the calculation of the pixel value of a single pixel in the 2DSAXS map, and multiple threads simultaneously calculate the pixel value of each pixel in the 2DSAXS map according to the first matrix converted into a single-precision floating-point type, so as to quickly obtain the result. The first 2D SAXS map, wherein the single thread completes the coordinate index of the pixel corresponding to the single thread according to the BLOCKIDX and BLOCKDIM functions in the numerical calculation function library NUMPY or other functions with similar functions; the 2DSAXS map The pixel value of a single pixel is obtained by summing the pixel contribution value of each of the N scatterers for the pixel, and each of the N scatterers contributes to the 2DSAXS The contribution of the pixel intensities of different pixel points in the map is determined based on the density distribution or shape factor of each scatterer.
步骤S103:计算所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量。Step S103: Calculate the variation of the average pixel intensity value of the first 2D SAXS map relative to the average pixel intensity value of the preset 2D SAXS map.
具体地,将所述GPU中所述每个线程计算得到的对应像素点的像素值进行求和(对散射体数目求和)后取平均值,得到所述第一2D SAXS图谱的平均像素强度值,利用GPU计算所述预设2DSAXS图谱的平均像素强度值,将所述第一2D SAXS图谱的平均像素强度值与所述预设2D SAXS图谱的平均像素强度值进行比较,得到所述第一2D SAXS图谱的平均像素强度值相对于所述预设2D SAXS图谱的平均像素强度值的变化量。Specifically, the pixel values of the corresponding pixel points calculated by each thread in the GPU are summed (summation of the number of scatterers) and then averaged to obtain the average pixel intensity of the first 2D SAXS map value, use the GPU to calculate the average pixel intensity value of the preset 2D SAXS map, and compare the average pixel intensity value of the first 2D SAXS map with the average pixel intensity value of the preset 2D SAXS map to obtain the first 2D SAXS map. The amount of change in the average pixel intensity value of a 2D SAXS map relative to the average pixel intensity value of the preset 2D SAXS map.
其中,在第一次所述第一2D SAXS图谱的计算过程中,所述预设2DSAXS图谱可以设置为与所述第一2D SAXS图谱尺寸相同的任意图谱。Wherein, in the calculation process of the first 2D SAXS atlas for the first time, the preset 2DSAXS atlas can be set to any atlas with the same size as the first 2D SAXS atlas.
步骤S104:当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱。Step S104: when the variation is greater than a preset threshold, update the preset 2D SAXS map according to the first 2D SAXS map.
具体地,当所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量大于所述预设阈值时,将所述第一2D SAXS图谱与所述预设2D SAXS图谱上对应像素点的像素值进行相加后取平均值,得到更新后的所述预设2DSAXS图谱。Specifically, when the variation of the average pixel intensity value of the first 2D SAXS atlas relative to the average pixel intensity value of the preset 2D SAXS atlas is greater than the preset threshold, the first 2D SAXS atlas and the The pixel values of the corresponding pixel points on the preset 2D SAXS map are added and then averaged to obtain the updated preset 2DSAXS map.
其中,所述预设阈值为百分之一或其它任意值,由具体应用场景确定,此处不做具体限定。Wherein, the preset threshold value is one percent or any other value, which is determined by a specific application scenario, and is not specifically limited here.
步骤S105:当所述变化量小于或等于所述预设阈值时,确定所述第一2D SAXS图谱为目标2D SAXS图谱。Step S105: When the amount of change is less than or equal to the preset threshold, determine that the first 2D SAXS atlas is the target 2D SAXS atlas.
具体地,当所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量小于或等于所述预设阈值时,将所述第一2D SAXS图谱确定为目标2D SAXS图谱。Specifically, when the variation of the average pixel intensity value of the first 2D SAXS atlas relative to the average pixel intensity value of the preset 2D SAXS atlas is less than or equal to the preset threshold, determining the first 2D SAXS atlas for the target 2D SAXS map.
可以看出,在本实施方式中,所述2D SAXS图谱的计算方法根据预设分布参数,基于GPU并行计算技术,生成第一2D SAXS图谱,然后比较所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量,进行多次迭代,确定目标2DSAXS图谱。所述方法利用GPU中多个线程同时并行计算2D SAXS图谱上每个像素点的像素强度值,极大地提高了单张2D SAXS图谱的计算速度,从而可以满足海量2D SAXS图谱的计算需求。It can be seen that, in this embodiment, the method for calculating the 2D SAXS atlas is based on the preset distribution parameters and the GPU parallel computing technology to generate a first 2D SAXS atlas, and then compares the average pixel intensity of the first 2D SAXS atlas. The amount of change in the value relative to the average pixel intensity value of the preset 2D SAXS atlas, multiple iterations are performed to determine the target 2DSAXS atlas. The method utilizes multiple threads in the GPU to simultaneously and parallelly calculate the pixel intensity value of each pixel on the 2D SAXS atlas, which greatly improves the calculation speed of a single 2D SAXS atlas, thereby meeting the computational requirements of massive 2D SAXS atlases.
在一种可行的实施方式中,所述方法还包括:当所述变化量大于所述预设阈值时,且在所述预设2D SAXS图谱更新结束后,根据所述预设分布参数更新所述第一2D SAXS图谱。In a feasible implementation manner, the method further includes: when the amount of change is greater than the preset threshold, and after the update of the preset 2D SAXS map is completed, updating the preset distribution parameter according to the The first 2D SAXS spectrum is described.
具体地,当所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量大于所述预设阈值时,且在所述预设2D SAXS图谱更新结束后,根据所述预设分布参数确定M个散射体的第二模型数据,对所述第二模型数据进行矩阵化处理,得到五个第二矩阵,根据所述五个第二矩阵,并利用GPU多线程并行计算生成所述第二2DSAXS图谱,将所述第二2D SAXS图谱的图谱内容替换所述第一2D SAXS图谱的图谱内容,完成所述第一2D SAXS图谱的更新。Specifically, when the change amount of the average pixel intensity value of the first 2D SAXS map relative to the average pixel intensity value of the preset 2D SAXS map is greater than the preset threshold, and the update of the preset 2D SAXS map ends Then, the second model data of M scatterers is determined according to the preset distribution parameters, and the second model data is subjected to matrix processing to obtain five second matrices. According to the five second matrices, and using The second 2D SAXS atlas is generated by GPU multi-thread parallel computing, and the atlas content of the second 2D SAXS atlas is replaced by the atlas content of the first 2D SAXS atlas, and the update of the first 2D SAXS atlas is completed.
其中,所述第二2D SAXS图谱的具体获取过程与步骤S101中所述第一2D SAXS图谱的获取过程相同,此处不再赘述,所述M为正整数。Wherein, the specific acquisition process of the second 2D SAXS spectrum is the same as the acquisition process of the first 2D SAXS spectrum in step S101 , which is not repeated here, and the M is a positive integer.
请参见图2,图2是本申请实施例提供的另一种2D SAXS图谱的计算方法流程图,所述2D SAXS图谱的计算方法包括:Please refer to Fig. 2, Fig. 2 is a flow chart of a calculation method of another 2D SAXS atlas provided by the embodiment of the present application, and the calculation method of the 2D SAXS atlas includes:
步骤S201:获取第一模型数据。Step S201: Acquire first model data.
具体地,根据所述预设分布参数确定所述N个散射体的所述第一模型数据,其中,所述预设分布参数为所述N个散射体的一组统计参数,包括所述N个散射体的形状、尺寸和角度分布参数,所述N个散射体的形状相同,即所述N个散射体都为椭球体、超椭球体或其它形状,所述预设分布参数根据随机均匀函数从实验获得的取值范围内随机产生;所述第一模型数据包括N组形状、尺寸和角度数值,所述N个散射体与所述N组形状、尺寸和角度数值一一对应;将所述尺寸和所述角度分布参数分别带入对应的分布函数中,得到所述N组尺寸和角度数值,当散射体的形状不同时,描述所述散射体的形状函数也对应不同,所述模型数据中的N组形状数值根据所述随机均匀分布函数从与所述N个散射体对应的形状函数中待定系数的一定取值范围内产生,所述一定取值范围根据实验得到。Specifically, the first model data of the N scatterers is determined according to the preset distribution parameter, wherein the preset distribution parameter is a set of statistical parameters of the N scatterers, including the N scatterers The shape, size and angle distribution parameters of each scatterer, the N scatterers have the same shape, that is, the N scatterers are all ellipsoids, hyperellipsoids or other shapes, and the preset distribution parameters are based on random uniformity The function is randomly generated from the value range obtained by the experiment; the first model data includes N groups of shape, size and angle values, and the N scatterers are in one-to-one correspondence with the N groups of shape, size and angle values; the The size and the angle distribution parameters are respectively brought into the corresponding distribution functions to obtain the N groups of size and angle values. When the shapes of the scatterers are different, the shape functions describing the scatterers are correspondingly different. The N groups of shape values in the model data are generated from a certain value range of undetermined coefficients in the shape function corresponding to the N scatterers according to the random uniform distribution function, and the certain value range is obtained according to experiments.
本步骤中其它详细过程与步骤S101中一致,此处不再赘述。Other detailed processes in this step are the same as those in step S101, and are not repeated here.
步骤S202:将存储在CPU中的所述第一模型数据拷贝至GPU。Step S202: Copy the first model data stored in the CPU to the GPU.
具体地,根据数值计算函数库NUMPY中的RESHAPE函数或与该函数功能类似的函数将所述第一模型数据矩阵化,即将所述第一模型数据中的N组形状、长轴尺寸、短轴尺寸、天顶角和空间方位角数据分别建立五个第一矩阵;根据所述数值计算函数库NUMPY中的ASTYPE函数或与该函数功能类似的函数将所述五个第一矩阵中的数值类型转换为单精度浮点型;根据所述数值计算函数库NUMPY中的PYCUDA函数或与该函数功能类似的函数将存储在CPU中的单精度浮点型所述第一矩阵拷贝到GPU内存中。Specifically, according to the RESHAPE function in the numerical calculation function library NUMPY or a function similar to this function, the first model data is matrixed, that is, the N groups of shapes, long-axis dimensions, short-axis in the first model data The data of size, zenith angle and spatial azimuth are respectively set up five first matrices; according to the ASTYPE function in the numerical calculation function library NUMPY or a function similar to this function, the numerical types in the five first matrices are converted into Convert to single-precision floating-point type; copy the first matrix of single-precision floating-point type stored in the CPU to the GPU memory according to the PYCUDA function in the numerical calculation function library NUMPY or a function similar to this function.
步骤S203:根据所述第一模型数据,并利用GPU并行计算,生成所述第一2D SAXS图谱。Step S203: Generate the first 2D SAXS map according to the first model data and use GPU parallel computing.
具体地,将GPU中的所有计算单元进行二维网格(Grid)初始化,将每一个格点进行二维线程块(Block)初始化,再将每一个线程块进行二维线程(Thread)初始化,得到初始化参数,所述初始化参数根据2DSAXS图谱的尺寸以及GPU设备单个流处理器所支持的最大线程数目共同决定,所述初始化参数即为计算所述2DSAXS图谱时同时开启的线程数量;利用单个线程执行所述2DSAXS图谱中单一像素点像素值的计算,多个线程根据转化为单精度浮点型所述第一矩阵同时计算所述2DSAXS图谱中每个像素点的像素值,从而快速地得到所述第一2D SAXS图谱,其中,所述单个线程根据所述数值计算函数库NUMPY中的BLOCKIDX和BLOCKDIM函数或其它功能类似的函数完成与该单个线程对应的像素点的坐标索引;所述2DSAXS图谱中单一像素点的像素值通过对所述N个散射体中的每个散射体对该像素点的像素贡献值进行求和得到,所述N个散射体中的每个散射体对所述2DSAXS图谱中不同像素点的像素强度的贡献量基于所述每个散射体的密度分布或形状因子确定。Specifically, all computing units in the GPU are initialized with a two-dimensional grid (Grid), each grid point is initialized with a two-dimensional thread block (Block), and then each thread block is initialized with a two-dimensional thread (Thread), Obtaining initialization parameters, the initialization parameters are jointly determined according to the size of the 2DSAXS map and the maximum number of threads supported by a single stream processor of the GPU device, and the initialization parameters are the number of threads simultaneously opened when calculating the 2DSAXS map; using a single thread Execute the calculation of the pixel value of a single pixel in the 2DSAXS map, and multiple threads simultaneously calculate the pixel value of each pixel in the 2DSAXS map according to the first matrix converted into a single-precision floating-point type, so as to quickly obtain the result. The first 2D SAXS map, wherein the single thread completes the coordinate index of the pixel corresponding to the single thread according to the BLOCKIDX and BLOCKDIM functions in the numerical calculation function library NUMPY or other functions with similar functions; the 2DSAXS map The pixel value of a single pixel is obtained by summing the pixel contribution value of each of the N scatterers for the pixel, and each of the N scatterers contributes to the 2DSAXS The contribution of the pixel intensities of different pixel points in the map is determined based on the density distribution or shape factor of each scatterer.
步骤S204:根据所述第一2D SAXS图谱和所述预设2D SAXS图谱,确定目标2D SAXS图谱。Step S204: Determine a target 2D SAXS atlas according to the first 2D SAXS atlas and the preset 2D SAXS atlas.
具体地,计算所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量,当所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量大于所述预设阈值时,将所述第一2D SAXS图谱与所述预设2D SAXS图谱上对应像素点的像素值进行相加后取平均值,得到更新后的所述预设2DSAXS图谱;且在所述预设2D SAXS图谱更新结束后,重复执行步骤S201至S203,以根据所述预设分布参数更新所述第一2D SAXS图谱,所述第一2D SAXS图谱的具体更新过程请参见图1所示方法实施例,此处不再赘述;当所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量小于或等于所述预设阈值时,将所述第一2DSAXS图谱确定为目标2D SAXS图谱。Specifically, the amount of change of the average pixel intensity value of the first 2D SAXS atlas relative to the average pixel intensity value of the preset 2D SAXS atlas is calculated. When the average pixel intensity value of the first 2D SAXS atlas is relative to the preset 2D SAXS atlas When the variation of the average pixel intensity value of the SAXS atlas is greater than the preset threshold, the pixel values of the corresponding pixels on the first 2D SAXS atlas and the preset 2D SAXS atlas are added, and the average value is obtained to obtain The updated preset 2D SAXS map; and after the update of the preset 2D SAXS map is completed, steps S201 to S203 are repeatedly performed to update the first 2D SAXS map according to the preset distribution parameters, and the first 2D SAXS map is updated according to the preset distribution parameter. For the specific update process of a 2D SAXS atlas, please refer to the method embodiment shown in FIG. 1 , which will not be repeated here; When the amount of change is less than or equal to the preset threshold, the first 2D SAXS spectrum is determined as the target 2D SAXS spectrum.
步骤S205:将所述目标2D SAXS图谱从所述GPU反向回传到所述CPU。Step S205: Backwardly transmit the target 2D SAXS map from the GPU to the CPU.
具体地,将经过GPU并行计算及多次迭代后获得的所述目标2D SAXS图谱从所述GPU设备内存反向回传到所述CPU设备内存中。Specifically, the target 2D SAXS map obtained after GPU parallel computing and multiple iterations is back-transferred from the GPU device memory to the CPU device memory.
下面详细列出了使用本申请实施例中的2D SAXS图谱计算方法和装置,在九组不同的所述预设分布参数下,计算所述目标2D SAXS图谱所需要的时长。The time required to calculate the target 2D SAXS spectrum under nine different sets of the preset distribution parameters using the 2D SAXS spectrum calculation method and device in the embodiments of the present application is listed in detail below.
(1)当散射体的形状为椭球体,短轴均值为18.6nm,短轴方差为155.3nm,长轴均值为196.1nm,长轴方差为160.6nm,天顶角均值为52.7度,天顶角方差参数为70.0条件下,单张512×512像素2DSAXS图像的计算时间为0.41秒。(1) When the shape of the scatterer is an ellipsoid, the short-axis mean is 18.6 nm, the short-axis variance is 155.3 nm, the long-axis mean is 196.1 nm, the long-axis variance is 160.6 nm, the mean zenith angle is 52.7 degrees, and the zenith angle is 52.7 degrees. Under the condition that the angular variance parameter is 70.0, the calculation time of a single 512×512 pixel 2DSAXS image is 0.41 seconds.
(2)当散射体为椭球体形状,短轴均值为32.3nm,短轴方差为77.8nm,长轴均值为238.3nm,长轴方差为55.7nm,天顶角均值为68.3度,天顶角方差参数为17.7条件下,单张512×512像素SAXS图像的计算时间为0.46秒。(2) When the scatterer is in the shape of an ellipsoid, the short-axis mean is 32.3 nm, the short-axis variance is 77.8 nm, the long-axis mean is 238.3 nm, the long-axis variance is 55.7 nm, the mean zenith angle is 68.3 degrees, and the zenith angle is 68.3 degrees. With a variance parameter of 17.7, the computation time for a single 512 × 512 pixel SAXS image is 0.46 seconds.
(3)散射体为椭球体形状,短轴均值为36.6nm,短轴方差为195.2nm,长轴均值为156.0nm,长轴方差为50.7nm,天顶角均值为47.2度,天顶角方差参数为24.1条件下,单张512×512像素SAXS图像的计算时间为0.39秒。(3) The scatterer is in the shape of an ellipsoid, the mean value of the short axis is 36.6 nm, the mean value of the short axis is 195.2 nm, the mean value of the long axis is 156.0 nm, the mean value of the long axis is 50.7 nm, the mean value of the zenith angle is 47.2 degrees, and the mean value of the zenith angle is 47.2 degrees. With parameter 24.1, the computation time for a single 512 × 512 pixel SAXS image is 0.39 seconds.
(4)散射体为椭球体形状,短轴均值为17.1nm,短轴方差为154.0nm,长轴均值为155.6nm,长轴方差为142.5nm,天顶角均值为7.3度,天顶角方差参数为56.1条件下,单张1024×1024像素SAXS图像的计算时间为1.62秒。(4) The scatterer is in the shape of an ellipsoid, the mean value of the short axis is 17.1 nm, the mean value of the short axis is 154.0 nm, the mean value of the long axis is 155.6 nm, the mean value of the long axis is 142.5 nm, the mean value of the zenith angle is 7.3 degrees, and the mean value of the zenith angle is 7.3 degrees. With parameter 56.1, the computation time for a single 1024×1024 pixel SAXS image is 1.62 seconds.
(5)散射体为椭球体形状,短轴均值为30.6nm,短轴方差为69.3nm,长轴均值为190.1nm,长轴方差为147.2nm,天顶角均值为79.8度,天顶角方差参数为29.3条件下,单张1024×1024像素SAXS图像的计算时间为1.56秒。(5) The scatterer is in the shape of an ellipsoid, the mean value of the short axis is 30.6 nm, the mean value of the short axis is 69.3 nm, the mean value of the long axis is 190.1 nm, the mean value of the long axis is 147.2 nm, the mean value of the zenith angle is 79.8 degrees, and the mean value of the zenith angle is 79.8 degrees. When the parameter is 29.3, the computation time for a single 1024×1024 pixel SAXS image is 1.56 seconds.
(6)散射体为椭球体形状,短轴均值为31.6nm,短轴方差为80.4nm,长轴均值为218.6nm,长轴方差为118.6nm,天顶角均值为0.8度,天顶角方差参数为24.5条件下,单张1024×1024像素SAXS图像的计算时间为1.60秒。(6) The scatterer is in the shape of an ellipsoid, the mean value of the short axis is 31.6 nm, the mean value of the short axis is 80.4 nm, the mean value of the long axis is 218.6 nm, the mean value of the long axis is 118.6 nm, the mean value of the zenith angle is 0.8 degrees, and the mean value of the zenith angle is 0.8 degrees. When the parameter is 24.5, the calculation time of a single 1024×1024 pixel SAXS image is 1.60 seconds.
(7)散射体为椭球体形状,短轴均值为14.8nm,短轴方差为181.7nm,长轴均值为243.1nm,长轴方差为97.7nm,天顶角均值为7.4度,天顶角方差参数为79.3条件下,单张2048×2048像素SAXS图像的计算时间为6.26秒。(7) The scatterer is in the shape of an ellipsoid, the mean value of the short axis is 14.8 nm, the mean value of the short axis is 181.7 nm, the mean value of the long axis is 243.1 nm, the mean value of the long axis is 97.7 nm, the mean value of the zenith angle is 7.4 degrees, and the mean value of the zenith angle is 7.4 degrees. When the parameter is 79.3, the computation time for a single 2048×2048 pixel SAXS image is 6.26 seconds.
(8)散射体为椭球体形状,短轴均值为20.8nm,短轴方差为137.3nm,长轴均值为180.0nm,长轴方差为65.4nm,天顶角均值为16.4度,天顶角方差参数为16.3条件下,单张2048×2048像素SAXS图像的计算时间为6.19秒。(8) The scatterer is an ellipsoid shape, the mean value of the short axis is 20.8 nm, the mean value of the short axis is 137.3 nm, the mean value of the long axis is 180.0 nm, the mean value of the long axis is 65.4 nm, the mean value of the zenith angle is 16.4 degrees, and the mean value of the zenith angle is 16.4 degrees. With the parameter of 16.3, the computation time for a single 2048×2048 pixel SAXS image is 6.19 seconds.
(9)散射体为椭球体形状,短轴均值为24.0nm,短轴方差为194.6nm,长轴均值为221.2nm,长轴方差为138.3nm,天顶角均值为64.1度,天顶角方差参数为79.6条件下,单张2048×2048像素SAXS图像的计算时间为6.25秒。(9) The scatterer is ellipsoid shape, the short-axis mean is 24.0 nm, the short-axis variance is 194.6 nm, the long-axis mean is 221.2 nm, the long-axis variance is 138.3 nm, the mean zenith angle is 64.1 degrees, and the zenith angle variance With a parameter of 79.6, the computation time for a single 2048 × 2048 pixel SAXS image is 6.25 seconds.
请参见图3,图3是本申请实施例提供的一种用于计算2D SAXS图谱的装置结构示意图;如图3所示,所述用于计算2D SAXS图谱的装置300包括如下模块。Please refer to FIG. 3 , which is a schematic structural diagram of an apparatus for calculating a 2D SAXS map provided by an embodiment of the present application; as shown in FIG. 3 , the
生成模块301,用于根据预设分布参数生成第一2D SAXS图谱;A
计算模块302,用于计算所述第一2D SAXS图谱平均像素强度值相对于预设2DSAXS图谱的平均像素强度值的变化量;A
更新模块303,用于当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱;an
确定模块304,用于当所述变化量小于或等于所述预设阈值时,确定所述第一2DSAXS图谱为目标2D SAXS图谱。A
可选地,作为一种实施方式,所述更新模块303还用于当所述变化量大于所述预设阈值时,且在所述预设2D SAXS图谱更新结束后,根据所述预设分布参数生成第二2D SAXS图谱,将所述第一2D SAXS图谱的图像内容更新为所述第二2D SAXS图谱的图像内容。Optionally, as an implementation manner, the
可选地,作为一种实施方式,所述生成模块301具体用于根据所述预设分布参数确定N个散射体的第一模型数据,其中,所述N为正整数;根据所述第一模型数据生成所述第一2D SAXS图谱。Optionally, as an implementation manner, the
可选地,作为一种实施方式,所述更新模块303具体用于根据所述预设分布参数确定M个散射体的第二模型数据,其中,所述M为正整数;根据所述第二模型数据生成第二2DSAXS图谱。Optionally, as an implementation manner, the updating
可选地,作为一种实施方式,所述更新模块303具体用于将所述第一2D SAXS图谱与所述预设2D SAXS图谱上对应像素点的像素强度值进行相加后取平均值,得到更新后的所述预设2D SAXS图谱。Optionally, as an implementation manner, the updating
可选地,作为一种实施方式,所述生成模块301具体用于将所述第一模型数据中N个散射体的形状、长轴、短轴、天顶角和空间方位角分别建立五个第一矩阵,其中,所述N个散射体中的每个散射体包括一组形状、长轴、短轴、天顶角和空间方位角数据;根据所述五个第一矩阵计算所述第一2D SAXS图谱。Optionally, as an implementation manner, the
可选地,作为一种实施方式,所述生成模块301具体用于将所述第二模型数据中M个散射体的形状、长轴、短轴、天顶角和空间方位角分别建立五个第二矩阵,其中,所述M个散射体中的每个散射体包括一组形状、长轴、短轴、天顶角和空间方位角数据;根据所述五个第二矩阵计算所述第二2D SAXS图谱。Optionally, as an implementation manner, the
需要说明的是,装置300中各个模块操作的实现还可以对应参照上述图1所示方法实施例中相应的描述。It should be noted that, the implementation of the operations of each module in the
请参见图4,图4是本申请实施例提供的另一种用于计算2D SAXS图谱的装置结构示意图;如图4所示,所述用于计算2D SAXS图谱的装置400包括如下模块。Please refer to FIG. 4 , which is a schematic structural diagram of another apparatus for calculating a 2D SAXS map provided by an embodiment of the present application; as shown in FIG. 4 , the
模型数据获取模块401,用于根据所述预设分布参数确定所述N个散射体的所述第一模型数据,以及根据所述预设分布参数确定所述M个散射体的所述第二模型数据,所述N和所述M为正整数。A model
模型数据前向拷贝模块402,用于将存储在CPU中的所述第一模型数据和所述第二模型数据拷贝至GPU。The model data
多线程并行计算模块403,用于根据所述第一模型数据,并利用GPU并行计算,生成所述第一2D SAXS图谱。The multi-threaded
目标2D SAXS图谱确定模块404,用于根据所述第一2D SAXS图谱和所述预设2DSAXS图谱,确定目标2D SAXS图谱。The target 2D SAXS
目标2D SAXS图谱反向回传模块405,用于将所述目标2D SAXS图谱从所述GPU反向回传到所述CPU。The target 2D SAXS map
需要说明的是,装置400各个模块操作的实现还可以对应参照上述图2所示方法实施例中相应的描述,此处不再赘述。It should be noted that, the implementation of the operations of each module of the
请参阅图5,图5是本申请实施例提供的一种用于计算2D SAXS图谱的电子设备500的结构示意图,如图5所示,所述电子设备500包括通信接口501、处理器502、存储器503和至少一个用于连接所述通信接口501、所述处理器502、所述存储器503的通信总线504。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an
存储器503包括但不限于是随机存储记忆体(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmableread only memory,EPROM)、或便携式只读存储器(compact disc read-only memory,CD-ROM),该存储器503用于相关指令及数据。The
通信接口501用于接收和发送数据。The
处理器502可以是一个或多个中央处理器(central processing unit,CPU),在处理器502是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。The
该电子设备500中的处理器502用于读取所述存储器503中存储的一个或多个程序代码,执行以下操作:根据预设分布参数,基于GPU并行计算技术,生成第一2D SAXS图谱,比较所述第一2D SAXS图谱的平均像素强度值相对于预设2D SAXS图谱的平均像素强度值的变化量:当所述变化量大于预设阈值时,根据所述第一2D SAXS图谱更新所述预设2D SAXS图谱;当所述变化量小于或等于所述预设阈值时,确定所述第一2D SAXS图谱为目标2DSAXS图谱。The
需要说明的是,所述电子设备500各操作的实现还可以对应参照上述图1中方法实施例中相应的描述。It should be noted that, the implementation of each operation of the
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当其在终端上运行时,上述方法实施例中所示的方法流程得以实现。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed on a terminal, the method flow shown in the foregoing method embodiments is implemented.
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在终端上运行时,上述方法实施例中所示的方法流程得以实现。The embodiments of the present application further provide a computer program product, when the computer program product runs on a terminal, the method flow shown in the above method embodiments is realized.
应理解,本申请实施例中提及的处理器可以是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuits) Integrated Circuit, ASIC), off-the-shelf Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (Erasable PROM, EPROM), Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) And direct memory bus random access memory (Direct Rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present application may be adjusted, combined and deleted in sequence according to actual needs.
本申请实施例装置中的模块可以根据实际需要进行合并、划分和删减。The modules in the apparatus of the embodiment of the present application may be combined, divided and deleted according to actual needs.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010817053.8A CN112037183B (en) | 2020-08-12 | 2020-08-12 | 2D SAXS map calculation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010817053.8A CN112037183B (en) | 2020-08-12 | 2020-08-12 | 2D SAXS map calculation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112037183A true CN112037183A (en) | 2020-12-04 |
CN112037183B CN112037183B (en) | 2023-07-28 |
Family
ID=73578096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010817053.8A Active CN112037183B (en) | 2020-08-12 | 2020-08-12 | 2D SAXS map calculation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112037183B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579969A (en) * | 2020-12-21 | 2021-03-30 | 深圳大学 | Two-dimensional small-angle X-ray scattering map calculation method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102498168A (en) * | 2009-09-18 | 2012-06-13 | 旭化成电子材料株式会社 | Electrolyte emulsion and process for producing same |
CN107590296A (en) * | 2016-07-08 | 2018-01-16 | 深圳大学 | A kind of Full _ pattern fitting method and system of small angle X ray scattering |
CN107589136A (en) * | 2016-07-08 | 2018-01-16 | 中国科学院化学研究所 | The dual model approximating method and system of a kind of small angle X ray scattering |
CN107589133A (en) * | 2016-07-08 | 2018-01-16 | 中国科学院化学研究所 | A kind of method and system that high-performance fiber is analyzed using SAXS |
CN110334731A (en) * | 2019-05-09 | 2019-10-15 | 云南大学 | A kind of the extraction of spatial information method, apparatus and electronic equipment of spectrum picture |
-
2020
- 2020-08-12 CN CN202010817053.8A patent/CN112037183B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102498168A (en) * | 2009-09-18 | 2012-06-13 | 旭化成电子材料株式会社 | Electrolyte emulsion and process for producing same |
CN107590296A (en) * | 2016-07-08 | 2018-01-16 | 深圳大学 | A kind of Full _ pattern fitting method and system of small angle X ray scattering |
CN107589136A (en) * | 2016-07-08 | 2018-01-16 | 中国科学院化学研究所 | The dual model approximating method and system of a kind of small angle X ray scattering |
CN107589133A (en) * | 2016-07-08 | 2018-01-16 | 中国科学院化学研究所 | A kind of method and system that high-performance fiber is analyzed using SAXS |
CN110334731A (en) * | 2019-05-09 | 2019-10-15 | 云南大学 | A kind of the extraction of spatial information method, apparatus and electronic equipment of spectrum picture |
Non-Patent Citations (1)
Title |
---|
井敏;谭婷婷;王成国;冯志海;杨云华;: "PAN基碳纤维的微观结构与力学性能相关性分析", 航空材料学报, no. 01, pages 1 - 3 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579969A (en) * | 2020-12-21 | 2021-03-30 | 深圳大学 | Two-dimensional small-angle X-ray scattering map calculation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112037183B (en) | 2023-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5735114B2 (en) | Encoding method, encoding device, decoding method and decoding device | |
Feinauer et al. | Structural characterization of particle systems using spherical harmonics | |
Sander et al. | Corrim-based alignment for improved speed in single-particle image processing | |
CN110060216A (en) | A kind of image repair method, device and equipment based on generation confrontation network | |
CN112037183A (en) | 2D SAXS spectrum calculation method and device | |
CN113378472B (en) | Mixed boundary electromagnetic backscattering imaging method based on generation countermeasure network | |
CN111223175A (en) | 3D face reconstruction method | |
DE102019108733A1 (en) | Fast multi-scale point cloud registration with a hierarchical Gaussian mix | |
Liu et al. | Parameterization for molecular Gaussian surface and a comparison study of surface mesh generation | |
CN112037181B (en) | 2D SAXS graph analysis model training method and device | |
CN112579969B (en) | Two-dimensional small-angle X-ray scattering map calculation method and device | |
Vázquez et al. | A matrix approach to tomographic reconstruction and its implementation on GPUs | |
Medina et al. | A geometry-based algorithm for cloning real grains 2.0 | |
Xie et al. | Mesongs: Post-training compression of 3d gaussians via efficient attribute transformation | |
Li et al. | Distribution-based particle data reduction for in-situ analysis and visualization of large-scale n-body cosmological simulations | |
CN110208271B (en) | Damage detection method, damage detection device and terminal for phased array antenna | |
CN110717973B (en) | Three-dimensional virtual particle generation method | |
CN116205302A (en) | Task processing method, device, and ground state energy level determination method based on quantum computing | |
CN116008904A (en) | Two-dimensional DOA estimation method, device and medium based on perception compression | |
CN115423113A (en) | Quantum simulation method and device based on quantum gate | |
Yan et al. | Graphics Processing Unit acceleration of the Random Phase Approximation in the projector augmented wave method | |
CN114218802A (en) | A kind of RCS data reconstruction method and apparatus | |
Haita | Particle-mesh two-dimensional pattern reverse Monte Carlo analysis on filled-gels during uniaxial expansion | |
Song et al. | Effect of the reaction field on molecular forces and torques revealed by an image-charge solvation model | |
US20250028874A1 (en) | Accelerated sum-of-squares collision detection for time-varying curved trajectories |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |