Changeset 2408 for trunk/imports/G2pwd_BrukerRAW.py
- Timestamp:
- Aug 4, 2016 1:40:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/imports/G2pwd_BrukerRAW.py
r2406 r2408 8 8 ########### SVN repository information ################### 9 9 ''' 10 *Module G2pwd_BrukerRAW: Bruker 3 & 4.raw data*11 ------------------------------------ 12 13 Routine to read in powder data from a Bruker 3 & 4.raw file10 *Module G2pwd_BrukerRAW: Bruker v.1-v.3 .raw data* 11 --------------------------------------------------- 12 13 Routine to read in powder data from a Bruker versions 1-3 .raw file 14 14 15 15 ''' … … 23 23 import GSASIIpath 24 24 GSASIIpath.SetVersionNumber("$Revision: 1620 $") 25 class xye_ReaderClass(G2IO.ImportPowderData):25 class raw_ReaderClass(G2IO.ImportPowderData): 26 26 'Routines to import powder data from a binary Bruker .RAW file' 27 27 def __init__(self): … … 45 45 elif head == 'RAW4.00': 46 46 self.formatName = 'Bruker RAW ver. 4' 47 self.errors += "Sorry, this is a Version 4 Bruker file. " 48 self.errors += "We need documentation for it so that it can be implemented in GSAS-II. " 49 self.errors += "Use PowDLL (http://users.uoi.gr/nkourkou/powdll/) to convert it to ASCII xy." 50 print(self.errors) 51 return False 47 52 else: 48 53 self.errors = 'Unexpected information in header: '
Note: See TracChangeset
for help on using the changeset viewer.