Changeset 975ec8e in sasview for sansmodels/src/sans/models/ParallelepipedModel.py
- Timestamp:
- Aug 14, 2009 3:58:58 PM (15 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:
- d5bd424
- Parents:
- cad821b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/ParallelepipedModel.py
r9bd69098 r975ec8e 38 38 contrast = 5.3e-006 [1/A²] 39 39 background = 0.0 [1/cm] 40 parallel_theta = 1.0 [rad] 41 parallel_phi = 1.0 [rad] 40 parallel_theta = 0.0 [rad] 41 parallel_phi = 0.0 [rad] 42 parallel_psi = 0.0 [rad] 42 43 43 44 """ … … 72 73 self.details['parallel_theta'] = ['[rad]', None, None] 73 74 self.details['parallel_phi'] = ['[rad]', None, None] 75 self.details['parallel_psi'] = ['[rad]', None, None] 74 76 75 77 ## fittable parameters 76 self.fixed=['short_edgeA.width', 'longer_edgeB.width', 'longuest_edgeC.width', 'parallel_phi.width', 'parallel_ theta.width']78 self.fixed=['short_edgeA.width', 'longer_edgeB.width', 'longuest_edgeC.width', 'parallel_phi.width', 'parallel_psi.width', 'parallel_theta.width'] 77 79 78 80 ## parameters with orientation 79 self.orientation_params =['parallel_phi', 'parallel_ theta', 'parallel_phi.width', 'parallel_theta.width']81 self.orientation_params =['parallel_phi', 'parallel_psi', 'parallel_theta', 'parallel_phi.width', 'parallel_psi.width', 'parallel_theta.width'] 80 82 81 83 def clone(self):
Note: See TracChangeset
for help on using the changeset viewer.