Changeset 4b30118 in sasview
- Timestamp:
- Mar 13, 2013 3:56:04 PM (12 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:
- b4fdf0d
- Parents:
- 49a8843
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py
r9624cda r4b30118 939 939 """ 940 940 out = numpy.empty(0) 941 #s = time.time()941 s = time.time() 942 942 for ind in range(len(input[0])): 943 943 if self.is_avg: … … 956 956 outi = self.model.runXY(inputi) 957 957 out = numpy.append(out, outi) 958 #print time.time() - s958 print time.time() - s 959 959 if self.is_avg or self.is_avg == None: 960 960 self._draw1D(out) … … 2086 2086 media = calmedia.get_data_path(media='media') 2087 2087 path = os.path.join(media,"gen_sans_help.html") 2088 name = "Polarization Angle" 2089 frame = HelpWindow(self, -1, title=' Help: Polarization Angle', 2088 name = "Generic Scattering Calculator" 2089 frame = HelpWindow(self, -1, 2090 title=' Help: GenSANS', 2090 2091 pageToOpen=path, size=(865, 450)) 2091 2092 try: … … 2094 2095 frame.lpanel.Hide() 2095 2096 frame.Show(True) 2097 add_icon(self.parent, frame) 2096 2098 except: 2097 2099 frame.Destroy() -
calculatorview/src/sans/perspectives/calculator/media/gen_sans_help.html
rafcb052 r4b30118 1 1 <body> 2 3 <h4>Polarization and Magnetic Scattering</h4> 2 <h4>Generic Scattering Calculator:</h4> 3 Polarization and Magnetic Scattering 4 <br> 5 <br> 4 6 <ul> 5 7 <li><a href="#theory">Theory:</a></li> 6 8 <li><a href="#gui">GUI</a></li> 9 <li><a href="#pdb">PDB Data</a></li> 7 10 </ul> 11 <br> 8 12 <br> 9 13 <b>1. <a name="theory">Theory</a> </b> … … 125 129 *Note III: For the nuclear scattering length density, only the real component is taken account. 126 130 <br> 131 <br> 132 <b>3. <a name="pdb">PDB Data</a> </b> 133 <br> 134 This Generic scattering calculator also supports some pdb files without considering polarized/magnetic scattering 135 so that the related parameters such as Up_*** will be ignored (see the Picture below). The calculation for fixed orientation uses (the first) Equation above resulting 136 in a 2D output, whileas the scattering calculation averaged over all the orientations uses the Debye equation providing a 1D output: 137 <p> 138 <img src="gen_debye_eq.gif"/> 139 </p> 140 <br> 141 where v<sub>j</sub>β<sub>j</sub> ≡ b<sub>j</sub> is the scattering length of the j'th atom. 142 The resultant outputs will be displayed in the DataExporer for further uses. 143 <br> 144 <p> 145 <img src="pdb_combo.jpg"/> 146 </p> 127 147 </body>
Note: See TracChangeset
for help on using the changeset viewer.