Changeset 37d53225 in sasview for src/sas/sasgui/perspectives/corfunc
- Timestamp:
- Jul 18, 2017 10:55:35 AM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 7dda833
- Parents:
- 626f833
- Location:
- src/sas/sasgui/perspectives/corfunc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc.py
r463e7ffc r37d53225 189 189 # Show the transformation as a curve instead of points 190 190 new_plot.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 191 elif label == IDF_LABEL: 192 new_plot.xaxis("{x}", 'A') 193 new_plot.yaxis("{G}", '') 194 195 new_plot.xtransform = 'x' 196 new_plot.ytransform = 'y' 197 group_id = GROUP_ID_IDF 198 new_plot.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 191 199 new_plot.id = label 192 200 new_plot.name = label -
src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
r7cde638 r37d53225 276 276 return 277 277 self._transformed_data = transforms 278 (transform1, transform3 ) = transforms278 (transform1, transform3, idf) = transforms 279 279 import numpy as np 280 280 plot_x = transform1.x[np.where(transform1.x <= 200)] … … 283 283 # No need to shorten gamma3 as it's only calculated up to x=200 284 284 self._manager.show_data(transform3, TRANSFORM_LABEL3) 285 self._manager.show_data(idf, IDF_LABEL) 285 286 # Only enable extract params button if a fourier trans. has been done 286 287 if self.transform_type == 'fourier': -
src/sas/sasgui/perspectives/corfunc/plot_labels.py
r03e3902 r37d53225 6 6 TRANSFORM_LABEL1 = r"$\Gamma_1(x)$" 7 7 TRANSFORM_LABEL3 = r"$\Gamma_3(x)$" 8 9 GROUP_ID_IDF = r"$G(x)$" 10 IDF_LABEL = r"$G(x)$"
Note: See TracChangeset
for help on using the changeset viewer.