Changeset 362a66f in sasmodels
- Timestamp:
- Feb 28, 2018 2:27:17 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- fc3ae1b
- Parents:
- 6868151
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/realspace.py
r6868151 r362a66f 211 211 values[abs(points[:, 2]) > self.length/(self.length + 2*self.thick_face)] = self.value_face 212 212 # finally set value to rim value if outside the core ellipse 213 radius = (points[:, 0]**2*( (self.ra + self.thick_rim)/self.ra)**2214 + points[:, 1]**2*( (self.rb + self.thick_rim)/self.rb)**2)213 radius = (points[:, 0]**2*(1 + self.thick_rim/self.ra)**2 214 + points[:, 1]**2*(1 + self.thick_rim/self.rb)**2) 215 215 values[radius>1] = self.value_rim 216 216 return values, self._adjust(self._scale*points) … … 742 742 x_core=rb/ra, 743 743 length=length, 744 thick_rim=thick_rim, 745 thick_face=thick_face, 744 746 sld_core=sld_core, 745 747 sld_face=sld_face,
Note: See TracChangeset
for help on using the changeset viewer.