Changeset 392056d in sasview
- Timestamp:
- Oct 11, 2016 9:38:13 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 9087214
- Parents:
- 1fac6c0
- Location:
- src/sas/sascalc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/qsmearing.py
r1fac6c0 r392056d 167 167 #Need function to calculate this based on model 168 168 #Here assume a number 169 Rmax = 50000169 Rmax = 1000000 170 170 q_calc = sesans.make_q(data.sample.zacceptance, Rmax) 171 171 return PySmear(SESANS1D(data,q_calc),model) -
src/sas/sascalc/dataloader/readers/sesans_reader.py
r1fac6c0 r392056d 170 170 output.x, output.x_unit = self._unit_conversion(x, lam_unit, default_z_unit) 171 171 output.y = y 172 output.y_unit = ' pol' # output y_unit erbij172 output.y_unit = '\AA^{-2} cm^{-1}' # output y_unit erbij 173 173 output.dx, output.dx_unit = self._unit_conversion(dx, lam_unit, default_z_unit) 174 174 output.dy = dy … … 177 177 178 178 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 refs179 output.yaxis("\\rm{ln(P)/(t \lambda^2)}", output.y_unit) # Adjust label to ln P/(lam^2 t), remove lam column refs 180 180 # Store loading process information 181 181 output.meta_data['loader'] = self.type_name
Note: See TracChangeset
for help on using the changeset viewer.