Changes in / [0cc31e1:1dd2854] in sasmodels
- Location:
- sasmodels
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fractal_core_shell.c
r7d4b2ae r6794301 47 47 double qr = q*radius; 48 48 49 double t1 = frac_dim* exp(lanczos_gamma(frac_1))*sin(frac_1*atan(q*cor_length));49 double t1 = frac_dim*sas_gamma(frac_1)*sin(frac_1*atan(q*cor_length)); 50 50 double t2 = (1.0 + 1.0/(q*cor_length)/(q*cor_length)); 51 51 double t3 = pow(qr, frac_dim) * pow(t2, (frac_1/2.0)); -
sasmodels/models/fractal_core_shell.py
raa2edb2 r6794301 73 73 # pylint: enable=bad-whitespace, line-too-long 74 74 75 source = ["lib/sph_j1c.c", "lib/ lanczos_gamma.c", "lib/core_shell.c", "fractal_core_shell.c"]75 source = ["lib/sph_j1c.c", "lib/sas_gamma.c", "lib/core_shell.c", "fractal_core_shell.c"] 76 76 77 77 demo = dict(scale=0.05, -
sasmodels/models/mass_fractal.c
r61fd21d r6794301 28 28 //calculate S(q) 29 29 double mmo = mass_dim-1.0; 30 double sq = exp(lanczos_gamma(mmo))*sin((mmo)*atan(q*cutoff_length));30 double sq = sas_gamma(mmo)*sin((mmo)*atan(q*cutoff_length)); 31 31 sq *= pow(cutoff_length, mmo); 32 32 sq /= pow((1.0 + (q*cutoff_length)*(q*cutoff_length)),(mmo/2.0)); -
sasmodels/models/mass_fractal.py
r684eff9 r6794301 85 85 # pylint: enable=bad-whitespace, line-too-long 86 86 87 source = ["lib/sph_j1c.c", "lib/ lanczos_gamma.c", "mass_fractal.c"]87 source = ["lib/sph_j1c.c", "lib/sas_gamma.c", "mass_fractal.c"] 88 88 89 89 demo = dict(scale=1, background=0, -
sasmodels/models/surface_fractal.c
r9c461c7 r6794301 26 26 //calculate S(q) 27 27 mmo = 5.0 - surface_dim; 28 sq = exp(lanczos_gamma(mmo))*sin(-(mmo)*atan(q*cutoff_length));28 sq = sas_gamma(mmo)*sin(-(mmo)*atan(q*cutoff_length)); 29 29 sq *= pow(cutoff_length, mmo); 30 30 sq /= pow((1.0 + (q*cutoff_length)*(q*cutoff_length)),(mmo/2.0)); -
sasmodels/models/surface_fractal.py
raa2edb2 r6794301 87 87 # pylint: enable=bad-whitespace, line-too-long 88 88 89 source = ["lib/sph_j1c.c", "lib/ lanczos_gamma.c", "surface_fractal.c"]89 source = ["lib/sph_j1c.c", "lib/sas_gamma.c", "surface_fractal.c"] 90 90 91 91 demo = dict(scale=1, background=0, -
sasmodels/resolution.py
r2f63032 r8b935d1 689 689 self.pars = TEST_PARS_PINHOLE_SPHERE 690 690 from sasmodels import core 691 from sasmodels.models import sphere 692 self.model = core.load_model(sphere, dtype='double') 691 self.model = core.load_model("sphere", dtype='double') 693 692 694 693 def _eval_sphere(self, pars, resolution):
Note: See TracChangeset
for help on using the changeset viewer.