Ignore:
Timestamp:
Mar 31, 2015 7:50:11 AM (9 years ago)
Author:
jhbakker
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
Message:

Changed Sesans x-axis title to from A to nm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/dataloader/readers/sesans_reader.py

    r5e326a6 redfc8ac  
    11""" 
    2     SESANS reader 
     2    SESANS reader (based on ASCII reader) 
     3     
     4    Reader for .ses or .sesans file format 
     5     
     6    Jurrian Bakker  
    37""" 
    4  
    58import numpy 
    69import os 
     
    248251#                else: 
    249252#                    output.yaxis("\\rm{P/P0}", "a.u.") 
    250                 output.xaxis("\\rm{z}", 'A')    
     253                output.xaxis("\\rm{z}", 'nm')    
    251254                output.yaxis("\\rm{P/P0}", " ") 
    252255                # Store loading process information 
     
    256259                output.sample.ID = paramvals[0] 
    257260                output.sample.zacceptance=float(paramvals[7]) 
    258 #                print output                 
     261                output.vars=varheader 
    259262 
    260263#                print "sesans_reader end" 
     
    263266                    raise RuntimeError, "%s is empty" % path 
    264267#                print output 
    265                  
     268#                print output.lam 
    266269                return output 
    267270             
Note: See TracChangeset for help on using the changeset viewer.