A data format processing method
A processing method and data format technology, applied in the field of diffraction spectrum data format processing, can solve the problem of loss of effective data in original diffraction spectrum data, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0039] Step 101: Use the built-in Tkinter module of Python to write a user interface, allowing the user to select the path of the diffraction data file. Use the built-in file dialogue serial port of the Tkinter module to ask the user to process the diffraction data file (*.asc), and store the selected asc file as a list. Specific code: filelist=filedialog.askopenfilenames(filetypes=[("asc","*.asc"),("all","*.*")]).
[0040] Step 102: For loop through the diffraction data file list obtained in step 101, use the built-in reading file command Open of the Python computer programming language to decode and read the original diffraction spectrum data file (*.asc) in UTF-8 format. The read data is saved using the variable Current_file.
[0041] Step 103: In the original diffraction spectrum data file, the first 60 lines are diffractometer parameter data, the data from line 61 to the last third line are diffraction intensity data, and the second last line is the file end marker (*END...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com