Changeset 392056d in sasview


Ignore:
Timestamp:
Oct 11, 2016 7: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

Location:
src/sas/sascalc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/data_util/qsmearing.py

    r1fac6c0 r392056d  
    167167    #Need function to calculate this based on model 
    168168    #Here assume a number 
    169     Rmax = 50000 
     169    Rmax = 1000000 
    170170    q_calc = sesans.make_q(data.sample.zacceptance, Rmax) 
    171171    return PySmear(SESANS1D(data,q_calc),model) 
  • 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.