Changeset dcdf29d in sasmodels for sasmodels/models/bcc.py


Ignore:
Timestamp:
Feb 2, 2016 5:51:27 AM (8 years ago)
Author:
piotr
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:
7f47777, 8007311
Parents:
577912b
Message:

pylint cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/bcc.py

    reb69cce rdcdf29d  
    109109title = "Body-centred cubic lattic with paracrystalline distortion" 
    110110description = """ 
    111     Calculates the scattering from a **body-centered cubic lattice** with paracrystalline distortion. Thermal vibrations 
    112     are considered to be negligible, and the size of the paracrystal is infinitely large. Paracrystalline distortion is 
    113     assumed to be isotropic and characterized by a Gaussian distribution. 
     111    Calculates the scattering from a **body-centered cubic lattice** with 
     112    paracrystalline distortion. Thermal vibrations are considered to be 
     113    negligible, and the size of the paracrystal is infinitely large. 
     114    Paracrystalline distortion is assumed to be isotropic and characterized 
     115    by a Gaussian distribution. 
    114116    """ 
    115117category = "shape:paracrystal" 
    116  
     118# pylint: disable=bad-whitespace, line-too-long 
    117119#             ["name", "units", default, [lower, upper], "type","description" ], 
    118 parameters = [["dnn", "Ang", 220, [-inf, inf], "", "Nearest neighbour distance"], 
    119               ["d_factor", "", 0.06, [-inf, inf], "", "Paracrystal distortion factor"], 
    120               ["radius", "Ang", 40, [0, inf], "volume", "Particle radius"], 
    121               ["sld", "1e-6/Ang^2", 4, [-inf, inf], "", "Particle scattering length density"], 
    122               ["solvent_sld", "1e-6/Ang^2", 1, [-inf, inf], "", "Solvent scattering length density"], 
    123               ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 
    124               ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"], 
    125               ["psi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"] 
     120parameters = [["dnn",         "Ang",       220,    [-inf, inf], "",            "Nearest neighbour distance"], 
     121              ["d_factor",    "",            0.06, [-inf, inf], "",            "Paracrystal distortion factor"], 
     122              ["radius",      "Ang",        40,    [0, inf],    "volume",      "Particle radius"], 
     123              ["sld",         "1e-6/Ang^2",  4,    [-inf, inf], "",            "Particle scattering length density"], 
     124              ["solvent_sld", "1e-6/Ang^2",  1,    [-inf, inf], "",            "Solvent scattering length density"], 
     125              ["theta",       "degrees",    60,    [-inf, inf], "orientation", "In plane angle"], 
     126              ["phi",         "degrees",    60,    [-inf, inf], "orientation", "Out of plane angle"], 
     127              ["psi",         "degrees",    60,    [-inf, inf], "orientation", "Out of plane angle"] 
    126128             ] 
     129# pylint: enable=bad-whitespace, line-too-long 
    127130 
    128131source = ["lib/J1.c", "lib/gauss150.c", "bcc.c"] 
Note: See TracChangeset for help on using the changeset viewer.