Changeset 392056d in sasview for src/sas/sascalc/dataloader


Ignore:
Timestamp:
Oct 11, 2016 9:38:13 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
9087214
Parents:
1fac6c0
Message:

This version of SESANS integration will be merged to master

File:
1 edited

Legend:

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

    r1fac6c0 r392056d  
    170170                output.x, output.x_unit = self._unit_conversion(x, lam_unit, default_z_unit) 
    171171                output.y = y 
    172                 output.y_unit = 'pol' # output y_unit erbij 
     172                output.y_unit = '\AA^{-2} cm^{-1}' # output y_unit erbij 
    173173                output.dx, output.dx_unit = self._unit_conversion(dx, lam_unit, default_z_unit) 
    174174                output.dy = dy 
     
    177177 
    178178                output.xaxis("\\rm{z}", output.x_unit) 
    179                 output.yaxis("\\rm{P/P0}", output.y_unit) # Adjust label to ln P/(lam^2 t), remove lam column refs 
     179                output.yaxis("\\rm{ln(P)/(t \lambda^2)}", output.y_unit) # Adjust label to ln P/(lam^2 t), remove lam column refs 
    180180                # Store loading process information 
    181181                output.meta_data['loader'] = self.type_name 
Note: See TracChangeset for help on using the changeset viewer.