Changeset 3783 for trunk/imports/G2pwd_BrukerRAW.py
- Timestamp:
- Jan 16, 2019 7:56:58 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/imports/G2pwd_BrukerRAW.py
r3421 r3783 160 160 step = st.unpack('<d',fp.read(8))[0] 161 161 pos += headLen #position at start of data block 162 fp.seek(pos) 162 if blockNum == nBlock: 163 fp.seek(pos-40) 164 else: 165 fp.seek(pos) 163 166 x = np.array([start2Th+i*step for i in range(nSteps)]) 164 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.