Changeset 3969
- Timestamp:
- May 11, 2019 1:36:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/imports/G2pwd_BrukerRAW.py
r3783 r3969 160 160 step = st.unpack('<d',fp.read(8))[0] 161 161 pos += headLen #position at start of data block 162 if blockNum == nBlock:163 fp.seek(pos-40)164 else:165 162 # if blockNum != nBlock: 163 # fp.seek(pos-40) 164 # else: 165 fp.seek(pos) 166 166 x = np.array([start2Th+i*step for i in range(nSteps)]) 167 167 y = np.array([max(1.,st.unpack('<f',fp.read(4))[0]) for i in range(nSteps)])
Note: See TracChangeset
for help on using the changeset viewer.