Changeset ce166d3 in sasmodels
- Timestamp:
- Dec 23, 2015 10:41:35 AM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- ec7e360
- Parents:
- d53d3cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
r644430f rce166d3 207 207 detector.distance = 4 # m 208 208 data.detector.append(detector) 209 data.x bins = qx210 data.y bins = qy209 data.x_bins = qx 210 data.y_bins = qy 211 211 data.source.wavelength = 5 # angstroms 212 212 data.source.wavelength_unit = "A" … … 435 435 except: 436 436 vmin, vmax = 0, 1 437 plt.imshow(plottable.reshape(len(data.x bins), len(data.ybins)),437 plt.imshow(plottable.reshape(len(data.x_bins), len(data.y_bins)), 438 438 interpolation='nearest', aspect=1, origin='upper', 439 439 extent=[xmin, xmax, ymin, ymax], vmin=vmin, vmax=vmax)
Note: See TracChangeset
for help on using the changeset viewer.