Changeset 57cb76d in sasmodels
- Timestamp:
- Feb 19, 2015 6:05:01 AM (10 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:
- 3a45c2c, e7b3d7b
- Parents:
- e166cb9 (diff), ff58110 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
r3271e20 rff58110 757 757 print "time:",toc() 758 758 759 def demo(): 760 from .models import cylinder 761 source, info = make(cylinder) 762 #print doc(cylinder) 763 print source 759 def main(): 760 if len(sys.argv) <= 1: 761 print "usage: python -m sasmodels.generate modelname" 762 else: 763 name = sys.argv[1] 764 import sasmodels.models 765 __import__('sasmodels.models.'+name) 766 model = getattr(sasmodels.models, name) 767 source, info = make(model); print source 768 #print doc(model) 764 769 765 770 if __name__ == "__main__": 766 demo()771 main() -
sasmodels/models/bcc.py
rc95dc908 re166cb9 80 80 from numpy import pi, inf 81 81 82 name = " BCCparacrystal"82 name = "bcc_paracrystal" 83 83 title = "Body-centred cubic lattic with paracrystalline distortion" 84 84 description = """
Note: See TracChangeset
for help on using the changeset viewer.