Changeset edfc8ac in sasview for src/sas/dataloader/readers/sesans_reader.py
- Timestamp:
- Mar 31, 2015 9:50:11 AM (10 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6987c8a
- Parents:
- a3f125f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/dataloader/readers/sesans_reader.py
r5e326a6 redfc8ac 1 1 """ 2 SESANS reader 2 SESANS reader (based on ASCII reader) 3 4 Reader for .ses or .sesans file format 5 6 Jurrian Bakker 3 7 """ 4 5 8 import numpy 6 9 import os … … 248 251 # else: 249 252 # output.yaxis("\\rm{P/P0}", "a.u.") 250 output.xaxis("\\rm{z}", ' A')253 output.xaxis("\\rm{z}", 'nm') 251 254 output.yaxis("\\rm{P/P0}", " ") 252 255 # Store loading process information … … 256 259 output.sample.ID = paramvals[0] 257 260 output.sample.zacceptance=float(paramvals[7]) 258 # print output 261 output.vars=varheader 259 262 260 263 # print "sesans_reader end" … … 263 266 raise RuntimeError, "%s is empty" % path 264 267 # print output 265 268 # print output.lam 266 269 return output 267 270
Note: See TracChangeset
for help on using the changeset viewer.