Changeset 51f14603 in sasview for src/sans/plottools
- Timestamp:
- Apr 3, 2014 11:37:53 AM (11 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2f2d9d0
- Parents:
- eea3ffa
- Location:
- src/sans/plottools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/plottools/SimpleFont.py
ra9d5684 r51f14603 1 1 2 2 """ 3 /** 4 This software was developed by Institut Laue-Langevin as part of 5 Distributed Data Analysis of Neutron Scattering Experiments (DANSE). 3 This software was developed by Institut Laue-Langevin as part of 4 Distributed Data Analysis of Neutron Scattering Experiments (DANSE). 6 5 7 Copyright 2012 Institut Laue-Langevin 8 9 **/ 10 6 Copyright 2012 Institut Laue-Langevin 11 7 """ 12 8 -
src/sans/plottools/plottables.py
ra9d5684 r51f14603 343 343 A transform has a number of attributes. 344 344 345 name: user visible name for the transform. This will 346 appear in the context menu for the axis and the transform 347 menu for the graph. 348 349 type: operational axis. This determines whether the 350 transform should appear on x,y or z axis context 351 menus, or if it should appear in the context menu for 352 the graph. 353 354 inventory: (not implemented) 355 a dictionary of user settable parameter names and 356 their associated types. These should appear as keyword 357 arguments to the transform call. For example, Fresnel 358 reflectivity requires the substrate density: 359 { 'rho': type.Value(10e-6/units.angstrom**2) } 360 361 Supply reasonable defaults in the callback so that 362 limited plotting clients work even though they cannot 363 set the inventory. 345 name 346 user visible name for the transform. This will 347 appear in the context menu for the axis and the transform 348 menu for the graph. 349 350 type 351 operational axis. This determines whether the 352 transform should appear on x,y or z axis context 353 menus, or if it should appear in the context menu for 354 the graph. 355 356 inventory 357 (not implemented) 358 a dictionary of user settable parameter names and 359 their associated types. These should appear as keyword 360 arguments to the transform call. For example, Fresnel 361 reflectivity requires the substrate density: 362 ``{ 'rho': type.Value(10e-6/units.angstrom**2) }`` 363 Supply reasonable defaults in the callback so that 364 limited plotting clients work even though they cannot 365 set the inventory. 364 366 365 367 """
Note: See TracChangeset
for help on using the changeset viewer.